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: Strange Error when rating photo for Album Addon  (Read 3183 times)

0 Members and 1 Guest are viewing this topic.

SeanGodfrey

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Strange Error when rating photo for Album Addon
« on: May 07, 2004, 07:27:24 am »

Everything was running fine on my Photo Album addon till I rated a GIF file. Then I got this error:

Could not query recent pics information

DEBUG MODE

SQL Error : 1030 Got error -1 from table handler

SELECT p.pic_id, p.pic_title, p.pic_desc, p.pic_user_id, p.pic_user_ip, p.pic_username, p.pic_time, p.pic_cat_id, p.pic_view_count, u.user_id, u.username, r.rate_pic_id, AVG(r.rate_point) AS rating, COUNT(DISTINCT c.comment_id) AS comments FROM phpbb_album AS p LEFT JOIN phpbb_users AS u ON p.pic_user_id = u.user_id LEFT JOIN phpbb_album_cat AS ct ON p.pic_cat_id = ct.cat_id LEFT JOIN phpbb_album_rate AS r ON p.pic_id = r.rate_pic_id LEFT JOIN phpbb_album_comment AS c ON p.pic_id = c.comment_pic_id WHERE p.pic_cat_id IN (1) AND ( p.pic_approval = 1 OR ct.cat_approval = 0 ) GROUP BY p.pic_id ORDER BY pic_time DESC LIMIT 4

Line : 259
File : /home/belts/public_html/forum/album.php

Now the Photo Album add-on doesn't work.

What could be the problem?

Thanks again,
Sean
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Strange Error when rating photo for Album Addon
« Reply #1 on: May 07, 2004, 08:29:35 am »

link?
Logged

SeanGodfrey

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Strange Error when rating photo for Album Addon
« Reply #2 on: May 07, 2004, 08:52:13 am »

The URL:

http://forum.beltmarks.com/album.php

I've ben racking my brain on this one. What happened was this: I didn't click on the stars to rank it, but clicked on the photo, then on the photo page there was a text link to rank. I ranked the photo a 10 then got that message on every album page theirafter.

Thanks again,
Sean
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Strange Error when rating photo for Album Addon
« Reply #3 on: May 07, 2004, 09:04:16 am »

Rating with "10" doesn't come with coppermine by default. Do you run any third party hacks? Where did you get the coppermine sources from, and what mods did you install?

GauGau
Logged

SeanGodfrey

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Strange Error when rating photo for Album Addon
« Reply #4 on: May 07, 2004, 09:09:36 am »

I didn't run any 3rd party mods/hacks. The ones I installed on the forum were:

Photo Album Addon
Photo Album Fix for Next Picture
Forum addon for SWF Flash files
Extreme Styles Mod
Calendar mod
Last Visit Date


That's it. All were taken from the Coppermine site on Sourceforge.net

I might have been mistaken on the 10, but I ranked it at the highest rank before it messed up.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Strange Error when rating photo for Album Addon
« Reply #5 on: May 07, 2004, 09:15:43 am »

I never heard of the mods you posted, they're not from coppermine downloads page - I'm sure about that. My guess is you have been applying mods from phpBB's board (there is, for example, no such file as album.php in coppermine, and the url you posted suggests you're using some hack from the phpBB community).
Post links to the mods you're refering to.

GauGau
Logged

SeanGodfrey

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20
Re: Strange Error when rating photo for Album Addon
« Reply #6 on: May 07, 2004, 09:51:39 am »

Sorry about this. Man, this is what I get for being on a deadline and no sleep in 36 hours. I posted the wrong message on the entirely wrong forum. I thought I was posting this on the phpbb support forum.  ::)

Sorry everyone!
Sean
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 19 queries.