Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: error  (Read 6162 times)

0 Members and 1 Guest are viewing this topic.

unplug

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
error
« on: September 30, 2003, 04:43:30 pm »

Hi,

  I found that there is an error when I click "Last uploads","Last comments","Most viewed" or "Top rated" sometimes.  It showed the error message below.

There was an error while processing a database query

How can I fix it?

unplug
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
error
« Reply #1 on: September 30, 2003, 06:17:13 pm »

switch on debug_mode and copy'n'paste the url and the debug output here, so we can take a look. I don't want to make this easy on us and say it's not a bug, but it could very likely also be a server misconfiguration issue.

GauGau
Logged

Anonymous

  • Guest
error
« Reply #2 on: October 01, 2003, 09:04:15 am »

Quote from: "gaugau"
switch on debug_mode and copy'n'paste the url and the debug output here, so we can take a look. I don't want to make this easy on us and say it's not a bug, but it could very likely also be a server misconfiguration issue.

GauGau


Below is the message in debug mode.

There was an error while processing a database query.

While executing query "SELECT cid, name, description FROM cpg_categories WHERE parent = '10002'"

mySQL error: Unknown column 'name' in 'field list'

file: /home/portal/lacosta/html/modules/coppermine/include/functions.inc.php - line: 97

unplug
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
error
« Reply #3 on: October 01, 2003, 09:14:07 am »

seems like you run phpnuke port, I moved your thread here for this reason.
Please provide a link to your gallery, too.

GauGau
Logged

sengsara

  • Translator
  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 87
    • http://batamweb.net
error
« Reply #4 on: October 01, 2003, 11:13:47 am »

It's the 'name' field . There's no name field.

Just change it to 'namee' in the appropriate lines and you're golden!
Logged
(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fbatamweb.net%2F4leechers%2Fsengsaraatgmail.gif&hash=5023c7ba1bc4142435e406735fee30bc611c5a03)

unplug

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
error
« Reply #5 on: October 01, 2003, 06:51:15 pm »

yes. I'm using phpnuke port.  I will try to rename the field and see whether it works or not.  Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 14 queries.