1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

My forum is having issues uploading images

Discussion in 'Troubleshooting and Problems' started by Rho Delta, Mar 6, 2012.

  1. Rho Delta

    Rho Delta Well-Known Member

    The following error occurred

    There was a problem uploading your file.


    Please help!
  2. taylor_smith

    taylor_smith Well-Known Member

  3. Rho Delta

    Rho Delta Well-Known Member

    I haven't changed any folder permissions and it was working fine until just now...
  4. taylor_smith

    taylor_smith Well-Known Member

    Weird. :<
  5. Rho Delta

    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.
  6. Rho Delta

    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) "http://oldrow.net/attachments/do-upload.json?hash=d972997bb7ec7e07fff3987288907f01&content_type=post"
    ["_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"
  7. Rob

    Rob 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.
  8. Rho Delta

    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.

Share This Page