Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Error Help


andycatax

Recommended Posts

Posted

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

Posted

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

Posted

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.

Archived

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

×
×
  • Create New...