yzfrocket Posted March 20, 2006 Posted March 20, 2006 I recently solved one problem which developed a new problem. My original problem was in my cart losing its contents upon checkout. I corrected this by modifying configure.php to redirect to ssl. After changing this, it seemed to work. This was this afternoon. Tonight I tried to checkout again and I'm getting this error. Fatal error: Call to undefined function: tep_redirect() in C:\Accounts\rmcperfo\wwwRoot\products\includes\application_top.php on line 360 My application_top file reads as follows. tep_redirect(tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $HTTP_GET_VARS['pid'])); } else { $cart->add_cart($HTTP_GET_VARS['pid'], $cart->get_quantity($HTTP_GET_VARS['pid'])+1); } } tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters))); break; } } // include the who's online functions require(DIR_WS_FUNCTIONS . 'whos_online.php'); tep_update_whos_online(); Any ideas would be appreciated. Thanks
Guest Posted March 20, 2006 Posted March 20, 2006 You need to move your new code to *below* the call to general.php in the same file :) Matti
yzfrocket Posted March 21, 2006 Author Posted March 21, 2006 You need to move your new code to *below* the call to general.php in the same file :) Matti Matti, Thanks for the info. I am new to this and was hoping to get more detail from you. When you say to move the new code to *below* the call to general.php in the same file, which file are you referring to? And, by new code, you mean the code I modified to redirect to ssl? Thanks again, Rich
Recommended Posts
Archived
This topic is now archived and is closed to further replies.