Jump to content

Error al entrar en modulos PS 1.6013


jcastroruiz
 Share

Recommended Posts

Buenas,

He actualizado a la version 1.6.0.13 y esto es lo que me sale:

[PrestaShopException]

Module productsCarousel is not a valid module name
at line 1461 in file classes/module/Module.php

1456.             if (is_file(_PS_MODULE_DIR_.$name))
1457.                 continue;
1458.             elseif (is_dir(_PS_MODULE_DIR_.$name.DIRECTORY_SEPARATOR) && Tools::file_exists_cache(_PS_MODULE_DIR_.$name.'/'.$name.'.php'))
1459.             {
1460.                 if (!Validate::isModuleName($name))
1461.                     throw new PrestaShopException(sprintf('Module %s is not a valid module name', $name));
1462.                 $module_list[] = $name;
1463.             }
1464.         }
1465.
1466.         return $module_list;

 

¿Alguien sabe como puedo arreglarlo? No me deja entrar en los modulos.

Un saludo y gracias

Share this post


Link to post
Share on other sites

I just got this.  Appears to be because productsCarousel is CamelCase.

 

A quick fix..

 

Edit classes/Validate.php

find  public static function isModuleName

on the next line, change [a-z0-9_]  to [a-zA-Z0-9_]

Share this post


Link to post
Share on other sites

  • nadie locked this topic
Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More