Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Attempting to Add New Pages


weaverlizzie

Recommended Posts

Posted

I am attempting to add new pages to be displayed through the information box in the left column. I have created the pages in catalog/includes/languages/english. I then added them to includes/boxes/information.php and includes/filenames.php. I am receiving the following Fatal Error:

 

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

 

This leads to the line $navigation->add_current_page();.

 

Help!!

 

Julie

Posted

Julie,

 

Did you add the page to the root [catalog] directory ?

 

Use shipping.php as a template and change any occurrence of shipping to your filename

 

 

ie: require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_SHIPPING);

 

would be require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_YOURFILENAME);

 

 

 

 

Chris

Archived

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

×
×
  • Create New...