cravicha Posted June 23, 2017 Share Posted June 23, 2017 I am trying to log into OSCommerce as an admin to do maintenance work. It was working fine and did not make any changes for more than a year. Specs: Hosting by: Godaddy. Version: osCommerce 2.3.3 Login URL:http://writersujatha.com/ecommerce/catalog/admin/login.php Error: Warning: require(/home/content/w/s/u/wsujathahost/html/ecommerce/catalog/includes/classes/action_recorder.php) [function.require]: failed to open stream: No such file or directory in /home/content/06/6521806/html/ecommerce/catalog/admin/includes/classes/action_recorder.php on line 13Fatal error: require() [function.require]: Failed opening required '/home/content/w/s/u/wsujathahost/html/ecommerce/catalog/includes/classes/action_recorder.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/06/6521806/html/ecommerce/catalog/admin/includes/classes/action_recorder.php on line 13 I have ensured that the file ecommerce/catalog/includes/classes/action_recorder.php exists. The e-commerce site works fine for end users. Thanks for your help. Ravi Link to comment Share on other sites More sharing options...
Dan Cole Posted June 24, 2017 Share Posted June 24, 2017 Could it be corrupt? Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
cravicha Posted June 24, 2017 Author Share Posted June 24, 2017 Thanks for your quick response. I don't know what changed since I installed it. However I was able to figure it out. Before I had hardcoded values in config. php in many places (e.g): Before: define('DIR_FS_DOCUMENT_ROOT', '/home/content/w/s/u/wsujathahost/html/ecommerce/catalog/'); After: define('DIR_FS_DOCUMENT_ROOT', '/home/content/06/6521806/html/ecommerce/catalog/'); I would like to avoid hardcoding.. but that's all I know now. Thanks. Ravi Link to comment Share on other sites More sharing options...
Dan Cole Posted June 24, 2017 Share Posted June 24, 2017 @cravicha Ravi, don't beat yourself up...that is the way you need to do it. Dan Need help? See this thread and provide the information requested. Is your version of osC up to date? You'll find the latest osC community version (CE Phoenix) here. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.