Today it was brought to my attention that the photopost gallery stopped working. Upon trying to view the index.php I get the following error:
MySQL error reported!
Query: SELECT c.id, c.catname, c.description, c.catorder, c.parent, c.thumbs, c.children, c.photos, c.posts, c.catdepth, p.id, p.bigimage, p.cat, p.approved, p.user, p.userid, p.date, com.username, com.id, com.date, com.photo FROM categories c LEFT JOIN photos p ON c.lastphoto=p.id LEFT JOIN comments com ON com.id=c.lastpost ORDER BY c.catorder ASC
Result: Can't open file: 'photos.MYI'. (errno: 145)
Database handle: Resource id #6
Any suggestions on what the problem might be and how to fix it would be appreciated.
Okay, somehow it appears that the permissions in those directories (data and uploads) and perhaps all permissions on my website got reset to defaults. I gave permissions to those directories as you indicated...
Now instead of getting an error when I upload, it goes to "processing image...." then goes to a confirmation page. On the confirmation page a window pops up asking me to log into www.skimonline2.com which is my website. If I log on the thumbnail pops up appropriately. If I do not log on I get a box with a red x in it.
Are there possibly some other directories that need special permissions or is this something else? Thanks.