[Fixed]: Critical error bridging cpg1.4.19 with SMF2.0b4p when showing /profile.php?uid=# [Fixed]: Critical error bridging cpg1.4.19 with SMF2.0b4p when showing /profile.php?uid=#
 

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]

Main Menu

[Fixed]: Critical error bridging cpg1.4.19 with SMF2.0b4p when showing /profile.php?uid=#

Started by Peter R, December 17, 2008, 08:53:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Peter R

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