Fatal error upon completion of install

4 replies [Last post]
Joined: 04/05/2009
Points: 7

Hey all

Here's the error message:
Fatal error: Uncaught exception 'Zend_Config_Exception' with message 'Error parsing /var/www/loombc/www/public_html/kalturaCE/kaltura/api_v3/config/database.ini on line 6 ' in /var/www/loombc/www/public_html/kalturaCE/kaltura/api_v3/vendor/ZendFramework/library/Zend/Config/Ini.php:117 Stack trace: #0 /var/www/loombc/www/public_html/kalturaCE/kaltura/api_v3/lib/db/DbManager.class.php(24): Zend_Config_Ini->__construct('/var/www/loombc...') #1 /var/www/loombc/www/public_html/kalturaCE/kaltura/api_v3/web/system/batchwatchStatus.php(6): DbManager->initialize() #2 /var/www/loombc/www/public_html/kalturaCE/install/installed.php(6): include('/var/www/loombc...') #3 {main} thrown in /var/www/loombc/www/public_html/kalturaCE/kaltura/api_v3/vendor/ZendFramework/library/Zend/Config/Ini.php on line 117

Anyone have any hints on what might have caused this?

Thanks!

Joined: 02/22/2009
Points: 97

Leetamus,

Can you post your database.ini file contents here ?

Joined: 04/05/2009
Points: 7

Oops haven't been back in a while, sure here it is, thanks for helping:

[propel]
database.phptype = mysql
database.host = server:3306
database.database = kaltura
database.username = -removed-
database.password = -removed-
database.compat_assoc_lower = true
database.datasource = propel

[propel2 : propel]
database.host = server:3306

[propel3 : propel]
database.host = server:3306

Joined: 02/22/2009
Points: 97

Leetamus !
You removed the most important data :)

I bet your password includes some non alpha-numeric chars (like #...)

Try wrapping the password with double quotes,

[propel]
database.phptype = mysql
database.host = server:3306
database.database = kaltura
database.username = -removed-
database.password = "example#$password!@#"
database.compat_assoc_lower = true
database.datasource = propel
 
[propel2 : propel]
database.host = server:3306
 
[propel3 : propel]
database.host = server:3306

Do the same in databases.yml file (kaltura/alpha/config)

I've already added the double quotes to the installation flow (as well as escaping quotes inside the double quotes).

Joined: 04/05/2009
Points: 7

good guess Gonen lol there was a '!' in my password. I'll try your suggestion and post back, thanks a lot for your time.

EDIT: It worked! thanks so much once again ;)