Mehdib92 Posted January 9, 2016 Share Posted January 9, 2016 (edited) Hi, I'm trying tu update a local website from 1.6.1.1 to 1.6.1.4. I have the lastest version of the module 1-Click Upgrade (v1.6.7). But when I click on Update prestashop, I have this javascript error : Uncaught TypeError: Cannot read property 'nextQuickInfo' of null I inspected the code and it seems that the problem is when the file /admin/autoupgrade/ajax-upgradetab.php tries to load the class AdminSelfUpgrade. The class can't be loaded and I have those errors : [10-Jan-2016 00:48:25 Europe/Paris] PHP Notice: Trying to get property of non-object in /Users/Mehdi/Sites/presta/modules/autoupgrade/AdminSelfUpgrade.php on line 328 [10-Jan-2016 00:48:25 Europe/Paris] PHP Notice: Trying to get property of non-object in /Users/Mehdi/Sites/presta/modules/autoupgrade/AdminSelfUpgrade.php on line 329 [10-Jan-2016 00:48:26 Europe/Paris] PHP Fatal error: Class 'Language' not found in /Users/Mehdi/Sites/presta/modules/autoupgrade/AdminSelfUpgrade.php on line 716 thanks Edited January 9, 2016 by Mehdib92 (see edit history) Link to comment Share on other sites More sharing options...
Mehdib92 Posted January 10, 2016 Author Share Posted January 10, 2016 Ok so I could resolve this problem. It came from my configuration (OSX El Capitan + MAMP) and the mysqli connection. I works by doing that : cd /var sudo mkdir mysql sudo chmod 755 mysql cd mysql sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock mysql.sock Then do this cd /tmp sudo ln -s /Applications/MAMP/tmp/mysql/mysql.sock mysql.sock I found it on this link http://stackoverflow.com/questions/4219970/warning-mysql-connect-2002-no-such-file-or-directory-trying-to-connect-vi 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