You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'PHP message: PHP Notice: Undefined index: files in /var/www/ipv4/upload/index.php on line 5PHP message: PHP Notice: Trying to access array offset on value of type bool in /var/www/ipv4/upload/index.php on line 23PHP message: PHP Notice: Trying to access array offset on value of type bool in /var/www/ipv4/upload/index.php on line 28'
#25
Open
catharsis71 opened this issue
Jun 13, 2021
· 0 comments
Copied upload.php (renamed to index.php) into my /upload/ directory
Copied class.uploader.php into my /upload/ directory
Edited index.php (renamed from upload.php) so that instead of referencing '../src/class.uploader.php' it referenced './class.uploader.php'
Created a "/upload/uploads" subdirectory for uploads to go into and set www-data as the owner
However when I browse to /upload/ I just get a blank / 0-byte response, and the following error appears in my Apache log:
[Sun Jun 13 11:40:31.416720 2021] [proxy_fcgi:error] [pid 594484:tid 139774164084480] [client X.X.X.X:61610] AH01071: Got error 'PHP message: PHP Notice: Undefined index: files in /var/www/ipv4/upload/index.php on line 5PHP message: PHP Notice: Trying to access array offset on value of type bool in /var/www/ipv4/upload/index.php on line 23PHP message: PHP Notice: Trying to access array offset on value of type bool in /var/www/ipv4/upload/index.php on line 28'
The text was updated successfully, but these errors were encountered:
I did the following to try to get this working:
Created a directory /upload/ on my web server.
Copied upload.php (renamed to index.php) into my /upload/ directory
Copied class.uploader.php into my /upload/ directory
Edited index.php (renamed from upload.php) so that instead of referencing '../src/class.uploader.php' it referenced './class.uploader.php'
Created a "/upload/uploads" subdirectory for uploads to go into and set www-data as the owner
However when I browse to /upload/ I just get a blank / 0-byte response, and the following error appears in my Apache log:
The text was updated successfully, but these errors were encountered: