prazim Posted January 19, 2009 Share Posted January 19, 2009 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 Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 19, 2009 Share Posted January 19, 2009 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 Quote 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 More sharing options...
prazim Posted January 19, 2009 Author Share Posted January 19, 2009 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 Quote Link to comment Share on other sites More sharing options...
♥geoffreywalton Posted January 20, 2009 Share Posted January 20, 2009 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. Quote 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 More sharing options...
prazim Posted January 21, 2009 Author Share Posted January 21, 2009 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.