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: Cannot redeclare cpggetuserdata() (previously declared  (Read 5345 times)

0 Members and 1 Guest are viewing this topic.

stobbie

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Cannot redeclare cpggetuserdata() (previously declared
« 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!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: Cannot redeclare cpggetuserdata() (previously declared
« Reply #1 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.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 15 queries.