Jump to content

What does red banner in modules admin section mean?


rusjoan
 Share

Recommended Posts

What does this red banner in modules admin section mean?

post-1697-0-61638000-1397322787_thumb.pn

This is the trouble module:

VKAPI.module

But I'm sure all correct... I see no reason to display error banner.

Help please.

P.S. Also I tried to publish this module to PW modules library but there're a lot of fields, and I stopped at "Enter forum topic for ur module" and "Enter github repo url". Why I can't just upload module? Checking versions via git is so good, but not in any situation.

Link to comment
Share on other sites

I don't know really, but are short-open-tags allowed with your PHP-server?

You may try to start your file with <?php instead of <?

and you should enable debug in your site/config.php and see if you get more information. Also check your site/assets/logs/ folder for errors.txt

Edited by horst
Link to comment
Share on other sites

@rusjoan: that error message is a bit vague, but it means that the name of your module is invalid. This is where it originates from.

ProcessWire expects each module name to start with single letter (uppercase or lowercase), followed by one or more lowercase letters. Result of this is that "VkAPI", "Vkapi", "vkapi", "RusjoanVKAPI" etc. are valid names, while "VKAPI" is not.

I'd suggest renaming your module to comply with that requirement, as that's the easiest solution here.

Edit: for the record, I just submitted a pull request about adding a more descriptive error message.

Edited by teppo
  • Like 4
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...