Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

fatal error. Please help!!


Guest

Recommended Posts

I have tried to install a contribution onto my oscommerce site. The users end of the site still works fine (although there is no sign of the contribution working) however the admin part of the site opens to the message:-

 

 

 

Fatal error: Call to undefined function: tep_get_languages() in /web/osc/admin/index.php on line 58

 

 

 

I have reversed the changes that were made in the course of the upgrade but this ha not solved the problem.

 

All suggestions on how I should proceed will be gratefully received.

Link to comment
Share on other sites

It sounds like the admin/includes/functions/general.php file was modified and the tep_get_languages() function was removed and/or commented out.

 

Either that or the admin/includes/application_top.php file was modified and is no longer loading the admin/includes/functions/general.php file.

 

It could be other things but those are the first things that I would check.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Link to comment
Share on other sites

It sounds like the admin/includes/functions/general.php file was modified and the tep_get_languages() function was removed and/or commented out.

 

Either that or the admin/includes/application_top.php file was modified and is no longer loading the admin/includes/functions/general.php file.

 

It could be other things but those are the first things that I would check.

 

 

Thanks Jim,

 

You put me on the right track. In the end I copied the entire admin directory from a previos backup... it seems to have done the trick!!

 

Best regards#

 

Steve

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...