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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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.