Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

need help with fatal error message


Guest

Recommended Posts

Posted

The following message comes up when I try to pull up my site in safari. I changed a few items in the index.php file, but mainly just text. I tried to restore the database and am still getting the message below:

 

Fatal error: Call to a member function add_current_page() on a non-object in /data/18/1/112/77/1601077/user/1725236/htdocs/catalog/includes/application_top.php on line 312

 

Thanks for any help you can give!

summercrab

Posted

Thanks!

 

That seemed to do the trick, but now I'm getting kicked back to a syntax error on line 13 of index.php.

 

What am I missing in the code?

 

define('TEXT_MAIN' 'Welcome to Summer Crab!! <br>For those of you wondering, Summer Crab is the name that some Bahamians have for Spiny Lobster caught in the off-season. During a trip to the Bahamas, our founders decided that they wanted to bring the scents and spirit of the Islands back with them. We are not condoning the harvesting of Spiny Lobster illegally by choosing the name Summer Crab, but thought it was a name that captures the spirit of the Islands and especially the Bahamas for us.<b>We will be donating a portion of our proceeds to the Ministry of Agriculture and Marine Resources in the Bahamas to show our support for responsible Spiny Lobster fisheries.</b><br><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES . 'default/1.gif')'</td><td class="main" valign="top"><b>Bath Products</b><br><br>Our bath products are made from the highest quality essential oils and fragrances available. The Body Bars have a luxurious lather and leave you with a clean feeling with no residue. Don't miss our Tropical Beverage Fragrance Line which will debut soon!!!<br><br>The same goes for our shampoos and body gels that we are currently developing.<br><br>We also offer a wide selection of Body Creams, Butters, Lotions, and Lip Balms in Island Inspired Fragrances.</td></tr><td class="main" valign="top">' tep_image(DIR_WS_IMAGES . 'default/2.gif') '</td><td class="main" valign="top"><b>Apparel</b><br><br>We are pleased to introduce our Island Inspired line of UPF clothing!<br><br>For the ultimate in skin protection from intense UV rays, try our ever expanding product line, starting with our Bootle Bay Long Sleeve T!!!<br>;

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'Let\'s See What We Have Here');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 \'');

define('TEXT_NOW', '\' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What\'s New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Posted

this is often just a cache issue, clear that & error gone, the navigation history error is slightly different.

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.

Archived

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

×
×
  • Create New...