giugeo85 Posted April 6, 2014 Share Posted April 6, 2014 hi all, after install prestashop on my server, if i goto module i see 62 updates, if i try to update all or update one i receive an error: Notice on line 942 in file D:\Inetpub\webs\"mysite"\prestashop\controllers\admin\AdminModulesController.php [8] Undefined variable: module Anyone can help me? Thanks in advance Giuseppe Link to comment Share on other sites More sharing options...
El Patron Posted April 6, 2014 Share Posted April 6, 2014 please take a minute and update one module at a time. most server configs will time out before completing all updates. let us know how it goes using one at a time method. 1 Link to comment Share on other sites More sharing options...
prestabart Posted April 12, 2014 Share Posted April 12, 2014 I have the same problem. When updating one module at a time i have the same error. Any other idea ? Link to comment Share on other sites More sharing options...
NemoPS Posted April 12, 2014 Share Posted April 12, 2014 Prestashop version? Link to comment Share on other sites More sharing options...
prestabart Posted April 12, 2014 Share Posted April 12, 2014 1.6.0.5 Link to comment Share on other sites More sharing options...
vekia Posted April 13, 2014 Share Posted April 13, 2014 you update modules in bulk? or only one of them? i uploaded controller here: https://www.dropbox.com/s/c7a5ddbjxbrp03e/AdminModulesController.php download it and replace with your original file (backup it first) Link to comment Share on other sites More sharing options...
prestabart Posted April 14, 2014 Share Posted April 14, 2014 When I update module in bulk I have info that all modules are updated succesfull (and they are listed green) - but still they're not because on the same page below is blue list with the same modules with info that they need to be updated. When I updated only one of them I got error: prestashop\controllers\admin\AdminModulesController.php [8] Undefined variable: module And: 2 errors Błąd podczas pobierania moduł (plik może być uszkodzony). Module blockcart can't be upgraded: After i repleced AdminModulesController.php with your version i got only : 2 errors Błąd podczas pobierania moduł (plik może być uszkodzony). Module blockcart can't be upgraded: without notice: prestashop\controllers\admin\AdminModulesController.php [8] Undefined variable: module Link to comment Share on other sites More sharing options...
vekia Posted April 14, 2014 Share Posted April 14, 2014 ok, waht modules you're trying to update one by one? it's not worth to update module in bulk, at the most of hostings there is not enough resources to update all of them (especially when you've got more than 10+ modules to update) Link to comment Share on other sites More sharing options...
giugeo85 Posted April 14, 2014 Author Share Posted April 14, 2014 Hi all, i try to update one to one, but i continue to have the same problem. Thanks Giuseppe Link to comment Share on other sites More sharing options...
vekia Posted April 14, 2014 Share Posted April 14, 2014 hello what module you're trying to update? i will try the same on my own, will see what's going on Link to comment Share on other sites More sharing options...
prestabart Posted April 15, 2014 Share Posted April 15, 2014 I have 16 modules which i can not update. i.e. blockviewed, block cart, blocksupplier, blockuserinfo, blockcontactinfos, blocstore .. etc. Link to comment Share on other sites More sharing options...
lucalg Posted April 16, 2014 Share Posted April 16, 2014 good afternoon, i got the same problem. I've moved on an other server and from that moment i got this error. Notice on line 942 in file /var/zpanel/hostdata/zadmin/public_html/xxxx/controllers/admin/AdminModulesController.php[8] Undefined variable: module I've checked the file and nothing seems a problem. Edited on DB ps_configuration table and changed everything was connected with the past IP. No way. I'm trying to update each model, one by one. No way. Thanks to anyone will help, i'm in a big trouble. Ciao, Luca Link to comment Share on other sites More sharing options...
SandrGitar Posted April 18, 2014 Share Posted April 18, 2014 (edited) I encountered the same issue when migrating from server and domain, any news? I am still able to uninstall en install the modules but clicking update (even after doing so) triggers the error... Edited April 18, 2014 by SandrGitar (see edit history) Link to comment Share on other sites More sharing options...
SandrGitar Posted April 18, 2014 Share Posted April 18, 2014 Maybe found something, I uninstalled the 1-click module, reinstalled it and it took me directly to the update page, updated prestashop to 1.6.0.6 and all the other updates on the modules were gone, except for the 1-click module. I uninstalled it again, deleted it and reinstalled and everything seems fine. But I won't know for sure untill another module needs an update... Link to comment Share on other sites More sharing options...
vivimax Posted June 5, 2014 Share Posted June 5, 2014 Hello, I get this, when I try to update my modules (1 by 1), for instance 'Featured products on the homepage': Warning: chmod(): Operation not permitted in /var/www/shop1/controllers/admin/AdminModulesController.php on line 404Warning: chmod(): Operation not permitted in /var/www/shop1/controllers/admin/AdminModulesController.php on line 402Warning: chmod(): Operation not permitted in /var/www/shop1/controllers/admin/AdminModulesController.php on line 398...and so on...and than, last line:Warning: Cannot modify header information - headers already sent by (output started at /var/www/shop1/controllers/admin/AdminModulesController.php:398) in /var/www/shop1/classes/Tools.php on line 143 Where's my problem ? Everything works fine, excapt this issue with updating modules :-/ Version 1.6.0.6 theme bootrstrap BR, Vivi Link to comment Share on other sites More sharing options...
NemoPS Posted June 5, 2014 Share Posted June 5, 2014 It seems your user is not allowed to chmod directory, you should ask your hosting company I suppose Link to comment Share on other sites More sharing options...
vivimax Posted June 5, 2014 Share Posted June 5, 2014 Hello Nemo1, thank you for your replay, that helped me to regognize that when I was logged in as superuser, on the other hand root did not have permission to log in ssh at that moment ;-) Now it works ! BR, Vivi 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