Install stops at step 4 (database setup)

139 views
Skip to first unread message

Marius Weber Jørgensen

unread,
May 4, 2016, 9:54:38 AM5/4/16
to siwapp-users
Hi all

I'm trying to install siwapp on my server but every time i get to step 4 i type in my DB information and hits next and nothing happens. The site just turns white.

I ran the installation_dev.php and got the following error:

Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/billedgrafen.dk/faktura/lib/validator/dbConnectionValidator.class.php:13 Stack trace: #0 /var/www/billedgrafen.dk/faktura/lib/vendor/symfony/lib/validator/sfValidatorBase.class.php(327): dbConnectionValidator->doClean(Array) #1 /var/www/billedgrafen.dk/faktura/lib/vendor/symfony/lib/validator/sfValidatorSchema.class.php(246): sfValidatorBase->clean(Array) #2 /var/www/billedgrafen.dk/faktura/lib/vendor/symfony/lib/validator/sfValidatorSchema.class.php(186): sfValidatorSchema->postClean(Array) #3 /var/www/billedgrafen.dk/faktura/lib/vendor/symfony/lib/validator/sfValidatorSchema.class.php(90): sfValidatorSchema->doClean(Array) #4 /var/www/billedgrafen.dk/faktura/lib/vendor/symfony/lib/form/sfForm.class.php(247): sfValidatorSchema->clean(Array) #5 /var/www/billedgrafen.dk/faktura/lib/vendor/symfony/lib/form/addon/sfFormSymfony.class.php(75): sfForm->doBind(Array) #6 /var/www/billedgrafen.dk/faktura/lib/vendor/symfony/lib/form/sfForm.class.php in /var/www/billedgrafen.dk/faktura/lib/validator/dbConnectionValidator.class.php on line 13

I triple checked the DB information and its correct. And i have tried using both firefox and chrome

Any suggestions on how i can get pass step 4?

Best regards
Marius

Paris Liakos

unread,
May 8, 2016, 8:14:57 AM5/8/16
to siwapp-users
I suppose you use php7, thats why..
mysql_* functions are removed
http://php.net/manual/en/migration70.removed-exts-sapis.php

i couldnt get it to work even after replacing mysql_* functions with mysqli_*

Reply all
Reply to author
Forward
0 new messages