4images Forum & Community

4images Issues / Ausgaben => Installation, Update & Configuration => Topic started by: shami74 on February 07, 2008, 02:26:02 AM

Title: error coming up when clicking in stall
Post by: shami74 on February 07, 2008, 02:26:02 AM
http://www.moonlytegraphix.com/4images

this is not my site though i am trying to help


Parse error: syntax error, unexpected '"' in /home/kajirafire/domains/moonlytegraphix.com/public_html/4images/includes/db_mysql.php on line 39


if i can get some help i can explain how to fix this to her


thank you
Title: Re: error coming up when clicking in stall
Post by: thunderstrike on February 07, 2008, 03:05:57 AM
See if config.php file is right. Is look error in string ...
Title: Re: error coming up when clicking in stall
Post by: Nylemia on February 09, 2008, 02:45:52 PM
This is my site she is trying to help me with, I have looked at the config file and to be honest not exactly sure what I am looking for error wise, any help would be appreciated as I have not found much on my own researching.

Thank you
Title: Re: error coming up when clicking in stall
Post by: thunderstrike on February 09, 2008, 03:48:11 PM
In includes/db_mysql.php file,

find:

Code: [Select]
$this->error("Could not connect to the database server ($db_host, $db_user).", 1);

replace:

Code: [Select]
$this->error("Could not connect to the database server (" . $db_host . ", " . $db_user . ").", 1);