My forum is having issues uploading images

Rho Delta

Well-known member
The following error occurred

There was a problem uploading your file.


Please help!

Rho Delta

Well-known member
I checked my user group permissions and everyone but unregistered users still should be able to view and post attachements.

Rho Delta

Well-known member
Looks like it is a bug in the Watermark add on:

Server Error Log

Error Info​
ErrorException: imagecreatefrompng() [<a href='function.imagecreatefrompng'>function.imagecreatefrompng</a>]: '/home/mike/public_html/styles/HDJuegos/watermark/watermark.png' is not a valid PNG file -library/HDJuegos/WaterMarkAdd/ModelOverride/Attachment.php:141
Generated By: Swig, A moment ago
Stack Trace​
#0 /home/mike/public_html/library/HDJuegos/WaterMarkAdd/ModelOverride/Attachment.php(141): XenForo_Application::handlePhpError('/home/mike/publ...')
#1 /home/mike/public_html/library/HDJuegos/WaterMarkAdd/ModelOverride/Attachment.php(58): HDJuegos_WaterMarkAdd_ModelOverride_Attachment->addWatermark(Resource id #150)
#2 /home/mike/public_html/library/XenForo/ControllerPublic/Attachment.php(192): HDJuegos_WaterMarkAdd_ModelOverride_Attachment->insertUploadedAttachmentData(Object(XenForo_Upload), 10)
#3 /home/mike/public_html/library/XenForo/FrontController.php(310): XenForo_ControllerPublic_Attachment->actionDoUpload()
#4 /home/mike/public_html/library/XenForo/FrontController.php(132): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /home/mike/public_html/index.php(13): XenForo_FrontController->run()
#6 {main}
Request State​
array(3) {
["url"] => string(100) ""
["_GET"] => array(2) {
["hash"] => string(32) "d972997bb7ec7e07fff3987288907f01"
["content_type"] => string(4) "post"
["_POST"] => array(7) {
["Filename"] => string(19) "AmhNEOnCMAAwYxt.jpg"
["_xfResponseType"] => string(4) "json"
["content_data"] => array(1) {
["node_id"] => string(2) "54"
["_xfNoRedirect"] => string(1) "1"
["_xfToken"] => string(54) "10,1331055879,4ce407c8a8875c618be331e709c316659cf20728"
["_xfSessionId"] => string(32) "6a92139926d4db75e59f347d017e0d04"
["Upload"] => string(12) "Submit Query"


Well-known member
I am having an issue also with uploads. The normal uploader works fine, but the flash uploader doesnt work and i get the error in your first post.

Rho Delta

Well-known member
Found out my issue was I accidentally uploaded my .psd instead of .png to the watermark add on and it puked all over my forum uploading. Fixed.