hose30 Posted February 12, 2009 Share Posted February 12, 2009 Hi, I have been told to ask here by my host, basically for the last 2 weeks I have had the following error on most of my oscommerce pages apart from my oscommerce home page: 500m Internal Server Error It will access the home page fine but whenever you try to access any other page it brings up the 500 Internal Server Error Page. My file permissions are correct. I get the error Quote: [Thu Feb 12 09:25:06 2009] [error] [client 212.219.207.42] PHP Fatal error: Call to a member function add_current_page() on a non-object in /home/hose30/public_html/shoppingcart/catalog/includes/application_top.php on line 335, referer: http://images.google.co.uk/imgres?im...6safe%3Dstrict In my error log after someone has tried to access the page. I had not edited any files or things before this happened as far as I am aware. Where the copyright notice normally is at the bottom, I also have, Error! Unable to determine page link! Thank you in advance!! Link to comment Share on other sites More sharing options...
Jan Zonjee Posted February 12, 2009 Share Posted February 12, 2009 I get the error Quote: [Thu Feb 12 09:25:06 2009] [error] [client 212.219.207.42] PHP Fatal error: Call to a member function add_current_page() on a non-object in /home/hose30/public_html/shoppingcart/catalog/includes/application_top.php on line 335, referer: http://images.google.co.uk/imgres?im...6safe%3Dstrict In my error log after someone has tried to access the page. You could try this fix but this error is only a symptom of having another error in your shop. Sometimes (nobody as far as I know has been able to replicate this error) when an error in the code appears the session is corrupted when it is written to the database. Look for the other error. When you get this error in your browser you either have to delete the cookie (osCsid) of your shop in your browser or close and restart your browser (same effect). Link to comment Share on other sites More sharing options...
hose30 Posted February 13, 2009 Author Share Posted February 13, 2009 Thank you for your response but... I have edited some code in application_top.php which has gotten ride of the 500 internal server error pages and it will now display some of the pages again, however now what I have is a problem when someone tries to log in or on the 'Let's See What We Have Here' pages. After someone has tried logging in I just get a blank page with: Error!Unable to determine page link! And on the 'Let's See What We Have Here' pages it will not display any of the items in a list, they just don't appear. I really hope someone is able to help, thank you in advance!! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.