Author Topic: Fatal error: Cannot redeclare class session ......!  (Read 6616 times)

0 Members and 1 Guest are viewing this topic.

Offline Captain

  • Pre-Newbie
  • Posts: 5
    • View Profile
Fatal error: Cannot redeclare class session ......!
« 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

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Fatal error: Cannot redeclare class session ......!
« Reply #1 on: August 22, 2002, 09:21:57 AM »
Did you updated from earlier versions? Maybe you have'nt replaced all files.

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline mhosang

  • Pre-Newbie
  • Posts: 3
    • View Profile
    • http://www.hosang.net
Fatal error: Cannot redeclare class session ......!
« Reply #2 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 :-)