Jump to content

Transplant not possible - blank page problem


Recommended Posts

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

post-259333-0-17783200-1399075758_thumb.png

Edited by cpufan (see edit history)
Link to comment
Share on other sites

 

 

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.

  • Like 1
Link to comment
Share on other sites

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?

  • Like 1
Link to comment
Share on other sites

I changed line 451:

  1. $all_modules_controllers = Dispatcher::getModuleControllers($type);

to

 

  1. $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

  • Like 8
Link to comment
Share on other sites

  • 3 weeks later...
  • 2 months later...

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:

  1. $all_modules_controllers = Dispatcher::getModuleControllers($type);

to

 

  1. $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

  • 2 months later...
×
×
  • Create New...