rusjoan Posted April 12, 2014 Share Posted April 12, 2014 What does this red banner in modules admin section mean? 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 More sharing options...
horst Posted April 12, 2014 Share Posted April 12, 2014 (edited) 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 April 13, 2014 by horst Link to comment Share on other sites More sharing options...
rusjoan Posted April 13, 2014 Author Share Posted April 13, 2014 $config->debug = true really helpful. Now I see this: Also I tried to reinstall VKAPI module.. Link to comment Share on other sites More sharing options...
teppo Posted April 13, 2014 Share Posted April 13, 2014 (edited) @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 April 13, 2014 by teppo 4 Link to comment Share on other sites More sharing options...
rusjoan Posted April 13, 2014 Author Share Posted April 13, 2014 Thank you so much! Trouble really was in it. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now