Database error while modified categories.
I had noticed that users were able to rate photos in the members gallery category, so I went into the admin to remove that access, only to find that it was already removed. Changing some permissions, I get the following error message:
We're sorry, but the system experienced an unrecoverable error. Please try again later.
Query: SELECT parent FROM categories WHERE id=
Result: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Database handle: Resource id #8
So I have two problems here. One, the users are rating photos in a category where voting is disabled for everyone. Two, the database error when I try to modify that category.
Photopost 5.13, phpBB 2.0.15, mysql 4.0.25, php 4.3.11