andycatax Posted March 27, 2007 Posted March 27, 2007 I have been updating files in my oscommerce site and have just seen that i am getting this error i have tried swapping the files back but i am still getting this error can anyone help please Fatal error: Call to undefined function: tep_get_languages() in /public_html/admin/index.php on line 58 Thanks Andy
usernamenone Posted March 28, 2007 Posted March 28, 2007 What does it say on admin/index.php on line 58 that will tell you where to start looking. I have been updating files in my oscommerce site and have just seen that i am getting this error i have tried swapping the files back but i am still getting this error can anyone help please Fatal error: Call to undefined function: tep_get_languages() in /public_html/admin/index.php on line 58 Thanks Andy
vasttech Posted March 28, 2007 Posted March 28, 2007 Sounds like one of the files you were playing with was admin/includes/functions/general.php am I correct? Try there and make sure you have a function called tep_get_languages. If not, then you need to upload the backup you made prior to the changes ;)... If you do then go to the admin/includes/application_top.php file and make sure you have a line, it should be in or around line 70 but could be elsewhere in the file, that says: require(DIR_WS_FUNCTIONS . 'general.php'); If you don't have that line anywhere in the file then add it. Test again. osCommerce Knowledge Base osCommerce Documentation Contributions
Recommended Posts
Archived
This topic is now archived and is closed to further replies.