URL:
http://www.thsee.org/gallery http://www.thsee.org/forumscoppermine 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.
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:
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:
/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:
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:
/*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:
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