Some features not working when bridged Some features not working when bridged
 

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

Main Menu

Some features not working when bridged

Started by MaverickLal101, April 19, 2007, 07:51:55 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MaverickLal101

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.

Stramm

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

Quote from: Stramm 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

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

Stramm

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

Quote from: Stramm 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)

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

MaverickLal101

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

Stramm

#6
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
$sql2 = "ORDER BY ". $sort_codes[$sort] ." LIMIT $lower_limit, $users_per_page;";
and replace it with
$sql2 = "LIMIT $lower_limit, $users_per_page;";


MaverickLal101

Quote from: Stramm 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
$sql2 = "ORDER BY ". $sort_codes[$sort] ." LIMIT $lower_limit, $users_per_page;";
and replace it with
$sql2 = "LIMIT $lower_limit, $users_per_page;";



oh wow, thanks for ur help, it actually works!! :) :) :) :)
brilliant