gdnltd Posted September 29, 2010 Share Posted September 29, 2010 Hello,Please help me, I need to figure out why the content on any of my product pages isn't showing.I turned on PHP errors and this is what it came up with:Fatal error: Call to undefined method Currency::getCurrent() in /classes/Tools.php on line 252Any help I would be great-full. Link to comment Share on other sites More sharing options...
rocky Posted September 29, 2010 Share Posted September 29, 2010 It seems you are using classes/Currency.php from PrestaShop v1.2.5 or earlier with classes/Tools.php from PrestaShop v1.3 or later. Make sure that both these files on your server are from the same version of PrestaShop. Link to comment Share on other sites More sharing options...
gdnltd Posted September 29, 2010 Author Share Posted September 29, 2010 Thanks, that was spot on. Although I fear I have adjusted something I shouldn't have, as new errors come up:Warning: require_once(ps/config/../classes/mdc9k.php) [function.require-once]: failed to open stream: No such file or directory in ps/config/config.inc.php on line 18Fatal error: require_once() [function.require]: Failed opening required 'ps/config/../classes/mdc9k.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in ps/config/config.inc.php on line 18 My home page shows up great and even in each category, it's only when I click on any product that the page shows only the header and the left column but no content.I appreciate your help. Link to comment Share on other sites More sharing options...
rocky Posted September 30, 2010 Share Posted September 30, 2010 It must be a third-party module, since I can't find any file called mdc9k.php in PrestaShop. Link to comment Share on other sites More sharing options...
gdnltd Posted September 30, 2010 Author Share Posted September 30, 2010 The only module I installed is called Location Detection.I have uninstalled the module but it still wont work right.Do you think I need to do a complete reinstall? Thanks for your time Link to comment Share on other sites More sharing options...
rocky Posted September 30, 2010 Share Posted September 30, 2010 First, search all your module directories for mdc9k.php. Try to uninstall that module and then delete it off your server. Then it can't cause a PHP error.If that doesn't work, I guess you may need to start from scratch without any third-party modules. Link to comment Share on other sites More sharing options...
gdnltd Posted September 30, 2010 Author Share Posted September 30, 2010 Ok thank you. There are no files "mdc9k.php" in any folders. I uninstalled and deleted all third party modules. No change to error, so will do a full reinstall.Thank you very much for your time. 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