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: [BUGFIX] just one glitch :-) phpnuke 5.5-6.0 & postnuke  (Read 3602 times)

0 Members and 1 Guest are viewing this topic.

sigi

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • http://www.allygally.de
[BUGFIX] just one glitch :-) phpnuke 5.5-6.0 & postnuke
« on: December 06, 2003, 08:41:09 pm »

Hi

thanks for that release - i found all my errors fixed...

there just on glitch: in functions.inc.php you have one line reading

Code: [Select]
$result = $db->sql_query("SELECT user_timezone FROM " . $CONFIG['TABLE_USERS'] . " WHERE user_id=" . USER_ID);
   

this should be
Code: [Select]
$result = $db->sql_query("SELECT user_timezone FROM " . $CONFIG['TABLE_USERS'] . " WHERE ". $field_user_id."=" . USER_ID);
   

, and the global line in that function should include $field_user_id ...

that way it works in Nuke 5.5 !
Logged
Siegfried Schlosser

Berlin, Germany

had a big Coppermine gallery with more than 250.000 pics  at
www.allygally.de, but due to juristical problems that is closed now ....
Now trying Coppermine 1.4.x at http://walexis.pytalhost.de/

DJMaze

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 831
    • Dragonfly CMS
[BUGFIX] just one glitch :-) phpnuke 5.5-6.0 & postnuke
« Reply #1 on: December 07, 2003, 03:20:23 am »

thnx fixed for next release
Logged
There are 2 kinds of users in this world: satisfied and complainers.
Why do we never hear something from the satisfied users?
http://coppermine-gallery.net/forum/index.php?topic=24315.0

sigi

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 68
    • http://www.allygally.de
[BUGFIX] just one glitch :-) phpnuke 5.5-6.0 & postnuke
« Reply #2 on: December 08, 2003, 11:25:14 am »

uhh, ohh -
thanks, but theres another glitch now:  the catlist doesnt show the number of categories or albums - it say 0 (zero) ...
if you open a category, the number of albums and pictures is correct ...

ahh, and just this moment i get this:

Code: [Select]
error in sql-statement: mysql_query, err-no: 1054
qry: SELECT uname FROM nuke_users WHERE user_id='0'
description: Unknown column 'user_id' in 'where clause'


i stopped the slide show, and this error comes up. can be reproduced ...
Logged
Siegfried Schlosser

Berlin, Germany

had a big Coppermine gallery with more than 250.000 pics  at
www.allygally.de, but due to juristical problems that is closed now ....
Now trying Coppermine 1.4.x at http://walexis.pytalhost.de/
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 18 queries.