Bug #14839
openPHP Parse error: syntax error
0%
Description
[05-Oct-2023 12:18:36 Asia/Phnom_Penh] PHP Parse error: syntax error, unexpected end of file in /usr/local/sbin/pfSsh.php(374) : eval()'d code on line 6
Files
Updated by Jim Pingle about 1 year ago
- Status changed from New to Incomplete
The error there is not from pfSsh.php but a problem with code being run through it. Note that it's mentioning "eval()'d code".
If you were running a pre-written script provided as a part of the base system (e.g. pfSsh.php playback <name>
where <name>
is a file in /etc/phpshellsessions/
) then we need to know the exact command you ran to produce the error.
If you were entering code interactively in the shell, then it's a problem with your input and not a bug.
If you were running a custom script that isn't from pfSense, then it's a problem in the script and whoever wrote the script needs to fix it, and it's not a bug for this Redmine.