Advanced search  

News:

cpg1.5.24 maintenance release - upgrade recommended
The Coppermine development team is releasing an update for Coppermine in order to fix several minor issues. All fixes are not security critical, so if your gallery is running fine with cpg1.5.20 or cpg1.5.22 you don't need to upgrade. If you are running an older version than cpg1.5.20, you must update to this latest version as soon as possible because of the security impact!
[more]

Pages: [1]   Go Down

Author Topic: user galleries link not working after upgrade....  (Read 1845 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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 19981
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
I don't care about what they say, I won't live or die that way.

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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 19981
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
I don't care about what they say, I won't live or die that way.

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.168 seconds with 19 queries.