Including Header & Footer brings up "Cannot redeclare cpggetmicrotime()" - Page 2 Including Header & Footer brings up "Cannot redeclare cpggetmicrotime()" - Page 2
 

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]

Main Menu

Including Header & Footer brings up "Cannot redeclare cpggetmicrotime()"

Started by Steffi, July 22, 2007, 04:14:41 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Steffi

Sorry, I did not copy, but type the _db.inc which is of course wrong.

It´s the following includes (which I gave you)

  • _klappmenu.php -> /_include/_klappmenulinks.php
  • _db.inc -> /_include/db/inc.php (the one I typed wrong above the code)

About the session_start():
When you logg into my cms over (hidden) admin pages, then there is another include with the session_start().
But that one doesn´t matter, when you are not authorized. If you look at _verwaltung/top.php you can see that it does not and also should not work, if there´s no login Session.

All the Code I gave you, is the state when you are not logged in, which is right for Coppermine. I don´t want to "merge" these two systems.