CDflyers Posted January 31, 2013 Share Posted January 31, 2013 my webhost has just put my site through a server upgrade and since then i am getting an error message on any of my items pages. Warning: require_once(/home/cdflyers/public_html/config/../classes/8qqsqao1mm0taritpx.php) [function.require-once]: failed to open stream: No such file or directory in /home/cdflyers/public_html/config/config.inc.php on line 18 Fatal error: require_once() [function.require]: Failed opening required '/home/cdflyers/public_html/config/../classes/8qqsqao1mm0taritpx.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/cdflyers/public_html/config/config.inc.php on line 18 I think it may be to do with the fact that the PHP version is newer now. Can anyone help me? Thanks Link to comment Share on other sites More sharing options...
vekia Posted January 31, 2013 Share Posted January 31, 2013 what exactly you've got there: No such file or directory in /home/cdflyers/public_html/config/config.inc.php on line 18 ? Link to comment Share on other sites More sharing options...
CDflyers Posted January 31, 2013 Author Share Posted January 31, 2013 this is line 18 of the config file require_once(dirname(__FILE__).'/../classes/'.$className.'.php') makes no sense to me. remember that this was working perfect until the site was moved servers so i guess it's related to that. Link to comment Share on other sites More sharing options...
CDflyers Posted January 31, 2013 Author Share Posted January 31, 2013 this sorted now Link to comment Share on other sites More sharing options...
benjamin utterback Posted January 31, 2013 Share Posted January 31, 2013 Hello CDflyers, how did you solve this problem? I'm sure it would help other merchants in the future Link to comment Share on other sites More sharing options...
vekia Posted February 1, 2013 Share Posted February 1, 2013 @CDflyers please, share the solution, exactly as Benjamin said - it would help other merchants in the future 1 Link to comment Share on other sites More sharing options...
CDflyers Posted February 1, 2013 Author Share Posted February 1, 2013 This issue ussually appears from an old Prestashop version and is related to the way the functions are called from smarty. The solution is to create that file: 8qqsqao1mm0taritpx.php in classes folder. We created and now everything is ok. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now