Quantcast
Channel: DreamFactory Forum - Latest posts
Viewing all articles
Browse latest Browse all 5027

Is_file PHP error when setting-up Role access for PHP script service

$
0
0

I get:
DreamFactory Utility Module
is_file(): File name is longer than the maximum allowed path length on this platform (1024): ..... Entire script servie contents follows

OS is DSP's FreeBSD
DF is 2.2.0
I assume, that some code, when trying to get script endpoints for Role access to set-up, is checking if script is actually a file, stuffing entire script contents into is_file PHP function.

The source code that, I suspect, is an origin of an error, is BaseEngineAdpter.php, method runScript, line 134.
It may be more feasible just check for valid filename chars first.


Viewing all articles
Browse latest Browse all 5027

Trending Articles