PDA

View Full Version : MySQL error, cant read directory


qbn720
09-15-2007, 05:35 PM
Hey guys, I need help. I noticed I cant delete forums anymore under my Admin CP. This is the error:

Database error in vBulletin 3.6.5:

Invalid SQL:
DELETE FROM access WHERE forumid IN (47,48);

MySQL Error : Can't find file: './thesite_forum2/access.frm' (errno: 13)
Error Number : 1017
Date : Saturday, September 15th 2007 @ 06:33:00 PM
Script : http://www.mysite.com/admincp/forum.php?do=kill
Referrer : http://www.mysite.com/admincp/forum.php?do=remove&f=47&s=
IP Address : 69.123.214.154
Username : Vicious
Classname : vb_database

So I go over to the maintanace section so that I may repair it and it gives me this error:

Warning: mysql_query() [function.mysql-query]: Unable to save result set in /includes/class_core.php on line 363

Database error in vBulletin 3.6.5:

Invalid SQL:
SHOW TABLE STATUS;

MySQL Error : Can't read dir of './thesite_forum2/' (Errcode: 13)
Error Number : 12
Date : Saturday, September 15th 2007 @ 06:34:08 PM
Script : http://www.mysite.com/admincp/repair.php?do=list
Referrer : http://www.mysite.com/admincp/index.php?do=nav
IP Address : 69.123.214.154
Username : Vicious
Classname : vb_database

Oddly enough my forums still work perfectly fine. but my admin control is messed up now. I can create forums, but not delete them. I cant repair anymore either. Anyone have any ideas. I'd really appreciate it.

Issue was resolved. Had to do with my host. Thanks anyways. =)

Marco van Herwaarden
09-21-2007, 06:20 PM
OS Error Code 13: Permission denied
You do not have permission to write to a directory. Most commonly the temporary files directory. Create a directory in your User Home directory on the server and chmod it 777. Another reason could be that the file is really missing.

If this does not resolve the issue then you must contact your host and have them fix your permissions.