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: Some features not working when bridged  (Read 6595 times)

0 Members and 1 Guest are viewing this topic.

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Some features not working when bridged
« on: April 19, 2007, 07:51:55 pm »

Hi Stramm, love the modpack, especially the watermarking, needed that very much since cpgmark was giving me problems, thanks so much.

My gallery is bridged with PhpBB, some of the features are not working like subscribe and avatar.

Also buddy manage - "Critical error
There was an error while processing a database query"   :o

Kinda new to this, so I dont know what that means :(

The gallery is here - www.shwetatiwari.net/gallery

Help whenever you can  :) no rush.
« Last Edit: April 23, 2007, 07:57:13 am by GauGau »
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Some features not working when bridged
« Reply #1 on: April 19, 2007, 07:57:45 pm »

reupload the modpack again and make double sure you uploaded all files (and replaced the orignal ones)... some modpack files are missing

The buddy manage problem has been taken care of some weeks ago. Download the fix from my demo site

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Some features not working when bridged
« Reply #2 on: April 20, 2007, 12:35:52 am »

reupload the modpack again and make double sure you uploaded all files (and replaced the orignal ones)... some modpack files are missing

The buddy manage problem has been taken care of some weeks ago. Download the fix from my demo site

ok, thanks buddy, i tried it again and also installed the buddy manage one again, and its still coming as "Critical error
There was an error while processing a database query", ... the comments and avatar has been fixed. I did realize tat it does send the email out though but when the person gets the become friends email, they also cant approve?

Clicking on my friends also brings up "Critical error
There was an error while processing a database query"

the other problem i m getting now is a "Critical error
Script called without the required parameter(s)."
 when i try to edit files individually i.e. tag or crop them... i will search for a fix here if you dont have an answer, thanks so much for your help and of course, the best mod pack for coppermine ;D ;D ;D
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Some features not working when bridged
« Reply #3 on: April 20, 2007, 07:19:09 am »

In the fix archive not only is the buddy_manage.php but also bridge/udb_base.inc.php
You always need to replace all files.

In case you still get a fatal error enable debug mode and post the actual error message (not the debug output)

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Some features not working when bridged
« Reply #4 on: April 20, 2007, 09:43:34 pm »

In the fix archive not only is the buddy_manage.php but also bridge/udb_base.inc.php
You always need to replace all files.

In case you still get a fatal error enable debug mode and post the actual error message (not the debug output)

yea i uploaded both files, and twice too.

this is what i get... when i click on my friends

While executing query "SELECT id, buddy_ok, buddy_block, buddy_id, since FROM cpg_buddy WHERE buddy_ok='YES' AND buddy_id = 9 ORDER BY  LIMIT 0, 25;" on 0

mySQL error:


below the box -

File: /home/nachbali/public_html/shwetatiwari/gallery/include/functions.inc.php - Line: 248

notices:

Notices
/themes/oranje/theme.php

    * Notice line 611: Use of undefined constant AUTHOR_ID - assumed 'AUTHOR_ID'
    * Notice line 811: Undefined variable: charset

/buddy_manage.php

    * Notice line 280: Undefined index: buddy_name_a
Logged

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Some features not working when bridged
« Reply #5 on: April 20, 2007, 09:45:27 pm »

wow... and a ton of notices... on the gallery main page, dont know what all this means :'( :'( do know the files involved though

Notices
/themes/oranje/theme.php

    * Notice line 611: Use of undefined constant AUTHOR_ID - assumed 'AUTHOR_ID'
    * Notice line 811: Undefined variable: charset

/include/functions.inc.php

    * Notice line 88: Undefined variable: cpg_show_private_album
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 909: Undefined variable: caption2
    * Notice line 1758: Undefined index: system_icon
    * Notice line 1758: Undefined index: system_icon
    * Notice line 1758: Undefined index: system_icon
    * Notice line 1758: Undefined index: system_icon
    * Notice line 1758: Undefined index: system_icon
    * Notice line 1758: Undefined index: system_icon
    * Notice line 1758: Undefined index: system_icon
    * Notice line 1758: Undefined index: system_icon

/index.php

    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon
    * Notice line 771: Undefined index: system_icon

/include/themes.inc.php

    * Notice line 1823: Undefined index: inactive_next_tab
    * Notice line 1824: Undefined index: inactive_prev_tab
Logged

Stramm

  • Moderator
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 6006
    • Bettis Wollwelt
Re: Some features not working when bridged
« Reply #6 on: April 22, 2007, 09:54:52 am »

Ignore notices if they don't mean anything to you

Unfortunately I can't replicate your issue (cause I do not run that forum atm and haven't set up my software in different dbs with different usernames/pwds). Maybe I do at a later time to test things.

In the meanwhile you can remove sorting entirely. In your setup it's only possible to sort by date anyway.
To do that find in buddy_manage.php
Code: [Select]
$sql2 = "ORDER BY ". $sort_codes[$sort] ." LIMIT $lower_limit, $users_per_page;";and replace it with
Code: [Select]
$sql2 = "LIMIT $lower_limit, $users_per_page;";
« Last Edit: April 22, 2007, 07:30:27 pm by Stramm »
Logged

MaverickLal101

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 27
Re: Some features not working when bridged
« Reply #7 on: April 23, 2007, 02:57:17 am »

Ignore notices if they don't mean anything to you

Unfortunately I can't replicate your issue (cause I do not run that forum atm and haven't set up my software in different dbs with different usernames/pwds). Maybe I do at a later time to test things.

In the meanwhile you can remove sorting entirely. In your setup it's only possible to sort by date anyway.
To do that find in buddy_manage.php
Code: [Select]
$sql2 = "ORDER BY ". $sort_codes[$sort] ." LIMIT $lower_limit, $users_per_page;";and replace it with
Code: [Select]
$sql2 = "LIMIT $lower_limit, $users_per_page;";


oh wow, thanks for ur help, it actually works!! :) :) :) :)
brilliant
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 20 queries.