Dear InvoicePlane community,
I think InvoicePlane is great after I try on localhost. When I try to install InvoicePlane in hosting, I see this error message:
A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: C:\Domains\sota.my\wwwroot\system\database\DB_driver.php
Line Number: 125
How can I fix that?
As per installation guide i Create an empty database on your web server.
Upload the InvoicePlane files on web server, into its public root of the web server.
and Run the InvoicePlane installer from my web browser http://sota.my/setup.
and this is my .htaccess.
Remove index.php
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . index.php [L]
could you please let me know what i have missed here.
i do want to share my info.php with you http://sota.my/info.php
i hope all required extension is there and its correct version
hope my hosting supports it.
thank you
san
please find the log file i hope tis can make more clear.
DEBUG - 2015-12-06 14:56:19 --> Config Class Initialized
DEBUG - 2015-12-06 14:56:19 --> Hooks Class Initialized
DEBUG - 2015-12-06 14:56:19 --> Utf8 Class Initialized
DEBUG - 2015-12-06 14:56:19 --> UTF-8 Support Enabled
DEBUG - 2015-12-06 14:56:19 --> URI Class Initialized
DEBUG - 2015-12-06 14:56:19 --> Router Class Initialized
DEBUG - 2015-12-06 14:56:19 --> No URI present. Default controller set.
DEBUG - 2015-12-06 14:56:19 --> Output Class Initialized
DEBUG - 2015-12-06 14:56:19 --> Security Class Initialized
DEBUG - 2015-12-06 14:56:19 --> Input Class Initialized
DEBUG - 2015-12-06 14:56:19 --> XSS Filtering completed
DEBUG - 2015-12-06 14:56:19 --> Global POST and COOKIE data sanitized
DEBUG - 2015-12-06 14:56:19 --> Language Class Initialized
DEBUG - 2015-12-06 14:56:19 --> Language Class Initialized
DEBUG - 2015-12-06 14:56:19 --> Config Class Initialized
DEBUG - 2015-12-06 14:56:20 --> Loader Class Initialized
DEBUG - 2015-12-06 14:56:20 --> Controller Class Initialized
DEBUG - 2015-12-06 14:56:20 --> Dashboard MX_Controller Initialized
DEBUG - 2015-12-06 14:56:20 --> Config file loaded: application/config/invoice_plane.php
DEBUG - 2015-12-06 14:56:20 --> Session Class Initialized
DEBUG - 2015-12-06 14:56:20 --> Helper loaded: string_helper
DEBUG - 2015-12-06 14:56:20 --> Session routines successfully run
DEBUG - 2015-12-06 14:56:20 --> Helper loaded: url_helper
DEBUG - 2015-12-06 14:56:20 --> Database Driver Class Initialized
ERROR - 2015-12-06 14:56:20 --> Severity: Warning --> mysqli_connect(): (28000/1045): Access denied for user ‘’@‘localhost’ (using password: NO) C:\Domains\sota.my\wwwroot\invoice\system\database\drivers\mysqli\mysqli_driver.php 77
ERROR - 2015-12-06 14:56:20 --> Unable to connect to the database
DEBUG - 2015-12-06 14:56:20 --> Language file loaded: language/english/db_lang.php
-
Is this a brand new install?
-
Were you able to run the setup at all?
3)Did you check to make sure the password and address of the mysql server were properly set in the config file?
\application\config\database.php
Thankyou for your reply,
- Its a brand new install on my server host. you can try too www.sota.my/setup
- I can’t even go to the setup page. where as on my localhost xampp it works fine.
- Should i have to put my server host username, password under \application\config\database.php. the installation guide doesn’t say that.
www.sota.my/test. mod_rewrite is working
www.sota.my/info.php mCrypt Extension enabled.
Any reason you’re using Server 2003?
Extended Support for it ended July 14, 2015.
Thankyou Evelio204 the issue has been fixed after i ignored htaccess file. and follow the steps from this link Unsuccesfull installation
I am not using fresh installation but getting error
"A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: C:\inetpub\wwwroot…\system\database\DB_driver.php
Line Number: 125"
Whats the reason behind this i tried all tricks and solutions from internet but no one works for me
$db[‘default’][‘hostname’] = ‘localhost’;
$db[‘default’][‘username’] = ‘root’;
$db[‘default’][‘password’] = ‘root’;
$db[‘default’][‘database’] = ‘invoiceplane’;
$db[‘default’][‘dbdriver’] = ‘mysqli’;
$db[‘default’][‘dbprefix’] = ‘’;
$db[‘default’][‘pconnect’] = false;
$db[‘default’][‘db_debug’] = true;
$db[‘default’][‘cache_on’] = false;
$db[‘default’][‘cachedir’] = ‘’;
$db[‘default’][‘char_set’] = ‘utf8’;
$db[‘default’][‘dbcollat’] = ‘utf8_general_ci’;
$db[‘default’][‘swap_pre’] = ‘’;
$db[‘default’][‘autoinit’] = true;
$db[‘default’][‘stricton’] = false;
I am using it on window server.