Project

General

Profile

Actions

Bug #14839

open

PHP Parse error: syntax error

Added by Sam Vanchanna 7 months ago. Updated 7 months ago.

Status:
Incomplete
Priority:
Normal
Assignee:
-
Category:
Unknown
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Default
Affected Version:
2.7.0
Affected Architecture:

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

PHP_errors.log (154 Bytes) PHP_errors.log Sam Vanchanna, 10/05/2023 09:42 AM
Actions #1

Updated by Jim Pingle 7 months 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.

Actions

Also available in: Atom PDF