zbestzeus
zbestzeus
I thought I was rather direct in my message. I sent you the exact line where the issue was and then reported how the given solution online was to put...
To simplify, this will give a blank error `$string = ""; file_put_contents(SITEPATH."/uploads/test.php", $string); $result = exec( "php '".SITEPATH."/uploads/test.php' 2>&1");`
To clarify I am not receiving the error when accessing a page directly, it's only when I run exec through the command line that I receive it.
Well yea, if you don't have an uploads folder on your machine. file_put_contents('test.php'): That should work assuming you have permissions from PHP to create the file in the home directory....
Before 8.1 there was no blank error when executing that line, I have been executing that code for 10 years to do a bug check of every page. The reason...
Ok, I just have to stay, have you studied the OWASP top 10, one of the first things is to disable all errors on production because it exposes code. Of...
Ugh this is getting ridiculous. Of course the code I sent without the proper write permissions on the server would not be able to write to the file and then...
I am running Ubuntu 20 with all the latest updates, speaking of which, upgrading to PHP 8,0 brought my site to a hault, isset which should never break your code,...
Then everything I read, people are saying DO NOT upgrade to PHP 8.0 and definitely do not upgrade to PHP 8.1, it causes too many errors. Luckily I am dealing...
So I have to have an extra server, running on the old version of PHP to run open source software, just because they took things that were warnings to faults....