[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:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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