1
novlang1984
[XOOPS 2.5] Module dirname limit

If you duplicate a module and rename his dirname with a " - " inside (example : my-module), then a blank page is displayed here :
modules/system/admin.php?fct=modulesadmin&op=installlist

If you use underscore (example : my_module), it works like a charm

2
iunderwood
Re: [XOOPS 2.5] Module dirname limit

I believe the actual cause of the error is more of a PHP limitation.

When I first started developing my UHQ series of modules, I used the dash, and as it turns out, in some parts of PHP that is a subtraction operator.

That said, it may not be a bad idea to add in another validation step, though this won't typically happen due to an end user interaction.
++I;
Resized Image

Login

Who's Online

170 user(s) are online (75 user(s) are browsing Support Forums)


Members: 0


Guests: 170


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Dec 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits