jewelrytrends Posted August 20, 2005 Share Posted August 20, 2005 I Installed and Unstalled ccvg however now I have suddenly errors in my admin Fatal error: Call to undefined function: tep_redirect() in /home/jewelryt/public_html/admin/categories.php Above error happens when I try to change or upload new product, however after checking around I found that I have this error in several admin area's the only things that changes is the file, like this one Fatal error: Call to undefined function: tep_redirect() in /home/jewelryt/public_html/admin/js_infobox_manager.php on line 71 Can somebody, pleeeeaaaaaaaaase help me to fix this? Denice PS Something went wrong with my back-up so I had to unstall the ccvg manually, I triple checked all the files and I think I got all the changes out of there. However I didn't deleted the sql file from ccvg contrib, I know how to get it into the sql but I don't know how to get it out. Link to comment Share on other sites More sharing options...
Jan Zonjee Posted August 20, 2005 Share Posted August 20, 2005 Fatal error: Call to undefined function: tep_redirect() This function is found in admin/includes/functions/general.php. This file is included by includes/application_top.php. It looks like either the code is messed up in general.php or the file is not included by application_top.php, or application_top.php is not included (not likely). function tep_redirect($url) { global $logger; header('Location: ' . $url); if (STORE_PAGE_PARSE_TIME == 'true') { if (!is_object($logger)) $logger = new logger; $logger->timer_stop(); } exit; } Link to comment Share on other sites More sharing options...
jewelrytrends Posted August 20, 2005 Author Share Posted August 20, 2005 This function is found in admin/includes/functions/general.php. This file is included by includes/application_top.php. It looks like either the code is messed up in general.php or the file is not included by application_top.php, or application_top.php is not included (not likely). function tep_redirect($url) { global $logger; header('Location: ' . $url); if (STORE_PAGE_PARSE_TIME == 'true') { if (!is_object($logger)) $logger = new logger; $logger->timer_stop(); } exit; } <{POST_SNAPBACK}> That did the trick, Thanks (wat een nachtmerrie die php) Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.