bjorno43 / ImageSecure

PHP Library to securely handle images uploaded by users

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PHP errors

AliciaAMT opened this issue · comments

EDIT - solved the problem it was my fault. don't know how to delete the issue
I tried to test it on my server. Updated the configuration, created the database. This is the error log after attempting the first upload with a valid jpg:

[03-Jun-2020 15:36:17 UTC] PHP Warning: Creating default object from empty value in /home/dp3ndfkah1ii/public_html/ImageSecure/imgupload.class.php on line 44
[03-Jun-2020 15:36:17 UTC] PHP Fatal error: Uncaught Error: Call to a member function prepare() on null in /home/dp3ndfkah1ii/public_html/ImageSecure/imgupload.class.php:74
Stack trace:
#0 /home/dp3ndfkah1ii/public_html/ImageSecure/imgupload.class.php(234): ImageUpload->createTable()
#1 /home/dp3ndfkah1ii/public_html/ImageSecure/upload.php(7): ImageUpload->uploadImages(Array)
#2 {main}
thrown in /home/dp3ndfkah1ii/public_html/ImageSecure/imgupload.class.php on line 74