Jump to content

Dev mod = Chose Module is not a valid module name.


Blawdi

Recommended Posts

Hello,

 

You have idea for cause to say : Chose Module is not a valid module name.  in mode DEV?

 

Only white page with message "Chose Module is not a valid module name."

 

I have no idea

 

Thank you

Link to comment
Share on other sites

Thank you, is not similare.

 

M'y problem is solved, The problem is Module :

pos Staticblocks pos Static Footer

 

The choice of the module is compulsory even if you do not display it. Unfortunately it is possible to save even if it is not selected (*)

25ab47e310.png

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

  • 3 weeks later...

I have the same and resolve it by changing some line in /model/Staticfooter.php

line 57, replace

                    foreach($object as $key=>$ob) {
                        $nameModule = $ob['name_module'];
                        $hookModule = $ob['hook_module'];
                        $blockModule = $this->getModuleAssign($nameModule, $hookModule);
                        $ob['block_module'] = $blockModule;

By 

					$blockModule= null;
                    foreach($object as $key=>$ob) {
                       $nameModule = $ob['name_module'];
                       $hookModule = $ob['hook_module'];
		       $insert_module = $ob['insert_module'];
		       if($insert_module!=0){
			 $blockModule = $this->getModuleAssign($nameModule, $hookModule);
		       }
                       $ob['block_module'] = $blockModule;
                        $description = $ob['description'];

Link to comment
Share on other sites

  • 4 months later...
  • 1 year later...
On 28. 5. 2016 at 3:11 PM, David MEYER said:

I have the same and resolve it by changing some line in /model/Staticfooter.php

line 57, replace


                    foreach($object as $key=>$ob) {
                        $nameModule = $ob['name_module'];
                        $hookModule = $ob['hook_module'];
                        $blockModule = $this->getModuleAssign($nameModule, $hookModule);
                        $ob['block_module'] = $blockModule;

By 


					$blockModule= null;
                    foreach($object as $key=>$ob) {
                       $nameModule = $ob['name_module'];
                       $hookModule = $ob['hook_module'];
		       $insert_module = $ob['insert_module'];
		       if($insert_module!=0){
			 $blockModule = $this->getModuleAssign($nameModule, $hookModule);
		       }
                       $ob['block_module'] = $blockModule;
                        $description = $ob['description'];

This is working. GJ! I have a problem with post megamenu too. Is not working.

Link to comment
Share on other sites

  • 5 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...