Critical error message asking for log in Critical error message asking for log in
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Critical error message asking for log in

Started by JeffB, September 06, 2016, 02:11:58 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

JeffB

Hello.. recently I had a customer ask why he had to log in to see the gallery I have. Its not supposed to ask for a password so I went over and checked it out. This was the error message I am getting now.

While executing query 'SELECT cid, lft, rgt, name, description, thumb, depth AS level, '0' AS alb_count
        FROM cpg143_categories
        WHERE depth BETWEEN 0 + 1 AND 0 +
       
        ORDER BY lft' in index.php on line 303

mySQL error: 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 'ORDER BY lft' at line 5


I've checked with my web hosting company as it appears this was something they did on their end (A back up gone wrong etc. etc.)  They checked into it but said they couldn't find the issue or fix it. I wanted to ask here for some help or guidance before I re-upload anything. So whats going on with my gallery and how can I fix it. Thanx


ΑndrĂ©

Please update your gallery to the latest stable release as described in the docs and check if the error still exists.

I currently just get the login page. If we need to login to see the error message, please provide a test user account (no admin account!).