Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Fixed]: Critical error bridging cpg1.4.19 with SMF2.0b4p when showing /profile.php?uid=#  (Read 7505 times)

0 Members and 1 Guest are viewing this topic.

Peter R

  • Contributor
  • Coppermine novice
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 26

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
« Last Edit: December 17, 2008, 09:39:40 pm by Nibbler »
Logged

Nibbler

  • Guest

Fixed for next version.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 18 queries.