Diagnostics -> Command Prompt -> PHP
-
Getting "Parse error: syntax error, unexpected $end in /usr/local/www/exec.php(246) : eval()'d code on line 1"
Version: FreeBSD swan 8.3-RELEASE-p5 FreeBSD 8.3-RELEASE-p5 #0: Fri Dec 21 01:25:32 EST 2012 root@snapshots-8_3-amd64.builders.pfsense.org:/usr/obj./usr/pfSensesrc/src/sys/pfSense_SMP.8 amd64
-
What exactly are you putting into the PHP exec box?
it works fine for me when I try some PHP code. And if I leave it blank it does nothing. I don't get any errors.
-
What exactly are you putting in the PHP Execute, Command box?
For example, if you just type in:crudYou get exactly the error message you quote, it is telling you that the PHP it attempted to eval (evaluate - execute) for you ended unexpectedly. Most likely you just need to end the line of code with a semicolon. (or put in the terminating bracket of a function, or…
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy