Advanced search  

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

Pages: [1]   Go Down

Author Topic: Coppermine gallery Errors (Database error)  (Read 2844 times)

0 Members and 1 Guest are viewing this topic.

M3ta7h3ad

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Coppermine gallery Errors (Database error)
« on: January 03, 2005, 10:35:12 am »

Righty, my gallery was working last thing last night, woke up this morning and went to upload photos to it, and the index.php file gave this error.

(when debug mode is turned on manually in the database)

Quote
While executing query "SELECT aid FROM cpg_albums WHERE category = " on 0

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 '' at line 1

I havent done anything to the gallery, as I said I just went to the page this morning.

One thing I have noticed is that if any of the php files actually loads beyond giving me the above error, it shows nothing, except for "Array" and a blank empty textbox, a perfect example of it is the config.php file, its just a table of "Array" and blank text boxes.

Any ideas whats caused this? or how to fix it?. My host is doing their best but I think they are as flummoxed as me as to why its screwing up. (fresh installs on new databases, and new folders also screw up in this manner)
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Coppermine gallery Errors (Database error)
« Reply #1 on: January 03, 2005, 12:40:33 pm »

Did your host upgrade PHP last night?  If they did (upgrade to 4.3.10), did they upgrade their Zend optimizer to 2.5.7?
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.