forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: sigi on December 06, 2003, 08:41:09 pm

Title: [BUGFIX] just one glitch :-) phpnuke 5.5-6.0 & postnuke
Post by: sigi 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 !
Title: [BUGFIX] just one glitch :-) phpnuke 5.5-6.0 & postnuke
Post by: DJMaze on December 07, 2003, 03:20:23 am
thnx fixed for next release
Title: [BUGFIX] just one glitch :-) phpnuke 5.5-6.0 & postnuke
Post by: sigi 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 ...