Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Cannot redeclare _sess_open()...


Guest

Recommended Posts

I'm getting this error in certain categories/sub categories only:

 

Fatal error: Cannot redeclare _sess_open() (previously declared in /home/bellafav/public_html/store/includes/functions/sessions.php:23) in /home/bellafav/public_html/store/includes/functions/sessions.php on line 23

 

I haven't a clue as to what to look at to fix this :(

Link to comment
Share on other sites

That's because it is being re-read the file "sessions.php".

 

Change all "require" by "require_once" (Requiring only once), so if you try to read again he was not permitted.

 

NOTE: just do it with the required callers to sessions.php

 

BACKUP first ...BACKUP first ..BACKUP first ..BACKUP first ..BACKUP first ..BACKUP first ..BACKUP first ..

DJS

Link to comment
Share on other sites

That's because it is being re-read the file "sessions.php".

 

Change all "require" by "require_once" (Requiring only once), so if you try to read again he was not permitted.

 

NOTE: just do it with the required callers to sessions.php

 

BACKUP first ...BACKUP first ..BACKUP first ..BACKUP first ..BACKUP first ..BACKUP first ..BACKUP first ..

 

thanks very much dakshika!

Link to comment
Share on other sites

  • 1 year later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...