Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Re: Successful integration Coppermine 1.4.1 beta + SMF 1.0.5 + Mambo 4.5.2.3  (Read 5594 times)

0 Members and 1 Guest are viewing this topic.

CuTe_MaN

  • Coppermine newbie
  • Offline Offline
  • Posts: 4

i have finished integrating CPG1.4 with SMF and i got all users from my forum registered in the gallery database

but i wanted to enter the Admin Tools again but I get this problem

"There was an error while processing a database query"

if any body can help

thx
« Last Edit: December 09, 2005, 12:12:36 am by GauGau »
Logged

Nibbler

  • Guest

Enable debug mode and post the mysql error message that you get (not the entire debug output).
Logged

CuTe_MaN

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Successful integration Coppermine 1.4.1 beta + SMF 1.0.5 + Mambo 4.5.2.3
« Reply #2 on: November 30, 2005, 06:04:06 pm »

how i can do that?

and i have posted the error message that i am getting and it is

"There was an error while processing a database query"

thx
Logged

CuTe_MaN

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Successful integration Coppermine 1.4.1 beta + SMF 1.0.5 + Mambo 4.5.2.3
« Reply #4 on: December 01, 2005, 10:29:49 am »

I have enabled the Encoding and i got this messages:

Code: [Select]
While executing query "SELECT aid, category, IF(memberName IS NOT NULL,
CONCAT('(', memberName, ') ', a.title),
CONCAT(' - ', a.title)) AS title
FROM cpg140_albums AS a
LEFT JOIN `sabouni_uaeu`.smf_members AS u
ON category = (10000 + ID_MEMBER)
ORDER BY category, title" on Resource id #23

mySQL error: No Database Selected

and it says that the problem is in
("\include\functions.inc.php - Line: 248")

file

 i hope that you can help me in the problem

thx
Logged

Nibbler

  • Guest

Can you look in bridge/udb_base.inc.php towards the end of the file, find the query

Code: [Select]
$query = "SELECT aid, category, IF({$this->field['username']} IS NOT NULL,
CONCAT('(', {$this->field['username']}, ') ', a.title),
CONCAT(' - ', a.title)) AS title
FROM {$CONFIG['TABLE_ALBUMS']} AS a
LEFT JOIN {$this->usertable} AS u
ON category = (" . FIRST_USER_CAT . " + {$this->field['user_id']})
ORDER BY category, title";

$result = cpg_db_query($query, $this->link_id);

and change that last bit to

Code: [Select]
$result = cpg_db_query($query);
Logged

CuTe_MaN

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Successful integration Coppermine 1.4.1 beta + SMF 1.0.5 + Mambo 4.5.2.3
« Reply #6 on: December 06, 2005, 09:50:01 pm »

i have tried it and it is working well thank you
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.