Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Site Crashed


Guest

Recommended Posts

Well, everything was going perfectly on all of my newly installed and Added Information Box pages. I added several pages to my Information Box from the generic Privacy.php page as I recently learned how to do from the fine members in this forum. The links and pages worked perfect. However, when I added some text copy and HTML code to one of the pages that it didn't like I got the following fatal error messages:

 

Fatal error: Call to a member function add_current_page() on a non-object in /home/jamskate/public_html/includes/application_top.php on line 312

 

Now my site is totally gone. Wiped out! So, what the @#$% happened and how do I get my site back? Or can I get it back? I restored all of the original generic entries out of the privacy.php page that I used and saved it. Still nothing comes back up.

 

Help!!!!!!!! :(

 

Thank you,

Link to comment
Share on other sites

Well, everything was going perfectly on all of my newly installed and Added Information Box pages. I added several pages to my Information Box from the generic Privacy.php page as I recently learned how to do from the fine members in this forum. The links and pages worked perfect. However, when I added some text copy and HTML code to one of the pages that it didn't like I got the following fatal error messages:

 

Fatal error: Call to a member function add_current_page() on a non-object in /home/jamskate/public_html/includes/application_top.php on line 312

 

Now my site is totally gone. Wiped out! So, what the @#$% happened and how do I get my site back? Or can I get it back? I restored all of the original generic entries out of the privacy.php page that I used and saved it. Still nothing comes back up.

 

Help!!!!!!!! :(

 

Thank you,

without knowing the text and "code", it could be anything.

Link to comment
Share on other sites

About line 128 (catalog/includes/application_top.php) you should have a line including the navigation class ..

// include navigation history class
 require(DIR_WS_CLASSES . 'navigation_history.php');

 

Somehow you have managed to remove it or the navigation class is not being instantiated.

 

You cannot call the method add_current_page() ..

 

  $navigation->add_current_page();

 

Unless the class is present and instantiated.

Link to comment
Share on other sites

Maybe some solace 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 >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...