Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing privacy policy & conditions


Guest

Recommended Posts

Posted

Help!

 

I attempted to change just the text of the privacy.php and conditions.php in includes\languages. I did not save/rename the older files. Now I get the error: Fatal error: Call to a member function add_current_page() on a non-object in /data/16/1/41/63/1530063/user/1646917/htdocs/candlewithlove/includes/application_top.php on line 320

 

Here is th code: // navigation history

if (tep_session_is_registered('navigation')) {

if (PHP_VERSION < 4) {

$broken_navigation = $navigation;

$navigation = new navigationHistory;

$navigation->unserialize($broken_navigation);

}

} else {

tep_session_register('navigation');

$navigation = new navigationHistory;

}

$navigation->add_current_page();

I have no idea how to correct. I tried to remove the text and restore original text. However, I am still receiving the error.

Posted

Help!

 

I attempted to change just the text of the privacy.php and conditions.php in includes\languages. I did not save/rename the older files. Now I get the error: Fatal error: Call to a member function add_current_page() on a non-object in /data/16/1/41/63/1530063/user/1646917/htdocs/candlewithlove/includes/application_top.php on line 320

 

Here is th code: // navigation history

if (tep_session_is_registered('navigation')) {

if (PHP_VERSION < 4) {

$broken_navigation = $navigation;

$navigation = new navigationHistory;

$navigation->unserialize($broken_navigation);

}

} else {

tep_session_register('navigation');

$navigation = new navigationHistory;

}

$navigation->add_current_page();

I have no idea how to correct. I tried to remove the text and restore original text. However, I am still receiving the error.

 

I'm afraid I can't help with the code, but you could try downloading osc again and then uploading those php files to overwrite what you changed. If you haven't made any previous changes to the file then that should work okay. Then try again but, as always advised before making any file changes, make sure that you make a back up of your store first, so if it goes wrong again you can restore your store. :)

Posted

James,

 

The application top error comes up from time to time while code edits are being made. Try deleting temp page and cookies from your browser and open the site again.

 

Or, wait till your server refreshes and then go back in.

 

 

 

Chris

Archived

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

×
×
  • Create New...