What Do You Need In The Xf2 Xengallery Version? Vote for your choices here: http://www.sonnb.com/threads/what-do-you-need-in-the-xf2-xengallery-version.1539/

Fixed Error Using Externaldataurl

Discussion in 'Bug Reports' started by CarlaBirch, Jul 17, 2013.

  1. CarlaBirch

    CarlaBirch Authorized Member Authorized

    Hi,
    I use the line $config['externalDataUrl'] = 'http://cdn.yourpshome.net/data'; in my xenforo config to add CDN support, on saving a rotated image I get the below error, this is because its trying to edit the cdn version.

    The following error occurred:

    imagejpeg(): Unable to open 'http://cdn.yourpshome.net/data/photos/o/1/1619-1374097937-4686ae1e475631e1cfd8665072703d86.jpg.tmp' for writing: No such file or directory
    XenForo_Application::handlePhpError()
    imagejpeg() in sonnb/XenGallery/Model/PhotoData.php at line 270
    sonnb_XenGallery_Model_PhotoData->outputImage() in sonnb/XenGallery/Model/PhotoData.php at line 205
    sonnb_XenGallery_Model_PhotoData->rotatePhoto() in sonnb/XenGallery/ControllerPublic/XenGallery/Photo.php at line 430
    sonnb_XenGallery_ControllerPublic_XenGallery_Photo->actionRotate() in XenForo/FrontController.php at line 310
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 132
    XenForo_FrontController->run() in /var/www/vhosts/*******/httpdocs/index.php at line 13
     
    sonnb likes this.
  2. sonnb

    sonnb Administrator Staff Member

    Thank you for your report. I definitely going to fix it.
     

Share This Page