qdubois Posted June 23, 2013 Share Posted June 23, 2013 Hello, I tried to upgrade on a dev site our prestashop from 1.4.9 to the last 1.5 using one click upgrade. First I had a timeout when updating the DB. Server Error] Timeout:La requête a dépassé le temps d"exécution maximum autorisé. Vous devez changer votre configuration serveur pour augmenter la durée de max_execution_time. Then when I wanted to launched it again, it gave me that : Warning: Invalid argument supplied for foreach() in /home/www/client/www/prestashopdev/classes/module/Module.php on line 969 [PrestaShopException] No access reference in table module_access for id_module 72. at line 1743 in file classes/module/Module.php 1737. self::$cache_permissions[$employee->id_profile][$row['id_module']]['configure'] = $row['configure']; 1738. } 1739. } 1740. 1741. if (!isset(self::$cache_permissions[$employee->id_profile][$id_module])) 1742. throw new PrestaShopException('No access reference in table module_access for id_module '.$id_module.'.'); 1743. 1744. return (bool)self::$cache_permissions[$employee->id_profile][$id_module][$variable]; 1745. } 1746. 1747. /** Any idea on how can I fix it? Thanks Quentin Link to comment Share on other sites More sharing options...
El Patron Posted June 27, 2013 Share Posted June 27, 2013 you should rebuild your dev site to working (1.4.9) check your php max_execution_time create a file and file with this code in your root directory: <?php phpinfo(); ?> now navigate to this page and look for max_execution time Increase it, x2 or x4 .... re-run upgrade Note: if you get an abend during upgrade...and then try it again....well...by then it's to late and the results can be unpredictable (well it is predictable, it won't work) 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