Hello,
I'm having issues with a website of mine where i'm unable to upload images via the Manager. I get an error when trying to upload:
"File extension `jpg` is not permitted."
This is the same for gif files.
I can ftp the files so it's not a permissions issue. I've checked all "upload_..." system settings and all contain the image extensions.
This issue appears to have started happening since i made a change to the .htaccess to force https...but this could just be coincidence.
I've just updated to version 2.6.0 but the problem is still there.
Can anyone make sense of the error log below?
[2017-11-15 13:35:56] (ERROR @ /home/mywebsite/public_html/core/model/modx/sources/modfilemediasource.class.php : 1093) PHP warning: Division by zero
[2017-11-15 13:35:56] (ERROR @ /home/mywebsite/public_html/core/model/modx/sources/modfilemediasource.class.php : 1097) PHP warning: Division by zero
[2017-11-15 13:35:58] (ERROR @ /home/mywebsite/public_html/core/model/phpthumb/modphpthumb.class.php : 121) phpThumb was unable to generate a thumbnail for: /home/mywebsite/public_html/core/cache/phpthumb/rspca-craven.org.uk__srcda57e6ae49510277ca8823593f30fec0_par7e19008dd93a40e106e6660a2ea17553_dat1465984881.png
[2017-11-15 13:35:58] (ERROR @ /home/mywebsite/public_html/core/model/phpthumb/modphpthumb.class.php : 133) Error outputting thumbnail:
OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 618
[2017-11-15 13:36:08] (ERROR @ /home/mywebsite/public_html/core/model/phpthumb/modphpthumb.class.php : 121) phpThumb was unable to generate a thumbnail for: /home/mywebsite/public_html/core/cache/phpthumb/rspca-craven.org.uk__srcda57e6ae49510277ca8823593f30fec0_par7e19008dd93a40e106e6660a2ea17553_dat1465984881.png
[2017-11-15 13:36:08] (ERROR @ /home/mywebsite/public_html/core/model/phpthumb/modphpthumb.class.php : 133) Error outputting thumbnail:
OutputThumbnail() failed because !is_resource($this->gdimg_output) in file "phpthumb.class.php" on line 618
[2017-11-15 13:36:40] (ERROR in resource 1 @ /home/mywebsite/public_html/core/model/modx/modparser.class.php : 1371) Bad link tag `[[~]]` encountered
[2017-11-15 13:36:40] (ERROR in resource 1 @ /home/mywebsite/public_html/core/model/modx/modparser.class.php : 1371) Bad link tag `[[~]]` encountered
Thanks for any help
Janice