Greetings, I am a newbie to Simple Invoices. I keep hitting this error that I just can't get past.
Any help would be greatly appreciated.
Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Error parsing ./config/config.ini on line 9 ' in /var/www/simpleinvoices/library/Zend/Config/Ini.php:117 Stack trace: #0 /var/www/simpleinvoices/include/init.php(87): Zend_Config_Ini->__construct('./config/config...', 'production', true) #1 /var/www/simpleinvoices/index.php(26): require_once('/var/www/simple...') #2 {main} thrown in /var/www/simpleinvoices/library/Zend/Config/Ini.php on line 117
Many thanks PKSPOP
Ok, I figure I had better provide a little more info. The box is a brand new installation running Unbuntu Desktop version 9.10. Nothing has been loaded except that which is required for Simple Invoices. I have blown away the OS twice and reinstalled everything with the exact same results.
hey pkspop,
can you post the contents of your config.ini file
- just *** out the password and host
looks like there must be a problem with it or its formatting
cheers
justin
I'm having the same problem. Here's the error:
Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in D:\xampp\php\PEAR\Zend\Loader.php on line 207
Fatal error: Uncaught exception 'Zend_Session_Exception' with message 'Session must be started before any output has been sent to the browser; output started in D:\xampp\php\PEAR\Zend\Loader.php/207' in D:\xampp\php\PEAR\Zend\Session.php:453 Stack trace: #0 D:\xampp\htdocs\simpleinvoices\include\init.php(15): Zend_Session::start() #1 D:\xampp\htdocs\simpleinvoices\index.php(26): require_once('D:\xampp\htdocs...') #2 {main} thrown in D:\xampp\php\PEAR\Zend\Session.php on line 453
Here's my config file:
; Simple Invoices configuration file
; - refer http://www.simpleinvoices.org/config for all options
; Production site configuration data
[production]
database.adapter = pdo_mysql
database.params.host = localhost
database.params.username = root
database.params.password = ********
database.params.dbname = simple_invoices
database.params.port = 3306
authentication.enabled = false
authentication.http =
export.spreadsheet = xls
export.wordprocessor = doc
export.pdf.screensize = 800
export.pdf.papersize = A4
export.pdf.leftmargin = 15
export.pdf.rightmargin = 15
export.pdf.topmargin = 15
export.pdf.bottommargin = 15
local.locale = en-gb
local.precision = 2
email.host = localhost
email.smtp_auth = false
email.username =
email.password =
email.smtpport = 25
email.secure =
email.ack = false
version.name = 2009.1 - stable
debug.level = All
debug.error_reporting = E_ERROR
phpSettings.date.timezone = UTC
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
; Staging site configuration data inherits from production and
; overrides values as necessary
[staging : production]
database.params.dbname = simple_invoices_staging
database.params.username = devuser
database.params.password = devsecret
[dev : production]
database.params.dbname = simple_invoices_dev
debug.error_reporting = E_ALL
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
hey bobmajor
grab the latest release 2010.1 and it should fix this problem for you
cheers
justin
hey nijumohan
which error - the zend autoloader or the config.ini error?
- if its the config error - do you have any non-alphanumeric characters in the password
-- if so try adding quotes around the password ie. 'password' in the config.in file and retest
let us know how you go
cheers
justin
Just FYI :-)
I get this error with the password shown in the config paste below, If I remove the !! from the end of the password and update that in the database permissions it then works. (without the !! at the end of the password)
I checked and it appears to be like this for Any special characters at the front or end of the password.
version 2010.1
Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Error parsing ./config/config.ini on line 10 ' in /drive2/www/constantreality.com/www/sinvoice/library/Zend/Config/Ini.php:184 Stack trace: #0 /drive2/www/constantreality.com/www/sinvoice/library/Zend/Config/Ini.php(125): Zend_Config_Ini->_loadIniFile('./config/config...') #1 /drive2/www/constantreality.com/www/sinvoice/include/init.php(93): Zend_Config_Ini->__construct('./config/config...', 'production', true) #2 /drive2/www/constantreality.com/www/sinvoice/index.php(26): require_once('/drive2/www/con...') #3 {main} thrown in /drive2/www/constantreality.com/www/sinvoice/library/Zend/Config/Ini.php on line 184
; Simple Invoices configuration file
; - refer http://www.simpleinvoices.org/config for all options
; Production site configuration data
[production]
database.adapter = pdo_mysql
database.utf8 = true
database.params.host = localhost
database.params.username = database_invoice
database.params.password = 12345678!!
database.params.dbname = database_invoice
database.params.port = 3306
authentication.enabled = false
authentication.http =
export.spreadsheet = xls
export.wordprocessor = doc
export.pdf.screensize = 800
export.pdf.papersize = A4
export.pdf.leftmargin = 15
export.pdf.rightmargin = 15
export.pdf.topmargin = 15
export.pdf.bottommargin = 15
local.locale = en-gb
local.precision = 2
email.host = localhost
email.smtp_auth = false
email.username =
email.password =
email.smtpport = 25
email.secure =
email.ack = false
version.name = 2010.1 - stable
debug.level = All
debug.error_reporting = E_ERROR
phpSettings.date.timezone = UTC
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
; Staging site configuration data inherits from production and
; overrides values as necessary
[staging : production]
database.params.dbname = simple_invoices_staging
database.params.username = devuser
database.params.password = devsecret
[dev : production]
database.params.dbname = simple_invoices_dev
debug.error_reporting = E_ALL
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
thanks constantreality
is it possible to test putting quotes around the password in the config.ini files and see if that work
cheers
justin
The problem might be solve by removing every non-alphanumeric character in the password. i had similar error and when i did that, it works
thanks amcool2004
cheers
justin
Just installed and had the same problem and quotes around the password does fix it (has to be double quotes) ... annoyingly didnt find this post til after I worked it out!
It looks like you're new here. If you want to get involved, click one of these buttons!