Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Fatal error: Call to undefined function ???


grunionfab

Recommended Posts

Posted

I can not figure out why I am getting this error when I hit the buy now button!!! I dont even know when it started happening but I am going to crazy, someone please help.

 

Fatal error: Call to undefined function: tep_redirect() in /home/grunionf/public_html/catalog/includes/application_top.php on line 359

 

 

catalog/includes/application_top.php

// performed by the 'buy now' button in product listings and review page

case 'buy_now' : if (isset($HTTP_GET_VARS['products_id'])) {

if (tep_has_product_attributes($HTTP_GET_VARS['products_id'])) {

tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['products_id']));

} else {

$cart->add_cart($HTTP_GET_VARS['products_id'], $cart->get_quantity($HTTP_GET_VARS['products_id'])+1);

}

}

Line 359 tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters)));

break;

Archived

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

×
×
  • Create New...