4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: Captain on August 22, 2002, 09:07:11 AM

Title: Fatal error: Cannot redeclare class session ......!
Post by: Captain on August 22, 2002, 09:07:11 AM
Hello Evryone

I insatlled 4images but I cant enter Admin becouse this messeges

Fatal error: Cannot redeclare class session in /home/Captain/public_html/4images/includes/sessions.php on line 25


Please Help me
Title: Fatal error: Cannot redeclare class session ......!
Post by: Jan on August 22, 2002, 09:21:57 AM
Did you updated from earlier versions? Maybe you have'nt replaced all files.

Jan
Title: Fatal error: Cannot redeclare class session ......!
Post by: mhosang on October 08, 2002, 08:32:08 PM
Hi

I have had the same problem!

I installed it on a clean server and get the cannot redeclare session message...

The problem is, that some gd-libs already use the class session...

A simple workaround for this problem is:
Open the file /includes/sessions.php

Replace all "Session" terms with "sSession" ... or something other like "4imagesSession"

This should solve your problem :-)