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

MG 1.1 Error uploading jpg

Discussion in 'Media Gallery Support' started by DieselMinded, May 3, 2016.

  1. DieselMinded

    DieselMinded Active Member

    THE FOLLOWING ERROR OCCURRED:
    no decode delegate for this image format `/hsphere/local/home/iiiers/mymilitia.com/internal_data/temp/xfmg4DYURQ'
    1. Imagick->readimage() in XenGallery/Helper/Image.php at line 471
    2. XenGallery_Helper_Image->writeWatermarkIm() in XenGallery/Helper/Image.php at line 428
    3. XenGallery_Helper_Image->writeWatermark() in XenGallery/Model/Watermark.php at line 189
    4. XenGallery_Model_Watermark->addWatermarkToImage() in XenGallery/ControllerPublic/Media.php at line 3219
    5. XenGallery_ControllerPublic_Media->_associateAttachmentsAndMedia() inXenGallery/ControllerPublic/Media.php at line 2988
    6. XenGallery_ControllerPublic_Media->actionSaveMedia() inNobita/Teams/XenGallery/ControllerPublic/Media.php at line 59
    7. Nobita_Teams_XenGallery_ControllerPublic_Media->actionSaveMedia() inXenForo/FrontController.php at line 351
    8. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    9. XenForo_FrontController->run() in /hsphere/local/home/iiiers/mymilitia.com/index.php at line 13
     
  2. DieselMinded

    DieselMinded Active Member

    i hit upload again and it went, what caused this?
     
  3. Chris D

    Chris D XenForo Developer Staff Member

    Not seen that before.

    Specifically it seems related to watermarking the image you uploaded.

    I would say that if it's working properly now it's safe to ignore but do keep an eye on it.
     
    DieselMinded likes this.
  4. DieselMinded

    DieselMinded Active Member

    it was weird it was a pop up window like if you tired to upload an image too large
     
  5. DieselMinded

    DieselMinded Active Member

    could it be because i uploaded the old image.php so the water mark wouldn't be pixelated ?
     
  6. DieselMinded

    DieselMinded Active Member

    just happened again

    no decode delegate for this image format `/hsphere/local/home/iiiers/mymilitia.com/internal_data/temp/xfmgt5xBCz'
    1. Imagick->readimage() in XenGallery/Helper/Image.php at line 471
    2. XenGallery_Helper_Image->writeWatermarkIm() in XenGallery/Helper/Image.php at line 428
    3. XenGallery_Helper_Image->writeWatermark() in XenGallery/Model/Watermark.php at line 189
    4. XenGallery_Model_Watermark->addWatermarkToImage() in XenGallery/ControllerPublic/Media.php at line 3219
    5. XenGallery_ControllerPublic_Media->_associateAttachmentsAndMedia() inXenGallery/ControllerPublic/Media.php at line 2988
    6. XenGallery_ControllerPublic_Media->actionSaveMedia() inNobita/Teams/XenGallery/ControllerPublic/Media.php at line 59
    7. Nobita_Teams_XenGallery_ControllerPublic_Media->actionSaveMedia() inXenForo/FrontController.php at line 351
    8. XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    9. XenForo_FrontController->run() in /hsphere/local/home/iiiers/mymilitia.com/index.php at line 13
     
  7. DieselMinded

    DieselMinded Active Member

    i uploaded the new image.php and it didn't help
     
  8. DieselMinded

    DieselMinded Active Member

    hmm , I'm using macbook and when i save an image for the web on adobe photoshop and try to upload it i got the error, when i saved as jpg it worked
     
  9. DieselMinded

    DieselMinded Active Member

    error.png
     

    Attached Files:

  10. DieselMinded

    DieselMinded Active Member

    Getting 2 errors

    ImagickException: no decode delegate for this image format `/hsphere/local/home/iiiers/mymilitia.com/internal_data/temp/xfmgHv8TJE' - library/XenGallery/Helper/Image.php:471
    Generated By: fixer, Today at 4:10 PM


    #0 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/Helper/Image.php(471): Imagick->readimage('/hsphere/local/...')
    #1 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/Helper/Image.php(428): XenGallery_Helper_Image->writeWatermarkIm('50', '5', '5', 'r', 'b')
    #2 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/Model/Watermark.php(189): XenGallery_Helper_Image->writeWatermark('50', '5', '5', 'r', 'b')
    #3 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/ControllerPublic/Media.php(3219): XenGallery_Model_Watermark->addWatermarkToImage(Array)
    #4 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/ControllerPublic/Media.php(2988): XenGallery_ControllerPublic_Media->_associateAttachmentsAndMedia(Array, Array, Array)
    #5 /hsphere/local/home/iiiers/mymilitia.com/library/Nobita/Teams/XenGallery/ControllerPublic/Media.php(59): XenGallery_ControllerPublic_Media->actionSaveMedia()
    #6 /hsphere/local/home/iiiers/mymilitia.com/library/XenForo/FrontController.php(351): Nobita_Teams_XenGallery_ControllerPublic_Media->actionSaveMedia()
    #7 /hsphere/local/home/iiiers/mymilitia.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #8 /hsphere/local/home/iiiers/mymilitia.com/index.php(13): XenForo_FrontController->run()
    #9 {main}

    array(3) {
    ["url"] => string(41) "http://www.mymilitia.com/media/save-media"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(16) {
    ["type"] => string(8) "category"
    ["category_id"] => string(1) "3"
    ["image_upload_type"] => string(6) "upload"
    ["image_upload"] => array(1) {
    [215] => array(6) {
    ["media_title"] => string(11) "Media Promo"
    ["media_description"] => string(31) "http://www.mymilitia.com/media/"
    ["tags"] => string(0) ""
    ["media_tag"] => string(0) ""
    ["media_embed_url_original"] => string(0) ""
    ["media_embed_url"] => string(0) ""
    }
    }
    ["media_image_upload"] => string(4) "true"
    ["media_"] => string(4) "true"
    ["image_upload_hash"] => string(32) "751c6788a5103118d726c9e707dda18f"
    ["video_upload_hash"] => string(32) "dffeffff234b1b9936e44612a6a6b1a7"
    ["embed_url"] => string(0) ""
    ["container_type"] => string(8) "category"
    ["container_id"] => string(1) "3"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/media/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    }
    }

    and this error

    ImagickException: no decode delegate for this image format `/hsphere/local/home/iiiers/mymilitia.com/internal_data/temp/xfmgjhnWXk' - library/XenGallery/Helper/Image.php:635
    Generated By: fixer, Today at 4:09 PM

    #0 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/Helper/Image.php(635): Imagick->readimage('/hsphere/local/...')
    #1 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/Helper/Image.php(592): XenGallery_Helper_Image->writeWatermarkIm('50', '5', '5', 'r', 'b')
    #2 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/Model/Watermark.php(189): XenGallery_Helper_Image->writeWatermark('50', '5', '5', 'r', 'b')
    #3 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/ControllerPublic/Media.php(3219): XenGallery_Model_Watermark->addWatermarkToImage(Array)
    #4 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/ControllerPublic/Media.php(2988): XenGallery_ControllerPublic_Media->_associateAttachmentsAndMedia(Array, Array, Array)
    #5 /hsphere/local/home/iiiers/mymilitia.com/library/Nobita/Teams/XenGallery/ControllerPublic/Media.php(59): XenGallery_ControllerPublic_Media->actionSaveMedia()
    #6 /hsphere/local/home/iiiers/mymilitia.com/library/XenForo/FrontController.php(351): Nobita_Teams_XenGallery_ControllerPublic_Media->actionSaveMedia()
    #7 /hsphere/local/home/iiiers/mymilitia.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #8 /hsphere/local/home/iiiers/mymilitia.com/index.php(13): XenForo_FrontController->run()
    #9 {main}

    array(3) {
    ["url"] => string(41) "http://www.mymilitia.com/media/save-media"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(16) {
    ["type"] => string(8) "category"
    ["category_id"] => string(1) "3"
    ["image_upload_type"] => string(6) "upload"
    ["image_upload"] => array(1) {
    [215] => array(6) {
    ["media_title"] => string(11) "Media Promo"
    ["media_description"] => string(31) "http://www.mymilitia.com/media/"
    ["tags"] => string(0) ""
    ["media_tag"] => string(0) ""
    ["media_embed_url_original"] => string(0) ""
    ["media_embed_url"] => string(0) ""
    }
    }
    ["media_image_upload"] => string(4) "true"
    ["media_"] => string(4) "true"
    ["image_upload_hash"] => string(32) "751c6788a5103118d726c9e707dda18f"
    ["video_upload_hash"] => string(32) "dffeffff234b1b9936e44612a6a6b1a7"
    ["embed_url"] => string(0) ""
    ["container_type"] => string(8) "category"
    ["container_id"] => string(1) "3"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/media/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    }
    }
     
  11. Chris D

    Chris D XenForo Developer Staff Member

    This seems to be an issue with the ImageMagick version you have installed.

    If this was installed by your host you will need to contact them for support.

    The error seems to suggest that ImageMagick doesn't actually support any image formats, which is certainly unusual.

    To point them in the right direction, this Stack Overflow question may help:

    http://stackoverflow.com/questions/15279301/imagemagick-supported-formats-no-value
     
  12. DieselMinded

    DieselMinded Active Member

    @Chris D

    FROM SERVER PEOPLE...

    I think that the developer did not check http://mymilitia.com/i.php:

    ImageMagick supported formats: ART, AVI, AVS, BMP, BMP2, BMP3, CACHE, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CUR, CUT, DCM, DCX, DOT, DPS, DPX, EPT, EPT2, EPT3, FAX, FITS, G3, GIF, GIF87, GRADIENT, GRAY, HISTOGRAM, HTM, HTML, ICO, ICON, INFO, JPEG, JPG, LABEL, M2V, MAP, MAT, MATTE, MIFF, MONO, MPC, MPEG, MPG, MSL, MTV, MVG, NULL, OTB, PALM, PATTERN, PCD, PCDS, PCL, PCT, PCX, PDB, PICT, PJPEG, SHTML

    Besides ... the link he provided is regarding ImageMagick installation on Windows while you are hosted on Linux server.

    I am not sure if we can get this resolved unless we can recreate the error. You mentioned that some files kept failing and you had to rename them to make them go through. Do you have any image that simply won't get processed by your script ?
     
  13. Chris D

    Chris D XenForo Developer Staff Member

    I'm fully appreciative of the fact that you're likely running Linux rather than Windows, by my point was to highlight the possible causes of a similar error (regardless of platform).

    That being that the images you're trying to use are not supported by the installation of ImageMagick installed on your server.

    Your post actually supports this - that list of supported formats is far fewer than I would expect. My PHP supports over 200 formats. Yours only 64.

    The most glaringly obvious omission I would say is "PNG" support. I would anticipate this issue is being triggered because your watermark image is probably a PNG image, and your ImageMagick install can't process PNG images, hence the "no decode delegate for this image format" error.

    My advice mostly remains the same.

    The issue lies with ImageMagick. I would also note that the version of ImageMagick installed and the Imagick module is on the old side. 2012-2013 respectively. This may be part of the issue.
     
  14. DieselMinded

    DieselMinded Active Member

    THANK YOU I WILL REPORT ! @Chris D

    this is what they said...

    I have run ImageMagick's identify on that particular image and it went through:

    [root@web10 vault]# identify mediapromo.jpg
    mediapromo.jpg JPEG 2550x2728 2550x2728+0+0 DirectClass 9.9e+02kb

    So ImageMagick has no issue in processing this file. It must be something else that errors out in your script. Could you check this with your developer or script author ?
     
  15. Chris D

    Chris D XenForo Developer Staff Member

    I believe it's your watermark image, not the image you're uploading.
     
    DieselMinded likes this.
  16. DieselMinded

    DieselMinded Active Member

    asking them to add png support thank you above and beyond again sir
     
  17. DieselMinded

    DieselMinded Active Member

    @Chris D

    don't know why but they wanted me to tell you this...

    One more info for your developer ...

    [root@web10 vault]# identify -list format
    Format Module Mode Description
    -------------------------------------------------------------------------------
    A* RAW rw+ Raw alpha samples
    ART* ART r-- PFS: 1st Publisher
    Format originally used on the Macintosh (MacPaint?) and later used
    for PFS: 1st Publisher clip art. NOT the AOL ART format.
    AVI* AVI r-- Microsoft Audio/Visual Interleaved
    AVS* AVS rw+ AVS X image
    B* RAW rw+ Raw blue samples
    BMP* BMP rw- Microsoft Windows bitmap image
    BMP2* BMP -w- Microsoft Windows bitmap image v2
    BMP3* BMP -w- Microsoft Windows bitmap image v3
    C* RAW rw+ Raw cyan samples
    CACHE* CACHE --- Magick Persistent Cache image format
    CAPTION* CAPTION r-- Image caption
    CIN* CIN rw+ Cineon Image File
    CIP* CIP -w- Cisco IP phone image format
    CLIP* CLIP -w+ Image Clip Mask
    CMYK* CMYK rw+ Raw cyan, magenta, yellow, and black samples
    CMYKA* CMYK rw+ Raw cyan, magenta, yellow, black, and opacity samples
    CUR* CUR rw- Microsoft icon
    CUT* CUT r-- DR Halo
    DCM* DCM r-- Digital Imaging and Communications in Medicine image
    DICOM is used by the medical community for images like X-rays. The
    specification, "Digital Imaging and Communications in Medicine
    (DICOM)", is available at http://medical.nema.org/. In particular,
    see part 5 which describes the image encoding (RLE, JPEG, JPEG-LS),
    and supplement 61 which adds JPEG-2000 encoding.
    DCX* PCX rw+ ZSoft IBM PC multi-page Paintbrush
    DNG* DNG r-- Digital Negative
    DOT DOT --- Graphviz
    DPS DPS --- Display Postscript Interpreter
    DPX* DPX rw+ SMPTE 268M-2003 (DPX)
    Digital Moving Picture Exchange Bitmap, Version 2.0.
    See SMPTE 268M-2003 specification at http://www.smtpe.org

    EPDF PDF rw- Encapsulated Portable Document Format
    EPI PS rw- Encapsulated PostScript Interchange format
    EPS PS rw- Encapsulated PostScript
    EPS2* PS2 -w- Level II Encapsulated PostScript
    EPS3* PS3 -w+ Level III Encapsulated PostScript
    EPSF PS rw- Encapsulated PostScript
    EPSI PS rw- Encapsulated PostScript Interchange format
    EPT EPT rw- Encapsulated PostScript with TIFF preview
    EPT2 EPT rw- Encapsulated PostScript Level II with TIFF preview
    EPT3 EPT rw+ Encapsulated PostScript Level III with TIFF preview
    FAX* FAX rw+ Group 3 FAX
    See TIFF format. Note that FAX machines use non-square pixels which
    are 1.5 times wider than they are tall but computer displays use
    square pixels. FAX images may appear to be narrow unless they are
    explicitly resized using a resize specification of "150x100%".
    FITS* FITS rw- Flexible Image Transport System
    FRACTAL* PLASMA r-- Plasma fractal image
    G* RAW rw+ Raw green samples
    G3* FAX rw- Group 3 FAX
    GIF* GIF rw+ CompuServe graphics interchange format
    GIF87* GIF rw- CompuServe graphics interchange format (version 87a)
    GRADIENT* GRADIENT r-- Gradual passing from one shade to another
    GRAY* GRAY rw+ Raw gray samples
    HISTOGRAM* HISTOGRAM -w- Histogram of the image
    HTM* HTML -w- Hypertext Markup Language and a client-side image map
    HTML* HTML -w- Hypertext Markup Language and a client-side image map
    ICB* TGA rw+ Truevision Targa image
    ICO* ICON rw- Microsoft icon
    ICON* ICON rw- Microsoft icon
    INFO INFO -w+ The image format and characteristics
    JNG* PNG rw- JPEG Network Graphics
    See http://www.libpng.org/pub/mng/ for details about the JNG format.
    The JNG 1.0 specification is available there and at
    ftp://swrinde.nde.swri.edu/pub/mng/documents/.
    JPEG* JPEG rw- Joint Photographic Experts Group JFIF format (62)
    JPG* JPEG rw- Joint Photographic Experts Group JFIF format
    K* RAW rw+ Raw black samples
    LABEL* LABEL r-- Image label
    M* RAW rw+ Raw magenta samples
    M2V MPEG rw+ MPEG Video Stream
    MAP* MAP rw- Colormap intensities and indices
    MAT* MAT rw+ MATLAB image format
    MATTE* MATTE -w+ MATTE format
    MIFF* MIFF rw+ Magick Image File Format
    MNG* PNG rw+ Multiple-image Network Graphics (libpng 1.2.10)
    See http://www.libpng.org/pub/mng/ for details about the MNG format.
    The MNG 1.0 specification is available there and at
    ftp://swrinde.nde.swri.edu/pub/mng/documents/.
    MONO* MONO rw- Bi-level bitmap in least-significant-byte first order
    MPC* MPC rw+ Magick Persistent Cache image format
    MPEG MPEG rw+ MPEG Video Stream
    MPG MPEG rw+ MPEG Video Stream
    MSL* MSL rw+ Magick Scripting Language
    MTV* MTV rw+ MTV Raytracing image format
    MVG* MVG rw- Magick Vector Graphics
    NULL* NULL rw- Constant image of uniform color
    O* RAW rw+ Raw opacity samples
    OTB* OTB rw- On-the-air bitmap
    OTF* TTF r-- Open Type font (Freetype 2.2.1)
    P7* PNM rw+ Xv thumbnail format
    PAL* UYVY rw- 16bit/pixel interleaved YUV
    PALM* PALM rw+ Palm pixmap
    PAM* PNM -w+ Common 2-dimensional bitmap format
    PATTERN* PATTERN r-- Predefined pattern
    PBM* PNM rw+ Portable bitmap format (black and white)
    PCD* PCD rw- Photo CD
    PCDS* PCD rw- Photo CD
    PCL PCL rw- Printer Control Language
    PCT* PICT rw- Apple Macintosh QuickDraw/PICT
    PCX* PCX rw- ZSoft IBM PC Paintbrush
    PDB* PDB rw+ Palm Database ImageViewer Format
    PDF PDF rw+ Portable Document Format
    PFA* TTF r-- Postscript Type 1 font (ASCII) (Freetype 2.2.1)
    PFB* TTF r-- Postscript Type 1 font (binary) (Freetype 2.2.1)
    PGM* PNM rw+ Portable graymap format (gray scale)
    PICON* XPM rw- Personal Icon
    PICT* PICT rw- Apple Macintosh QuickDraw/PICT
    PIX* PIX r-- Alias/Wavefront RLE image format
    PJPEG* JPEG rw- Progessive Joint Photographic Experts Group JFIF
    PLASMA* PLASMA r-- Plasma fractal image
    PNG* PNG rw- Portable Network Graphics (libpng 1.2.10)
    See http://www.libpng.org/ for details about the PNG format. The
    PNG 1.2 specification is available there and at
    ftp://swrinde.nde.swri.edu/pub/png/documents/.
    PNG24* PNG rw- 24-bit RGB PNG, opaque only (zlib 1.2.3)
    PNG32* PNG rw- 32-bit RGBA PNG, semitransparency OK
    PNG8* PNG rw- 8-bit indexed PNG, binary transparency only
    PNM* PNM rw+ Portable anymap
    PPM* PNM rw+ Portable pixmap format (color)
    PREVIEW* PREVIEW -w- Show a preview an image enhancement, effect, or f/x
    PS PS rw+ PostScript
    PS2* PS2 -w+ Level II PostScript
    PS3* PS3 -w+ Level III PostScript
    PSD* PSD rw+ Adobe Photoshop bitmap
    PTIF* TIFF rw- Pyramid encoded TIFF
    PWP* PWP r-- Seattle Film Works
    R* RAW rw+ Raw red samples
    RAS* SUN rw+ SUN Rasterfile
    RGB* RGB rw+ Raw red, green, and blue samples
    RGBA* RGB rw+ Raw red, green, blue, and alpha samples
    RGBO* RGB rw+ Raw red, green, blue, and opacity samples
    RLA* RLA r-- Alias/Wavefront image
    RLE* RLE r-- Utah Run length encoded image
    SCR* SCR r-- ZX-Spectrum SCREEN$
    SCT* SCT r-- Scitex HandShake
    SFW* SFW r-- Seattle Film Works
    SGI* SGI rw+ Irix RGB image
    SHTML* HTML -w- Hypertext Markup Language and a client-side image map
    STEGANO* STEGANO r-- Steganographic image
    SUN* SUN rw+ SUN Rasterfile
    SVG* SVG rw+ Scalable Vector Graphics (XML 2.6.26)
    SVGZ* SVG rw+ Compressed Scalable Vector Graphics (XML 2.6.26)
    TEXT* TXT rw+ Text
    TGA* TGA rw+ Truevision Targa image
    TIFF* TIFF rw+ Tagged Image File Format (LIBTIFF, Version 3.8.2)
    TILE* TILE r-- Tile image with a texture
    TIM* TIM r-- PSX TIM
    TTC* TTF r-- TrueType font collection (Freetype 2.2.1)
    TTF* TTF r-- TrueType font (Freetype 2.2.1)
    TXT* TXT rw+ Text
    UIL* UIL -w- X-Motif UIL table
    UYVY* UYVY rw- 16bit/pixel interleaved YUV
    VDA* TGA rw+ Truevision Targa image
    VICAR* VICAR rw- VICAR rasterfile format
    VID* VID rw+ Visual Image Directory
    VIFF* VIFF rw+ Khoros Visualization image
    VST* TGA rw+ Truevision Targa image
    WBMP* WBMP rw- Wireless Bitmap (level 0) image
    WMF* WMF r-- Windows Meta File
    WMZ* WMZ r-- Compressed Windows Meta File
    WPG* WPG r-- Word Perfect Graphics
    X* X rw+ X Image
    XBM* XBM rw- X Windows system bitmap (black and white)
    XC* XC r-- Constant image uniform color
    XCF* XCF r-- GIMP image
    XPM* XPM rw- X Windows system pixmap (color)
    XV* VIFF rw+ Khoros Visualization image
    XWD* XWD rw- X Windows system window dump (color)
    Y* RAW rw+ Raw yellow samples
    YCbCr* YCbCr rw+ Raw Y, Cb, and Cr samples
    YCbCrA* YCbCr rw+ Raw Y, Cb, Cr, and opacity samples
    YUV* YUV rw- CCIR 601 4:1:1 or 4:2:2

    * native blob support
     
  18. Chris D

    Chris D XenForo Developer Staff Member

    That's irrelevant as long as PHP doesn't realise it has PNG support. They said it themselves:

    This is firmly down to them to attempt to resolve, there's nothing we can do.
     
  19. DieselMinded

    DieselMinded Active Member

    FROM SERVER PEOPLE:
    I was mislead by a reply from your developer who said that png is not supported on our server, which is not the case as you can add this watermark to other images.

    Can you ask him to review the provided information and let us both know why would that media promo image fail ?
     
  20. DieselMinded

    DieselMinded Active Member

    Switched watermark to a jpg and tried to upload the media promo file and got a new error...

    THE FOLLOWING ERROR OCCURRED:

    Insufficient memory (case 4) `/hsphere/local/home/iiiers/mymilitia.com/internal_data/temp/xfmgu61yGV'
    Imagick->writeimage() in XenGallery/Helper/Image.php at line 505
    XenGallery_Helper_Image->writeWatermarkIm() in XenGallery/Helper/Image.php at line 428
    XenGallery_Helper_Image->writeWatermark() in XenGallery/Model/Watermark.php at line 189
    XenGallery_Model_Watermark->addWatermarkToImage() in XenGallery/ControllerPublic/Media.php at line 3219
    XenGallery_ControllerPublic_Media->_associateAttachmentsAndMedia() in XenGallery/ControllerPublic/Media.php at line 2988
    XenGallery_ControllerPublic_Media->actionSaveMedia() in Nobita/Teams/XenGallery/ControllerPublic/Media.php at line 59
    Nobita_Teams_XenGallery_ControllerPublic_Media->actionSaveMedia() in XenForo/FrontController.php at line 351
    XenForo_FrontController->dispatch() in XenForo/FrontController.php at line 134
    XenForo_FrontController->run() in /hsphere/local/home/iiiers/mymilitia.com/index.php at line 13

    _________


    ImagickException: Insufficient memory (case 4) `/hsphere/local/home/iiiers/mymilitia.com/internal_data/temp/xfmgu61yGV' - library/XenGallery/Helper/Image.php:505
    Generated By: fixer, 2 minutes ago
    Stack Trace
    #0 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/Helper/Image.php(505): Imagick->writeimage('/hsphere/local/...')
    #1 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/Helper/Image.php(428): XenGallery_Helper_Image->writeWatermarkIm('50', '5', '5', 'r', 'b')
    #2 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/Model/Watermark.php(189): XenGallery_Helper_Image->writeWatermark('50', '5', '5', 'r', 'b')
    #3 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/ControllerPublic/Media.php(3219): XenGallery_Model_Watermark->addWatermarkToImage(Array)
    #4 /hsphere/local/home/iiiers/mymilitia.com/library/XenGallery/ControllerPublic/Media.php(2988): XenGallery_ControllerPublic_Media->_associateAttachmentsAndMedia(Array, Array, Array)
    #5 /hsphere/local/home/iiiers/mymilitia.com/library/Nobita/Teams/XenGallery/ControllerPublic/Media.php(59): XenGallery_ControllerPublic_Media->actionSaveMedia()
    #6 /hsphere/local/home/iiiers/mymilitia.com/library/XenForo/FrontController.php(351): Nobita_Teams_XenGallery_ControllerPublic_Media->actionSaveMedia()
    #7 /hsphere/local/home/iiiers/mymilitia.com/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
    #8 /hsphere/local/home/iiiers/mymilitia.com/index.php(13): XenForo_FrontController->run()
    #9 {main}
    Request State
    array(3) {
    ["url"] => string(41) "http://www.mymilitia.com/media/save-media"
    ["_GET"] => array(0) {
    }
    ["_POST"] => array(16) {
    ["type"] => string(8) "category"
    ["category_id"] => string(1) "3"
    ["image_upload_type"] => string(6) "upload"
    ["image_upload"] => array(1) {
    [226] => array(6) {
    ["media_title"] => string(11) "Media Promo"
    ["media_description"] => string(31) "http://www.mymilitia.com/media/"
    ["tags"] => string(0) ""
    ["media_tag"] => string(0) ""
    ["media_embed_url_original"] => string(0) ""
    ["media_embed_url"] => string(0) ""
    }
    }
    ["media_image_upload"] => string(4) "true"
    ["media_"] => string(4) "true"
    ["image_upload_hash"] => string(32) "80d3ce08290fef14955bd1210c0e3a14"
    ["video_upload_hash"] => string(32) "6c40c121c097e3ab80e603be29a988f6"
    ["embed_url"] => string(0) ""
    ["container_type"] => string(8) "category"
    ["container_id"] => string(1) "3"
    ["_xfConfirm"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(10) "/media/add"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
    }
    }
     

Share This Page