kendopt Posted April 27, 2009 Posted April 27, 2009 Hi i was trying to add a new page linking from the iformation box and now i get this error when i try to open the index: Fatal error: Call to a member function add_current_page() on a non-object in /htdocs/public/www/includes/application_top.php on line 312 What could have i done? What I did was finding all php files where "privacy" was writen to see how the documents linked and added my link and my page. then i searched all files again for "mylink/myfile" and removed it. oh and btw I didn't touch the application_top.php.... Pls save me. I can't afford having to do everything from scratch again. Edit: I commented this part and it works fine: /* else { tep_session_register('navigation'); $navigation = new navigationHistory; } $navigation->add_current_page();*/ is it bad if this is commented?
web-project Posted April 27, 2009 Posted April 27, 2009 do the search on this forum and you will find the solution & code how to fix your issue. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
jonelin Posted April 29, 2009 Posted April 29, 2009 i'm having the same problem. the only file i had messed with was product_info.php and popup_image.php. everything was fine until i made a change to the product_info page and uploaded. all i did was remove the product review button and it all went haywire! i put the original product_info page back up, but it didn't fix anything. i did do a search and couldn't find anything! help please?
germ Posted April 29, 2009 Posted April 29, 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 >
jonelin Posted April 29, 2009 Posted April 29, 2009 thanks! i kept searching and found out it was a browser cache problem and fixed it. i feel SOOO STOOPID! though this seems like a really stupid error to happen in the first place. minor heart attack aside, i'm back on track! :blush:
kendopt Posted April 29, 2009 Author Posted April 29, 2009 tks for the help. after I cleaned up all the mess I did, I still had the error. but I t was some kind of cache, cookie or some server delay problem, because later, i've checked the file once again and it was just fine. this post will work for "further notice" again tks for youur help
Recommended Posts
Archived
This topic is now archived and is closed to further replies.