PDA

View Full Version : Pls. help!


cherrie
08-18-2011, 08:41 PM
I just started using your script/I've just started making a pet-site, but whenever I visit any page using mysql, this will show up:

Warning: include(inc/functions.php) [function.include]: failed to open stream: No such file or directory in /srv/disk1/815171/www/khasthuine.eu.pn/adopt.php on line 18

Warning: include() [function.include]: Failed opening 'inc/functions.php' for inclusion (include_path='.:/usr/local/php5/share/pear') in /srv/disk1/815171/www/khasthuine.eu.pn/adopt.php on line 18

Warning: include(inc/config.php) [function.include]: failed to open stream: No such file or directory in /srv/disk1/815171/www/khasthuine.eu.pn/adopt.php on line 19

Warning: include() [function.include]: Failed opening 'inc/config.php' for inclusion (include_path='.:/usr/local/php5/share/pear') in /srv/disk1/815171/www/khasthuine.eu.pn/adopt.php on line 19

Warning: include(lang/lang.php) [function.include]: failed to open stream: No such file or directory in /srv/disk1/815171/www/khasthuine.eu.pn/adopt.php on line 20

Warning: include() [function.include]: Failed opening 'lang/lang.php' for inclusion (include_path='.:/usr/local/php5/share/pear') in /srv/disk1/815171/www/khasthuine.eu.pn/adopt.php on line 20

Fatal error: Call to undefined function grabanysetting() in /srv/disk1/815171/www/khasthuine.eu.pn/adopt.php on line 22








PLS. HELP!

cherrie
08-18-2011, 10:52 PM
Well I've updated it a bit, but now it shows this message:


Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /srv/disk1/815171/www/khasthuine.eu.pn/inc/functions.php on line 76
Error connecting to MySQL

Nemesis
08-18-2011, 11:29 PM
I have just installed two sites today on my host. Many people are doing this:
1. sign up for my host in my sig
2. pm me your email and desired site name
3. enjoy your installed site

cherrie
08-18-2011, 11:32 PM
ok...But, I just want to figure out how to fix my site.

SilverDragonTears
08-19-2011, 02:13 AM
I think what he means is if you sign up for web hosting with him he'll fix it for you.

Chibi_Chicken
08-19-2011, 03:17 AM
Well I've updated it a bit, but now it shows this message:


Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /srv/disk1/815171/www/khasthuine.eu.pn/inc/functions.php on line 76
Error connecting to MySQL

My suggestion is to look at your config.php file and make sure it has the correct information.
possibly the db host is different than localhost with your web server.

Nemesis
08-20-2011, 12:53 PM
i will only trouble shoot problems on my server. Kinda the only way i can do it, makes more since for me when i am able to check everything rather than speculate and wait for response on what could be wrong. best of luck. I offer free site transfer services too.

Hall of Famer
08-20-2011, 03:36 PM
Looks like she has fixed her site from what I witness at khasthuine.eu.pn, congratulations.

Nemesis
08-20-2011, 04:57 PM
oh wow nice site, I thought she was just starting out as in not even had the script installed.