Jump to content

Error "Invalid Module Name" - Please assist


Greg Lumley
 Share

Recommended Posts

Hi, I'm getting the following errors on my site. Could anyone tell me what the issue is? 

Notes:
All these errors seem to be referenced in the database looking through the .sql file in vs code, I'm not sure what to do about them though. 

Duplicator Module:

  • I pulled the latest version of the duplicator module but it crashed the site
  • I manually deleted the folder. 
  • Once the site was up and running, I deleted the module from the database and refreshed

Thank you in advance. 

 

Quote
Quote
ProcessModule: Invalid module name: “.Modules.info” Please use uppercase [A-Z] for first character, lowercase [a-z] for 2nd character, and [a-z A-Z 0-9] for the rest. For example: “Modulesinfo”
ProcessModule: Invalid module name: “.Modules.site/modules/” Please use uppercase [A-Z] for first character, lowercase [a-z] for 2nd character, and [a-z A-Z 0-9] for the rest. For example: “Modulessitemodules”
ProcessModule: Invalid module name: “.Modules.wire/modules/” Please use uppercase [A-Z] for first character, lowercase [a-z] for 2nd character, and [a-z A-Z 0-9] for the rest. For example: “Moduleswiremodules”
ProcessModule: Invalid module name: “.ModulesUninstalled.info” Please use uppercase [A-Z] for first character, lowercase [a-z] for 2nd character, and [a-z A-Z 0-9] for the rest. For example: “ModulesUninstalledinfo”
ProcessModule: Invalid module name: “.ModulesVerbose.info” Please use uppercase [A-Z] for first character, lowercase [a-z] for 2nd character, and [a-z A-Z 0-9] for the rest. For example: “ModulesVerboseinfo”
ProcessModule: Invalid module name: “.ModulesVersions.info” Please use uppercase [A-Z] for first character, lowercase [a-z] for 2nd character, and [a-z A-Z 0-9] for the rest. For example: “ModulesVersionsinfo”

 

 

 

Link to comment
Share on other sites

Do you have any files (or folders) in your site/modules folder that start with a dot/period? If so, it should be safe to delete if it is causing errors. It looks like some files were renamed and/or placed in the wrong location...maybe?

Link to comment
Share on other sites

  • 1 month later...

Did this site - by any chance - reside on a Mac at some point?

Mac file systems sometimes pull strange stuff like that (e.g. a meta file with a dot in front, but the exact same filename otherwise).

ProcessWire just looks at everything in the modules directory and gets confused by that.

Link to comment
Share on other sites

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
 Share

×
×
  • Create New...