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: phpbb3 coppermine 1.4.19  (Read 3929 times)

0 Members and 1 Guest are viewing this topic.

0_00_0

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
phpbb3 coppermine 1.4.19
« on: February 19, 2010, 05:47:31 pm »

URL: http://www.thsee.org/gallery
       http://www.thsee.org/forums

coppermine version: 1.4.19

I thought I successfully bridged phpbb3 to coppermine but now that I try and upload a file its not working.  I enabled show debug messages and here's what I got.
Code: [Select]
Notices
/bridge/udb_base.inc.php

    * Notice line 149: Undefined property: cpg_udb::$multigroups

/upload.php

    * Notice line 1975: Undefined variable: escrow_array
    * Notice line 1976: Undefined variable: file_failure_array
    * Notice line 1977: Undefined variable: URI_failure_array
    * Notice line 1978: Undefined variable: zip_failure_array

Anyways if you need more information please let me know I'm going to keep trying things.  I googled and forum searched the error but got no results.  What did I do wrong here?  Here are my bridge settings:
Code: [Select]
Your bridge settings
Forum URL: http://www.thsee.org/forums
Relative path to your BBS's config file: ../forums/
Use post-based groups?: 0
Cookie prefix: phpbb3_mkbdf
Enable integration/bridging with phpBB version 3 enable


Here are some notices I get at the bridgemgr screen:
Code: [Select]
/bridgemgr.php

    * Notice line 560: Undefined index: step
    * Notice line 184: Undefined index: bridge_enable
       ...a lot more
/bridge/phpbb3.inc.php

    * Notice line 44: Constant USE_BRIDGEMGR already defined

admin config image settings:
Code: [Select]
Max width or height of an intermediate picture/video **   400  
Max size for uploaded files (KB)                     5000
Max width or height for uploaded pictures/videos (pixels)  6000

I'm really stumped if you could give me a couple pointers or if you need more information let me know.  I've also noticed that the mods/admins generally tell the user to turn off debug info but I'll do that once the problem is fixed.  I have enough background programming experience for it to point me in the right direction but It would be tedious to step through the hundreds of lines of code to find this.  If there is a quick fix (hopefully) with a nice copyPasta solution maybe that group wasn't initialized properly or something I would really appreciate it.

ok I got rid of the first error with an ugly fix but I still can't upload pictures.  The pictures I want to upload are ~2-3mb in size I hope this is possible with coppermine.  Here is the ugly fix in udb_base.inc.php on line 149:
Code: [Select]
/*if  ($this->multigroups){
                        $USER_DATA['groups'] = $this->get_groups($row);
                } else {*/
                        $USER_DATA['groups'] = $this->get_groups($row);
if ($this->use_post_based_groups){
                                $USER_DATA['groups'] = array(0 => $row['group_id']);
                        } else {
                                $USER_DATA['groups'] = array(0 => (in_array($row['group_id'] - 100, $this->admingroups)) ? 1 : 2);
                        }
//}

here are my new errors from uploading:
Code: [Select]
Notices
/upload.php

    * Notice line 1975: Undefined variable: escrow_array
    * Notice line 1976: Undefined variable: file_failure_array
    * Notice line 1977: Undefined variable: URI_failure_array
    * Notice line 1978: Undefined variable: zip_failure_array
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: phpbb3 coppermine 1.4.19
« Reply #1 on: February 19, 2010, 06:31:44 pm »

Running cpg1.4.19 is not an option - most recent stable release currently is cpg1.4.26.

If you have upload issues you should do exactly as suggested in the docs, section "asking for support on upload issues".

If notices_output bothers you, turn that off in coppermine's config. If you're not a developer you shouldn't have turned that option on in the first place.
Logged
Pages: [1]   Go Up
 

Page created in 0.019 seconds with 19 queries.