PHP formatters and extensions, issue with parsing the HJSON file

WAPPLER 6.7.3
Windows 11
PHP Own server (new setup with www.)

While marked as fixed, the bug remains.

With PHP formatters and modules i add a structure like this to the www folder root

image

However this does not activate the formatter on restart (should see a category "Tutorial Modules" )

To activate a formatter (or module) i have to recreate a duplicate of the extensions folder structure in the web root and place the HJSON file there.

This activates the extension

The copy if the HJSON file in the www/extensions/server_connect/formatters folder can actually be removed and the formatter still works correctly

that is what was actually fixed. The extensions folder don't need to be in the www root but directly under the project folder, just like with the nodejs extensions.

How strange, it uses the .php file from the www. folder, i dont even have the php file in the root, only the hjson file

Hmmm will investigate

Sorry my mistake @Hyperbytes under PHP the custom extensions should really be under the webroot as this is also what is deployed to the remote server and you need the php files in it.

So it will be fixed in the next update.

Thanks, you can expect the fIrst PHP extensions tutorial on Friday then

2 Likes

Fixed in Wappler 6.8.0