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: Receiving Critical Error on Site  (Read 3460 times)

0 Members and 1 Guest are viewing this topic.

MaryFan72

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Receiving Critical Error on Site
« on: July 15, 2011, 12:48:00 am »

So the other day after I uploaded a photo to the gallery of my fansite, I was going to upload more photos but upon doing so, I received the following error:

Critical error

There was an error while processing a database query.

While executing query 'SELECT COUNT(*) FROM cpg_comments WHERE pid = ' in include/functions.inc.php on line 2445 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

File: /home2/misswin/public_html/gallery/include/functions.inc.php - Line: 270

How can I fix this in order to get my gallery back to normal and continue uploading photos without losing any files?
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Receiving Critical Error on Site
« Reply #1 on: July 15, 2011, 10:50:32 am »

Please post a link to your gallery and describe where that error message appears.
Logged

MaryFan72

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Re: Receiving Critical Error on Site
« Reply #2 on: July 15, 2011, 03:51:25 pm »

Please post a link to your gallery and describe where that error message appears.
& just when you visit it, the message appears.

The link is miss-winstead.com/gallery & when you visit that area of the site is when the message appears.

The main homepage is fine though.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Receiving Critical Error on Site
« Reply #3 on: July 15, 2011, 04:00:08 pm »

Please have a look at the following threads:
- http://forum.coppermine-gallery.net/index.php/topic,68552.msg341706.html#msg341706
- http://forum.coppermine-gallery.net/index.php/topic,67596.msg335526.html#msg335526

and report if it works, when you disable 'Display number of comments below the thumbnail'.
Logged

MaryFan72

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Receiving Critical Error on Site
« Reply #4 on: July 16, 2011, 06:29:43 pm »

But nobody posts comments in the gallery in the first place so I don't think there's anything I'd need to uncheck.....  ???
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: Receiving Critical Error on Site
« Reply #5 on: July 16, 2011, 07:10:01 pm »

Do it anyway. Please read the threads to get an idea what may cause that issue.
Logged

MaryFan72

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Receiving Critical Error on Site
« Reply #6 on: July 18, 2011, 05:27:10 am »

Site's all fixed!  :D
Logged

lurkalot

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Online Online
  • Gender: Male
  • Posts: 949
  • +Tinyportal Support team.
Re: Receiving Critical Error on Site
« Reply #7 on: July 18, 2011, 09:12:09 am »

Site's all fixed!  :D

For the benefit of others who might run into the same problem, could you please tell us what you did to fix it. Please.
Logged
Running SMF 2.1.4  / Tinyportal 3.0.0, bridged with Coppermine 1.6.25, plus cpmfetch 2.0.0

MaryFan72

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: Re: Receiving Critical Error on Site
« Reply #8 on: July 19, 2011, 06:37:35 pm »

For the benefit of others who might run into the same problem, could you please tell us what you did to fix it. Please.

The site owner was able to get in contact with someone who fixed the problem. I didn't ask for details though, sorry. However, site now has new problems, which I posted about here:  http://forum.coppermine-gallery.net/index.php/topic,73176.0.html.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.