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: user galleries link not working after upgrade....  (Read 3496 times)

0 Members and 1 Guest are viewing this topic.

willemt

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
user galleries link not working after upgrade....
« on: August 16, 2006, 11:29:58 pm »

The strangest thing happened after upgrading to 1.4.x. Everything went smooth: upgrade, bridging, changing the default theme, etc. The only one thing that gives me trouble is going to the user galleries (http://.../coppermine/index.php/?cat=1.
Error I get is "There was an error while processing a database query".

In debug I get the following (notice the big blank after MySQL error):

Code: [Select]
While executing query "SELECT user_id as user_id,username as user_name,COUNT(DISTINCT a.aid) as alb_count,COUNT(DISTINCT pid) as pic_count,MAX(pid) as thumb_pid, MAX(galleryicon) as gallery_pid FROM cpg_albums AS a INNER JOIN `gunsmoke_phpbb2`.phpbb_users as u on u.user_id+10000=a.category LEFT JOIN cpg_pictures AS p ON p.aid = a.aid WHERE ((isnull(approved) or approved='YES') AND category > 10000)  GROUP BY category ORDER BY category LIMIT 0, 12 " on 0

mySQL error:

Going straight to a user gallery (eg http://.../coppermine/index.php/?cat=10015) works like it used to do....
« Last Edit: August 17, 2006, 09:01:34 am by GauGau »
Logged

Nibbler

  • Guest
Re: user galleries link not working after upgrade....
« Reply #1 on: August 16, 2006, 11:33:07 pm »

What version did you update to?
Logged

willemt

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: user galleries link not working after upgrade....
« Reply #2 on: August 17, 2006, 12:11:55 am »

version 1.4.2
Logged

Nibbler

  • Guest
Re: user galleries link not working after upgrade....
« Reply #3 on: August 17, 2006, 12:16:29 am »

Why?

Update to the latest stable version, 1.4.8. No reason to suffer from bugs fixed months ago.
Logged

willemt

  • Coppermine newbie
  • Offline Offline
  • Posts: 16
Re: user galleries link not working after upgrade....
« Reply #4 on: August 17, 2006, 03:37:23 am »

yeah.... just noticed that I accidently picked the wrong version....
Works now! Still a couple of weird things though. I might post some later in case I can not find it myself or on the forum.

Thanks!
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.