ondago42 Posted May 6, 2009 Posted May 6, 2009 I changed the text on my main page and since I do not know coding, I messed it up. Now when I try to view my shopping cart online, I get this error. Please help. Would someone be willing to send me the coding they have on their main pages so I could use that to fix my problem so I can edit from there? Fatal error: Call to a member function add_current_page() on a non-object in /home1/tripplex/public_html/shoppingcart/includes/application_top.php on line 312
spooks Posted May 6, 2009 Posted May 6, 2009 common error, clear your browser cache & reload Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al.
ondago42 Posted May 6, 2009 Author Posted May 6, 2009 I tried to clear my cache but am still receiving the error message... Fatal error: Call to a member function add_current_page() on a non-object in /home1/tripplex/public_html/shoppingcart/includes/application_top.php on line 312 Any ideas?
masat Posted May 6, 2009 Posted May 6, 2009 I recently had this problem also. the trouble surfaced after moving to a server running php5 and it seemed to be intermittent. I think this may have been the resolve, and I'm sorry but I can't recall where I discovered the information but it was probably on the php.net site. In catalog/includes/application_top.php around line 302-303 find // navigation history if (tep_session_is_registered('navigation')) { comment line 2 and paste in with the following: if (tep_session_is_registered('navigation') && is_object($navigation)) { evidently it is an object thing with php5 How do you know when you know what you want to do for the rest of your life?
germ Posted May 6, 2009 Posted May 6, 2009 Look at the links in my posts here: Click Me If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you. "Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice." - Me - "Headers already sent" - The definitive help "Cannot redeclare ..." - How to find/fix it SSL Implementation Help Like this post? "Like" it again over there >
Recommended Posts
Archived
This topic is now archived and is closed to further replies.