rawaby88 Posted April 17, 2010 Share Posted April 17, 2010 Hi my website is working good but if i left the browser open on the web for some time and then i refresh i got this massage Error! Unable to determine the page link! i have change navigation history to if ( false === tep_session_is_registered('navigation' ) || ( false === is_object( $navigation ) ) ) { tep_session_register( 'navigation' ); $navigation = new navigationHistory; } $navigation->add_current_page(); and nothing new still the same i know that i can clean the cash for the web browser but i don't think the clients will know about it :'( ruining on PHP 5 my web http://lilu-bielizna.com please help Mode Link to comment Share on other sites More sharing options...
rawaby88 Posted April 20, 2010 Author Share Posted April 20, 2010 any answer ?? :-" Link to comment Share on other sites More sharing options...
rawaby88 Posted April 29, 2010 Author Share Posted April 29, 2010 com'n people :S Link to comment Share on other sites More sharing options...
MrPhil Posted April 29, 2010 Share Posted April 29, 2010 Did you make the correct fix in application_top.php for the navigation problem? Read http://www.oscommerce.com/forums/index.php?showtopic=346007 http://www.oscommerce.com/forums/index.php?showtopic=168369 http://www.oscommerce.com/forums/topic/168369-call-to-member-function-or-a-non-object/page__st__20 and make sure you got the proper fix. Were you getting the navigation history bug in application_top? Is that why you changed the code? Did this problem start happening after the code change, or before, with a change to PHP 5? Link to comment Share on other sites More sharing options...
rawaby88 Posted April 29, 2010 Author Share Posted April 29, 2010 Did you make the correct fix in application_top.php for the navigation problem? Read http://www.oscommerce.com/forums/index.php?showtopic=346007 http://www.oscommerce.com/forums/index.php?showtopic=168369 http://www.oscommerce.com/forums/topic/168369-call-to-member-function-or-a-non-object/page__st__20 and make sure you got the proper fix. Were you getting the navigation history bug in application_top? Is that why you changed the code? Did this problem start happening after the code change, or before, with a change to PHP 5? thx for answer i hused this code // navigation history if (tep_session_is_registered('navigation')) { if (PHP_VERSION < 4) { $broken_navigation = $navigation; $navigation = new navigationHistory; $navigation->unserialize($broken_navigation); } elseif (!is_object($navigation)) { $navigation = new navigationHistory; } } else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page(); but it didn't help about PHP i have all the time PHP5 and the problem is if i left the page open for 5 min then i refresh i got this error Error! Unable to determine the page link! here is the photo have a good day Mode Link to comment Share on other sites More sharing options...
MrPhil Posted April 29, 2010 Share Posted April 29, 2010 The "navigation history" fix, while necessary, was for an error reporting that a member function is being called for a non-object, in application_top.php. The problem you're reporting doesn't sound like it's the same problem. This error message is coming from tep_href_link() being passed a null object pointer in includes/functions/html_output.php. Now, who is calling tep_href_link() with a bad first parameter is difficult to tell -- it's called in many places. And why it would be time-dependent is beyond me. I tried reproducing your problem, and couldn't get the error. Perhaps someone else will have some ideas? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.