PDA

View Full Version : admin cp not working....


bayareamommas
13 Jun 2008, 16:28
I get this message every time:
Invalid forum path specified! Please edit this file and be sure to include the correct path for your $forumpath variable.

any ideas how to fix this? I've been trying to get my front page to fix www.bayareamommas.com and in attempts to do this I messed my admin cp file up.

thanks for the help

WEBDosser
13 Jun 2008, 16:31
is vb installed ok?..

Warning: fetch_config(/home/content/n/n/s/nnsutton1608/html/forums/includes/config.php): failed to open stream: No such file or directory in /home/content/n/n/s/nnsutton1608/html/forums/includes/class_core.php on line 2529

bayareamommas
13 Jun 2008, 16:44
I would assume not since everything seems to be messed up...I had paid to have it installed so if you know how to help me that would be wonderful

Lynne
13 Jun 2008, 17:08
The error seems to say that you are missing the /includes/config.php file, or that the file is messed up in some way. Did you accidentally overwrite it with another one?

bayareamommas
13 Jun 2008, 17:18
I could have. how can I fix that?
Can you look into my FTP files and see if I did?
Thank you

Lynne
13 Jun 2008, 17:33
Yes, you can ftp to your account and go to your forum folder, inside there is an "includes" folder, and inside there should be a "config.php" file. See if it's there. Also, see if it is filled out correctly with your database name and password and all the other stuff in the file.

bayareamommas
13 Jun 2008, 17:46
I don't know what I did but I'm getting this now:
http://www.bayareamommas.com/forums.php

Lynne
13 Jun 2008, 18:15
I don't know what I did but I'm getting this now:
http://www.bayareamommas.com/forums.php
To find the real error there, you view the source code and at the bottom you will see this:

<!--
Database error in vBulletin :

mysql_connect(): Can't connect to local MySQL server through socket '/usr/local/mysql-5.0/data/mysql.sock' (2)
/home/content/n/n/s/nnsutton1608/html/includes/class_core.php on line 311

MySQL Error :
Error Number :
Request Date : Friday, June 13th 2008 @ 10:13:32 AM
Error Date : Friday, June 13th 2008 @ 10:13:32 AM
Script : http://www.bayareamommas.com/forums.php
Referrer : http://www.vbulletin.org/forum/showthread.php?p=1548511
IP Address : xxxxxxxx
Username :
Classname : vb_database
MySQL Version :
-->
My guess is you don't have the correct information in your config.php file for your site to connect to the database. Take a look at it and compare it to the default config.php file (which is actually called config.php.new in a newly downloaded package).

Opserty
13 Jun 2008, 18:16
Here is what the manual says:
Common MySQL Error Messages (http://www.vbulletin.com/docs/html/troubleshoot_mysql_errors)

Socket Connection Error
This most commonly looks like this:

mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'
(2) /home/exampledomain/public_html/forums/includes/class_core.php on line 273
This error means either:
1. The info in your config.php file is wrong (in which case your forums wouldn't work at all), or
2. MySQL crashed, it's not running or it can't find the socket. You need to contact your host about this. Here is more info on this error:
http://dev.mysql.com/doc/mysql/en/Can_not_connect_to_server.html