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: Error Querying Database.. Xoops bridged to coppermine 1.4.2  (Read 7916 times)

0 Members and 1 Guest are viewing this topic.

foz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Error Querying Database.. Xoops bridged to coppermine 1.4.2
« on: December 14, 2005, 07:37:20 pm »

I have the following problem when bridging Xoops 2.2.3 final with Coppermine 1.4.2 when I try to use the ecard or report feature.
These features work fine with the bridge disabled.
Also I have tried it with and without post based groups.  Changing that made no difference.

Also using search I did not find a similar problem :)

Quote

Critical error

There was an error while processing a database query.
 





While executing query "SELECT uname AS user_name,
                              email AS user_email,
                              user_regdate AS user_regdate,
                              '' AS user_location,
                              url AS user_website
                              
                              FROM  `databasename`.***_users WHERE uid = '1'" on Resource id #6

mySQL error: Unknown column 'user_regdate' in 'field list'



File: /****/******/public_html/testsite/cpg142/include/functions.inc.php - Line: 248

Thanks for your help in advance :)
foz


Coppermine install: http://www.thewoodlandsmonitor.com/testsite/cpg142
Forum install: http://www.thewoodlandsmonitor.com/testsite
Coppermine version: 1.4.2
Forum Version:  Xoops 2.2.3 final
Test user account: Testuser/test

Bridgemanager settings:
Forum URL:  http://www.thewoodlandsmonitor.com/testsite 
Relative path to your BBS's config file:  ../ 
Use post-based groups?:  0 
« Last Edit: December 14, 2005, 11:17:12 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Error Querying Database.. Xoops bridged to coppermine 1.4.2
« Reply #1 on: December 14, 2005, 10:42:21 pm »

Edit bridge/xoops.inc.php

find

Code: [Select]
'regdate' => 'user_regdate', // name of 'registered' field in users table
change to

Code: [Select]
'regdate' => "''", // name of 'registered' field in users table
Logged

foz

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: Error Querying Database.. Xoops bridged to coppermine 1.4.2
« Reply #2 on: December 14, 2005, 11:14:57 pm »

Thanks for that info nibbler :)


Just correcting that one line was not all that was wrong apparently.

I also had to modify this line
Quote
'website' => 'url', // name of 'website' field in users table

to
Quote
'website' => "''", // name of 'website' field in users table

Thanks to your initial response I was able to fire up some brain cells and figure out the second problem.

Thanks a ton Nibbler :)


Foz
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 16 queries.