coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Permissions & Access Rights => Topic started by: stobbie on December 12, 2004, 06:31:50 PM

Title: Cannot redeclare cpggetuserdata() (previously declared
Post by: stobbie on December 12, 2004, 06:31:50 PM
Hi,

When I try to change the permissions for an album I get the following error:

Fatal error: Cannot redeclare cpggetuserdata() (previously declared in c:\phpdev\www\kbt\include\init.inc.php:44) in c:\phpdev\www\kbt\include\init.inc.php on line 44

I'm using coppermine integrated in Oscommerce, and I don't know too much about php so any help would be appreciated!
Title: Re: Cannot redeclare cpggetuserdata() (previously declared
Post by: kegobeer on December 12, 2004, 09:49:05 PM
init.inc.php should only be included once during page generation.  It looks like two of your files are including init.inc.php.  You need to find where the second include is happening.  Probably related to your oscommerce integration.