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: Coppermine after bridging.  (Read 2916 times)

0 Members and 1 Guest are viewing this topic.

HoundSP

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Coppermine after bridging.
« on: June 14, 2006, 07:40:57 pm »

After I bridged coppermine with IPB 2.0.3 some coppermine functions seems missing, such as view specific user last uploaded file or letest comments. After clicking on the uploader name, it redirect to the IPB user profile. Is there anything I can do whith this issue?

Another problem is OnlineStats fails after bridging. It shows "There was an error while processing a database query". I assume that because the gallery use IPB usr database, actually I only need the currently online username not the whole stat. Is there anything I can do whith this issue?

Thanks in advance.  ;)
« Last Edit: June 18, 2006, 11:05:22 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine after bridging.
« Reply #1 on: June 16, 2006, 10:10:46 am »

1) When requesting bridge support - mandatory!
2) One issue per thread!
3) Online Stats is a mod that doesn't come with the coppermine packages. Mods don't get supported on the regular support board, but on the thread that deals with it. Enable debug_mode to find out what query actually fails. Use the plugin version instead of the mod for upgrade stability
4) Missing profile when bridged and subsequent missing links to "last uploads by user" is a known issue/missing feature.
Logged

HoundSP

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
Re: Coppermine after bridging.
« Reply #2 on: June 16, 2006, 11:59:01 am »

Thanks a lot for your support! Finally I get the onlinestats work  ;)
* Sorry that I didn't read through the "Who is online" plugin *experimental" topic, my fault....  :'(

Reclarify it again (Thanks to nibbler and proxenus)
in onlinestats/codebase.php

Line 119:
find :
Code: [Select]
$result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_USERS']}");replace with :
Code: [Select]
$result = cpg_db_query("SELECT COUNT(*) FROM {$CONFIG['TABLE_USERS']}", $cpg_udb->link_id);

Line 130:
find :
Code: [Select]
$result = cpg_db_query("SELECT $user_id, $user_name FROM {$CONFIG['TABLE_USERS']} ORDER BY $user_id DESC LIMIT 1");replace with :
Code: [Select]
$result = cpg_db_query("SELECT $user_id, $user_name FROM {$CONFIG['TABLE_USERS']} ORDER BY $user_id DESC LIMIT 1", $cpg_udb->link_id);
Original thread : http://forum.coppermine-gallery.net/index.php?topic=26532.60
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Coppermine after bridging.
« Reply #3 on: June 18, 2006, 11:05:39 am »

Thanks for returning and resolving your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 15 queries.