cpufan Posted May 3, 2014 Share Posted May 3, 2014 (edited) Hi I have vers. 1.6.0.6 I have problems with positions. When clicking "transplant module" i get a blank page - so i have no errorcode to trace the error When clicking within Modules/positions "edit" to edit module position i also get a blank page. When editing a module - f.ex. vtem footer - and i click the editlink, there should be a lightbox popup, but mostly it doesnt work, but i can bypass it, by rightclicking and "open in new tab - ehich give me a new tab in Chrome with the page to edit. Then on save, it stays open, and doesnt refresh the opener-page. Fatal error: Call to undefined method Dispatcher::getModuleControllers() in /var/www/saaler.dk/public_html/controllers/admin/AdminModulesPositionsController.php on line 451 $all_modules_controllers = Dispatcher::getModuleControllers($type); The problem appear both on std-theme and newly installed vp_shoes theme It's a brand new 1-click installation on linux server - no errors while installing. Attached configuration Edited May 3, 2014 by cpufan (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted May 3, 2014 Share Posted May 3, 2014 The dispatcher class doesn't have such a method, did you change that admin controller file at all? I don't have anything special at line 451 Link to comment Share on other sites More sharing options...
vekia Posted May 3, 2014 Share Posted May 3, 2014 It's a brand new 1-click installation on linux server - no errors while installing. im more than convinced that your problem is related to this. im dealing with prestashop for several years now, and i've noticed that "one click installation" features causing a lot of troubles (in most of cases) if you will fix this problem, after some time you will find more problems. install prestashop manually, with official installation package. 1 Link to comment Share on other sites More sharing options...
cpufan Posted May 4, 2014 Author Share Posted May 4, 2014 The dispatcher class doesn't have such a method, did you change that admin controller file at all? I don't have anything special at line 451 No it's a brand new install, and i haven't changed it. The code is in line 451: in file public_html/controllers/admin/AdminModulesPositionsController.php I just tried to download a install-package from prestashop, and the line 451 in that file, is exactly the same. When i comment out line 451, the transplant-page show up, but gives a new error:in line 452 - but this is because of the missing variable declared in line 451..... Where can I find the Dispatcher - class? 1 Link to comment Share on other sites More sharing options...
cpufan Posted May 4, 2014 Author Share Posted May 4, 2014 I changed line 451: $all_modules_controllers = Dispatcher::getModuleControllers($type); to $all_modules_controllers = Dispatcher::getControllers($type); Which seems to have eliminated the problem, without giving new problems. So it has to be a bug in the new Prestashop ver. 1.6.0.6 8 Link to comment Share on other sites More sharing options...
NemoPS Posted May 5, 2014 Share Posted May 5, 2014 It's weird, as I have the same package without that line! ...perhaps a recent addition, mine is a few weeks old O.o 1 Link to comment Share on other sites More sharing options...
Mariusz_UK Posted May 22, 2014 Share Posted May 22, 2014 I had exactly this same problem with blank page. Thanks to Cpufan now everything is OK Link to comment Share on other sites More sharing options...
Marco Brughi Posted July 24, 2014 Share Posted July 24, 2014 Also I had this same problem, first with blank page Ps 1. 6.0.6 and now after upgrade 1.6.0.8. But for me this resolved. I changed line 451: $all_modules_controllers = Dispatcher::getModuleControllers($type); to $all_modules_controllers = Dispatcher::getControllers($type); Which seems to have eliminated the problem, without giving new problems. So it has to be a bug in the new Prestashop ver. 1.6.0.6 Many Thanks to Cpufan now everything is OK Link to comment Share on other sites More sharing options...
Stephank Posted July 30, 2014 Share Posted July 30, 2014 Thank you cpufan!! Link to comment Share on other sites More sharing options...
Sébastien RUF Posted October 19, 2014 Share Posted October 19, 2014 Thx a lot ! Link to comment Share on other sites More sharing options...
Baslertram Posted October 26, 2014 Share Posted October 26, 2014 (edited) Hallo, habe das gleiche Problem - offenbar ist es ein Programmfehler in PrestaShop .... Habe auch mal getControllers($type); eingetragen Aber es gab keine Lösung. Hoffe, dass bei einem ProgrammUpdate das Problem behoben ist. Edited October 26, 2014 by Baslertram (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts