Quantcast
Channel: DreamFactory Forum - Latest topics
Viewing all articles
Browse latest Browse all 1523

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

$
0
0

@Vsevolod_Gromov wrote:

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.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 1523

Trending Articles