Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Wishlist Glitch


prazim

Recommended Posts

Hi Nic!

Thanks so much for updating wishlist! I have installed it but am getting an error when I now try to access the My Account link and have no idea why. This is the error:

 

Fatal error: Cannot redeclare _sess_open() (previously declared in */catalog/includes/functions/sessions.php:23) in */catalog/includes/functions/sessions.php on line 23

 

These are lines 23-25 in sessions.php:

function _sess_open($save_path, $session_name) {

return true;

}

 

How do I fix this?

 

Many thanks!

sue

Link to comment
Share on other sites

THe problem is that you have 2 bits of code called sess_open on your site.

 

THe question is where is the other one.

 

You could try /includes/functions/general.php or wishlist.php

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

I have searched and the only file containing sess_open is sessions.php....can I modify sessions.php to fix this problem?

Thanks,

sue

 

THe problem is that you have 2 bits of code called sess_open on your site.

 

THe question is where is the other one.

 

You could try /includes/functions/general.php or wishlist.php

Link to comment
Share on other sites

It is there somewhere, try commenting it out of /includes/functions/sessions.php.

 

That will get rid of one copy, the problem is if another script needs it and is not loading the other copy of the code from its' mystery location.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Link to comment
Share on other sites

I did, and it created another error lower in the code. I am wondering if Wishlist is opening a session without using that code that is creating the problem, but didn't see anything that jumped out of me. I did use a tool to search all of the key files and the sess_open was not found.

 

It is there somewhere, try commenting it out of /includes/functions/sessions.php.

 

That will get rid of one copy, the problem is if another script needs it and is not loading the other copy of the code from its' mystery location.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...