forum.coppermine-gallery.net

Dev Board => cpg1.4 Testing/Bugs => cpg1.4 Testing/Bugs: FIXED/CLOSED => Topic started by: Peter R on December 17, 2008, 08:53:30 pm

Title: [Fixed]: Critical error bridging cpg1.4.19 with SMF2.0b4p when showing /profile.php?uid=#
Post by: Peter R on December 17, 2008, 08:53:30 pm
I have cpg1.4.19 bridged with  SMF2.0b4p and this seemed to be working alright, but not for real. In thumbnail lists, under the thumb, the name of the user is visible. Clicking on it, profile.php?uid=# will open, with information of this particular user. This gave a critical error message. This occurred  while retrieving data from the database. Looking to the forum, I couldnít find this error with itís solution yet, so here is what I found:

This error is because of an error in smf20.inc.php, around line 76:
'regdate' => 'ddate_registered', // name of 'registered' field in users table

This field doesnít exist in the database of SMF. The line should be:
'regdate' => 'date_registered', // name of 'registered' field in users table
Title: Re: [Fixed]: Critical error bridging cpg1.4.19 with SMF2.0b4p when showing /profile.php?uid=#
Post by: Nibbler on December 17, 2008, 09:39:50 pm
Fixed for next version.