tkm Posted May 17, 2003 Posted May 17, 2003 Developing on local machine I get the following error when trying to log in Fatal error: Call to undefined function: tep_redirect() in c:apachehtdocscataloglogin.php on line 54 I also get similar redirect errors when trying to buy items. I'm not going to be using ssl. Any ideas?
♥olby Posted May 18, 2003 Posted May 18, 2003 Hi tkm. This function is declared in includes/functions/general.php and looks like this: //// // Redirect to another page or site function tep_redirect($url) { if ( (ENABLE_SSL == true) && (getenv('HTTPS') == 'on') ) { // We are loading an SSL page if (substr($url, 0, strlen(HTTP_SERVER)) == HTTP_SERVER) { // NONSSL url $url = HTTPS_SERVER . substr($url, strlen(HTTP_SERVER)); // Change it to SSL } } header('Location: ' . $url); tep_exit(); } HTH Best Regards olby
Recommended Posts
Archived
This topic is now archived and is closed to further replies.