Jump to content

PayPal not valid module


Torben

Recommended Posts

It's gotta be caused by this

 

if (!Validate::isModuleName($module_name))
{
if (_PS_MODE_DEV_)
die(Tools::displayError(Tools::safeOutput($module_name).' is not a valid module name.'));
return false;
}
 
 
the method
 
 
	public static function isModuleName($module_name)
	{
		return (is_string($module_name) && preg_match('/^[a-zA-Z0-9_-]+$/', $module_name));
	}

You can try and debug that. Classes/Module.php, at the beginning of getInstanceByName, add var_dump($module_name); Then reach the page where the issue pops out and see the list of all modules listed. Look for paypal, or blank entries, or perhaps post a screenshot of the whole list, if you can

Link to comment
Share on other sites

I do have PayPal in BO > Modules

I can't install it - I'm getting this error: The module paypal that you uploaded is not a valid module.

I downloaded a new version, uploaded - still the same

I looked for the module by ftp in modules - but no PayPal. There lots of others e.g. Bankwire

 

What can I do?

Link to comment
Share on other sites

  • 1 month later...

Hello Nemo1,

could you give more detail about this operation please : "...manually add the folder via ftp" ?

 

In my ZIP file (v3.7.1-PayPal Europe - Official.zip), I have a main folder called paypal wich contains several folders and files.

 

Where do I copy all this ?

I would like to make a manual installation because automatic installation gives this : "The module paypal that you uploaded is not a valid module"

 

Thanks for your help.

Link to comment
Share on other sites

×
×
  • Create New...