forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: aravot on January 04, 2007, 07:03:03 pm

Title: CpmFetch 1.9.5 - Undefined offset error during install
Post by: aravot on January 04, 2007, 07:03:03 pm
Database Version: 4.1.14-Debian_5-log
PHP Version: 5.1.2
Web Server: Apache/1.3.37

Coppermine 1.4.10 http://www.armenianrugby.org/cpg1410
CpmFetch 1.9.5 dev http://www.armenianrugby.org/cpg1410/cpmfetch/install.php

Directory structure:
domain.com (domain.com/cpg/cpgfetch)
      |_cpg
           |_cpmfetch

Coppermine is installed and functioning properly, uploaded CpmFtech 1.9.5 ran install.php got following error.

Quote
Notice: Undefined offset: 0 in /home/domain.com/cpg1410/cpmfetch/cpmfetch_dao.php on line 903

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/domain.com/cpg1410/cpmfetch/cpmfetch_dao.php on line 903

On the same domain CpmFetch 1.6.4 works OK http://www.armenianrugby.org/cpg1410/cpmfetch6/cftest.php

Thanks.

Title: Re: CpmFetch 1.9.5 - Undefined offset error during install
Post by: vuud on January 07, 2007, 07:47:51 am
Database Version: 4.1.14-Debian_5-log
PHP Version: 5.1.2
Web Server: Apache/1.3.37

Coppermine 1.4.10 http://www.armenianrugby.org/cpg1410
CpmFetch 1.9.5 dev http://www.armenianrugby.org/cpg1410/cpmfetch/install.php

Directory structure:
domain.com (domain.com/cpg/cpgfetch)
      |_cpg
           |_cpmfetch

Coppermine is installed and functioning properly, uploaded CpmFtech 1.9.5 ran install.php got following error.

On the same domain CpmFetch 1.6.4 works OK http://www.armenianrugby.org/cpg1410/cpmfetch6/cftest.php

Thanks.


1.9.6 is out and may resolve this - but I thought we took care of this

http://cpmfetch.fistfullofcode.com/projects/copperminefetch/downloads.php

Title: Re: CpmFetch 1.9.5 - Undefined offset error during install
Post by: aravot on January 07, 2007, 09:09:31 am
1.9.6 is out and may resolve this - but I thought we took care of this

1.9.6 fixed my issue (is this version compatible with SMF bridge)
Title: Re: CpmFetch 1.9.5 - Undefined offset error during install
Post by: vuud on January 07, 2007, 03:09:54 pm
1.9.6 fixed my issue (is this version compatible with SMF bridge)

Open the config file (cpmfetch_config.php) and near the top change:

Code: [Select]
//  $cfg['cfBridgedTo'] = 'false';
to

Code: [Select]
$cfg['cfBridgedTo'] = 'smf';

The SMF specific code is not in, but anything beside false will use the generic bridging code (user data not available to titles and stuff).

Otherwise should work fine.

The bridge will be called smf when I put that in...