teppey Posted March 24, 2011 Share Posted March 24, 2011 I just upgraded to Prestashop 1.4 and when I click on the Modules tab in Back Office there's an error:Warning: constant() [function.constant]: Couldn't find constant _MEDIA_SERVER_1_ in /public_html/prestashop14/classes/Tools.php on line 1533Warning: require(/public_html/prestashop14/classes/rating/_drawrating.php) [function.require]: failed to open stream: No such file or directory in /public_html/prestashop14/classes/Module.php(408) : eval()'d code on line 3Fatal error: require() [function.require]: Failed opening required '/public_html/prestashop14/classes/rating/_drawrating.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /public_html/prestashop14/classes/Module.php(408) : eval()'d code on line 3the line in Tools.php is: if (($value = constant('_MEDIA_SERVER_'.$nb_server.'_')) && $value != '') return $value;any help would be appreciated Link to comment Share on other sites More sharing options...
teppey Posted March 24, 2011 Author Share Posted March 24, 2011 it seems the module file has been changed after the update, I just copied the files to the new location and it works 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