vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Coppermine 1.4.2 intgration to vB3.x.x (https://vborg.vbsupport.ru/showthread.php?t=101995)

Vitz 06-21-2006 03:31 PM

I'm getting an odd error when I try to enable BBS Integration: Fatal error: Cannot redeclare class core_udb in /home/.aurora/elusiveworks/elusive-works.co.uk/forums/coppermine/bridge/udb_base.inc.php on line 22

Does anyone know of a fix for this? Or did I just do something stupid by installing Coppermine 1.4.8 instead of 1.4.2, and this mod got outdated that way?

Pedro! 06-25-2006 01:44 PM

Great job on the bridge but I'm experiancing the same problem as some other people with gallery permissions (in usermode).

This is the error:

Quote:

Originally Posted by Coppermine
Sorry there is no album where you are allowed to upload files

This is the detail:

Quote:

Originally Posted by Coppermine
File: /home/i/s/isketchforum/public_html/gallery/upload.php - Line: 874

And this is the debug info

Code:

USER:
------------------
Array
(
    [ID] => **********************
    [am] => 0
    [lang] => english
    [theme] => mac_ox_x
)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 3
    [user_name] => Petay
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 0
    [ufc_min] => 0
    [custom_user_upload] => 0
    [num_file_upload] => 1
    [num_URI_upload] => 0
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 0
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg148_filetypes; (0.001s)
    [1] => select * from cpg148_plugins order by priority asc; (0s)
    [2] => SELECT * FROM cpg148_bridge (0s)
    [3] => SELECT u.userid, u.password, u.usergroupid+100 AS usergroupid FROM `isketchforum`.vBuser AS u, `isketchforum`.vBsession AS s WHERE s.userid=u.userid AND s.sessionhash='********************' (0.001s)
    [4] => SELECT u.userid AS id, u.username AS username, u.password AS password, u.usergroupid+100 AS group_id FROM `isketchforum`.vBuser AS u INNER JOIN `isketchforum`.vBusergroup AS g ON u.usergroupid=g.usergroupid WHERE u.userid='3' (0.001s)
    [5] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg148_usergroups WHERE group_id in (1) (0.001s)
    [6] => SELECT group_name FROM  cpg148_usergroups WHERE group_id= 1 (0s)
    [7] => SELECT user_favpics FROM cpg148_favpics WHERE user_id = 3 (0s)
    [8] => DELETE FROM cpg148_banned WHERE expiry < '2006-06-25 14:36:04' (0s)
    [9] => SELECT * FROM cpg148_banned WHERE (ip_addr='81.151.219.20' OR ip_addr='81.151.219.20' OR user_id=3) AND brute_force=0 (0s)
    [10] => SELECT aid, title FROM cpg148_albums WHERE category < 10000 AND uploads='YES' AND (visibility = '0' OR visibility IN (1)) ORDER BY title (0.001s)
    [11] => SELECT aid, title FROM cpg148_albums WHERE category='10003' ORDER BY title (0s)
)

==========================
GET :
------------------
Array
(
)

==========================
POST :
------------------
Array
(
)

==========================
Page generated in 0.084 seconds - 12 queries in 0.005 seconds - Album set : ; Meta set: ;

The odd thing is line 874 of upload.php is just a comment.

This is an extract of the PHP code starting with line 870 and finishing on line 877:
PHP Code:

// Create the upload forms using the upload congfiguration.

if (!isset($_REQUEST['control'])) {

    
// Do some cleanup in the edit directory.
    
spring_cleaning('./'.$CONFIG['fullpath'].'edit',CPG_HOUR);

    
// Do some cleaning in the temp data table. 

Line 873 looks like it might be something to do with it though :ermm:

ab420 06-28-2006 02:14 PM

I would like to put a link in memberinfo that goes right to the users gallery, is this possible? I noticed at the end of the url for galleries, its the users vBulletin id# +10000, so is there some way to code that into mermberinfo? Also, does anyone know what happens to the url when you get 90,000+ members?

keith455 07-08-2006 04:00 PM

Quote:

Originally Posted by Vitz
I'm getting an odd error when I try to enable BBS Integration: Fatal error: Cannot redeclare class core_udb in /home/.aurora/elusiveworks/elusive-works.co.uk/forums/coppermine/bridge/udb_base.inc.php on line 22

Does anyone know of a fix for this? Or did I just do something stupid by installing Coppermine 1.4.8 instead of 1.4.2, and this mod got outdated that way?

I'm getting the same error.

maximux1 07-09-2006 06:59 PM

Quote:

Originally Posted by keith455
I'm getting the same error.

I've just tested this with vb3.6.0b4 and receive the the same class redeclaration error as other above. However, when investigating what had been accomplished by the bridge I found that everything seems to be working as expected.

I'd be curious if anyone knew what might I might investigate further. Given that the class did seem to perform, Im not exactly sure if any problems exist.

Im on a test board, of course, and would like to try and break this thing before putting it into production environment...any got any suggestions?

gothicuser 07-09-2006 08:15 PM

I have installed Coppermine with vB 3.6.0b4 but used the bridge supplied with the Coppermine 1.4.8 package. It is more up to date and works perfectly on my dev machine in the office, and on my dev site.

keith455 07-09-2006 11:02 PM

I fixed this by going with Gallery2. I like how it's more intergrated anyway instead of a standalone looking gallery.

FamilyCorner 08-23-2006 09:02 PM

Quote:

Originally Posted by keith455
I fixed this by going with Gallery2. I like how it's more intergrated anyway instead of a standalone looking gallery.


Can you elaborate on this? I ave installed G2 and can't seem to integrate it the way I would like which is why I am now looking at Coppermine. Do you have a link to your site to show how you have it integrated with your boards. I don't want just the look and feel, I want the images to be available within the forums, not outside of them.

Thanks!

keith455 08-24-2006 12:29 AM

My site it www.riverviewforums.com choose the gallery link at the top.. It's not fully intergrated but it has the look and feel of VBulletin.. I'd like to have it when you look at someone profile you see their pictures, but that's another day's work.

oldfan 09-18-2006 01:27 AM

I'll shoot someone $20 (paypal) if they can intergrate my header/footer
my site http://www.metallifukinca.com/

thanks


All times are GMT. The time now is 04:01 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01287 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete