We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 23510
    • 168 Posts
    After upgrading from 2.1.5 to the nightly from Dec 15, the website is completely blank. Even if I create a blank page and attach a blank template to it, I do not get anything output.

    Note that the Manager is fine.

    There was a problem with the date.timezone (errors when I cleared the cache) but I've fixed that in the php.ini.

    Note as well that before this upgrade I cleared the cache and flushed all sessions.

    Any ideas?
      • 28215
      • 4,149 Posts
      Anything in the error.log?

      I also don't understand this:

      Even if I create a blank page and attach a blank template to it, I do not get anything output.

      Well of course not! Wouldn't outputting a blank page and template get you...blank? tongue

      Any other info going on with your site would be helpful.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 23510
        • 168 Posts
        Sorry I just put a "hello world" on a resource and the output was blank.

        Yes, the error log is showing this:

         [2011-12-15 22:39:00] (ERROR @ /home/jta/public_html/home/core/model/phpthumb/phpthumb.class.php : 1312) PHP warning: getimagesize(/home/jta/public_html/home/supermarket.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
        [2011-12-15 22:39:00] (ERROR @ /home/jta/public_html/home/core/model/phpthumb/phpthumb.class.php : 1312) PHP warning: getimagesize(/home/jta/public_html/home/supermarket.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory
        [2011-12-15 22:39:00] (ERROR @ /home/jta/public_html/home/core/model/phpthumb/phpthumb.class.php : 3210) PHP warning: file_get_contents(/home/jta/public_html/home/supermarket.jpg) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory
        [2011-12-15 22:39:00] (ERROR @ /home/index.php) [phpThumbOf] Could not generate thumbnail: supermarket.jpg - Debug: Array
        (
            [0] => phpThumb() v1.7.9-200712090829 in file "phpthumb.class.php" on line 216
            [1] => setCacheDirectory() starting with config_cache_directory = "/home/jta/public_html/home/core/cache/phpthumb/" in file "phpthumb.class.php" on line 919
            [2] => setting config_cache_directory to realpath(/home/jta/public_html/home/core/cache/phpthumb) = "/home/jta/public_html/home/core/cache/phpthumb" in file "phpthumb.class.php" on line 947
            [3] => setCacheDirectory() starting with config_cache_directory = "/home/jta/public_html/home/assets/components/phpthumbof/cache/" in file "phpthumb.class.php" on line 919
            [4] => setting config_cache_directory to realpath(/home/jta/public_html/home/assets/components/phpthumbof/cache) = "/home/jta/public_html/home/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 947
            [5] => setSourceFilename(supermarket.jpg) set $this->sourceFilename to "supermarket.jpg" in file "phpthumb.class.php" on line 243
            [6] => skipping CleanUpCacheDirectory() set to purge (30.0 days; 100.00MB; 10,000 files) in file "phpthumb.class.php" on line 652
            [7] =>   file_exists() = 0 in file "phpthumb.class.php" on line 1101
            [8] => is_executable() = 0 in file "phpthumb.class.php" on line 1102
            [9] => using ImageMagick path from `which convert` (/usr/bin/convert) in file "phpthumb.class.php" on line 1121
            [10] => ImageMagick version checked with "convert --version" in file "phpthumb.class.php" on line 1148
            [11] => ImageMagick did not return recognized version string (Version: ImageMagick 6.5.7-8 2010-10-26 Q16 http://www.imagemagick.org
        Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
        Features: OpenMP) in file "phpthumb.class.php" on line 1154
            [12] => ImageMagick convert --version says "Unknown" in file "phpthumb.class.php" on line 1157
            [13] => $AvailableImageOutputFormats = array(text;ico;bmp;wbmp;gif;png;jpeg) in file "phpthumb.class.php" on line 884
            [14] => $this->thumbnailFormat set to $this->config_output_format "jpeg" in file "phpthumb.class.php" on line 895
            [15] => $this->thumbnailFormat set to $this->f "jpeg" in file "phpthumb.class.php" on line 902
            [16] => $this->thumbnailQuality set to "75" in file "phpthumb.class.php" on line 912
            [17] => $this->sourceFilename set to "/home/jta/public_html/home/supermarket.jpg" in file "phpthumb.class.php" on line 813
            [18] => phpThumb() v1.7.9-200712090829
        
        "/home/jta/public_html/home/supermarket.jpg" does not exist in file "phpthumb.class.php" on line 3647
            [19] => setCacheDirectory() starting with config_cache_directory = "/home/jta/public_html/home/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 919
            [20] => setting config_cache_directory to realpath(/home/jta/public_html/home/assets/components/phpthumbof/cache) = "/home/jta/public_html/home/assets/components/phpthumbof/cache" in file "phpthumb.class.php" on line 947
            [21] => SetCacheFilename() _src set from md5($this->sourceFilename) "/home/jta/public_html/home/supermarket.jpg" = "1e279d408b176fa142fe28e60138137c" in file "phpthumb.class.php" on line 3077
            [22] => SetCacheFilename() _par set from md5(_farC_zc1_h44_w60_dpi150_q75) in file "phpthumb.class.php" on line 3110
            [23] => starting ExtractEXIFgetImageSize() in file "phpthumb.class.php" on line 2897
            [24] => GetImageSize("/home/jta/public_html/home/supermarket.jpg") failed in file "phpthumb.class.php" on line 2920
            [25] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1232
            [26] => phpThumb_tempnam() returning "/home/jta/public_html/home/pThumbbHoKnN" in file "phpthumb.class.php" on line 3861
            [27] => ImageMagickSwitchAvailable(thumbnail) = 1 in file "phpthumb.class.php" on line 1189
            [28] => ImageMagickSwitchAvailable(density) = 1 in file "phpthumb.class.php" on line 1189
            [29] => GetImageSize(/home/jta/public_html/home/supermarket.jpg) FAILED with error "" in file "phpthumb.class.php" on line 1318
            [30] => GetImageSize(/home/jta/public_html/home/supermarket.jpg) failed in file "phpthumb.class.php" on line 1460
            [31] => Remaining $this->fltr after ImageMagick: (array(0) { } ) in file "phpthumb.class.php" on line 1807
            [32] => ImageMagickSwitchAvailable(quality;interlace) = 1 in file "phpthumb.class.php" on line 1186
            [33] => ImageMagick called as (convert -density 150 -thumbnail 60x44 -quality 75 -interlace line  "/home/jta/public_html/home/supermarket.jpg[0]" jpeg:"/home/jta/public_html/home/pThumbbHoKnN" 2>&1) in file "phpthumb.class.php" on line 1826
            [34] => ImageMagick failed with message (convert: unable to open image `/home/jta/public_html/home/supermarket.jpg': No such file or directory @ blob.c/OpenBlob/2480.
        convert: missing an image filename `jpeg:/home/jta/public_html/home/pThumbbHoKnN' @ convert.c/ConvertImageCommand/2838.) in file "phpthumb.class.php" on line 1834
            [35] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 2927
            [36] => SetOrientationDependantWidthHeight() starting with ""x"" in file "phpthumb.class.php" on line 2876
            [37] => SetOrientationDependantWidthHeight() setting w="60", h="44" in file "phpthumb.class.php" on line 2892
            [38] => EXIF thumbnail extraction: (size=0; type=""; 0x0) in file "phpthumb.class.php" on line 2979
            [39] => starting SourceImageToGD() in file "phpthumb.class.php" on line 3229
            [40] => $this->useRawIMoutput=true after checking $UnAllowedParameters in file "phpthumb.class.php" on line 1232
            [41] => phpThumb_tempnam() returning "/home/jta/public_html/home/pThumb5k2qnk" in file "phpthumb.class.php" on line 3861
            [42] => ImageMagickSwitchAvailable(thumbnail) = 1 in file "phpthumb.class.php" on line 1189
            [43] => ImageMagickSwitchAvailable(density) = 1 in file "phpthumb.class.php" on line 1189
            [44] => GetImageSize(/home/jta/public_html/home/supermarket.jpg) FAILED with error "" in file "phpthumb.class.php" on line 1318
            [45] => GetImageSize(/home/jta/public_html/home/supermarket.jpg) failed in file "phpthumb.class.php" on line 1460
            [46] => Remaining $this->fltr after ImageMagick: (array(0) { } ) in file "phpthumb.class.php" on line 1807
            [47] => ImageMagickSwitchAvailable(quality;interlace) = 1 in file "phpthumb.class.php" on line 1186
            [48] => ImageMagick called as (convert -density 150 -thumbnail 60x44 -quality 75 -interlace line  "/home/jta/public_html/home/supermarket.jpg[0]" jpeg:"/home/jta/public_html/home/pThumb5k2qnk" 2>&1) in file "phpthumb.class.php" on line 1826
            [49] => ImageMagick failed with message (convert: unable to open image `/home/jta/public_html/home/supermarket.jpg': No such file or directory @ blob.c/OpenBlob/2480.
        convert: missing an image filename `jpeg:/home/jta/public_html/home/pThumb5k2qnk' @ convert.c/ConvertImageCommand/2838.) in file "phpthumb.class.php" on line 1834
            [50] => starting ImageCreateFromFilename(/home/jta/public_html/home/supermarket.jpg) in file "phpthumb.class.php" on line 3152
            [51] => empty $filename or GetImageSize(/home/jta/public_html/home/supermarket.jpg) failed in file "phpthumb.class.php" on line 3201
            [52] => Populating $rawimagedata in file "phpthumb.class.php" on line 3209
            [53] => cannot fopen(/home/jta/public_html/home/supermarket.jpg) in file "phpthumb.class.php" on line 3212
            [54] => Not using EXIF thumbnail data because $this->exif_thumbnail_data is empty in file "phpthumb.class.php" on line 3278
            [55] => $this->gdimg_source is still empty in file "phpthumb.class.php" on line 3330
            [56] => ImageMagickThumbnailToGD() failed in file "phpthumb.class.php" on line 3332
            [57] => phpThumb() v1.7.9-200712090829
        
        Unknown image type identified by "" () in SourceImageToGD()[3444] in file "phpthumb.class.php" on line 3647
            [58] => SourceImageToGD() failed in file "phpthumb.class.php" on line 323
        )
        
        
        



        Seems to be choking on phpthumb not being able to find images. I have been also fixing that manually. I had quite a few image TVs that did not translate their path info properly. But even the plain page on its own is not generating any errors.

          • 23510
          • 168 Posts
          Ok, made some progress. I disabled the Directresize plugin and the site is coming up, minus a few images of course.

          I think I will have to go back to 2.1.5 (I did a backup) because I need the functionality of Directresize and I can't spend too much time fixing all the image TVs.

          Thanks.
            • 23510
            • 168 Posts
            My whole reason for trying 2.2 is because of a password issue on 2.1.5. Users who register could not login with the password they chose.

            John
              • 31946
              • 116 Posts
              Hi pixelstation,

              Maybe you want to try this extra:
              http://modx.com/extras/package/autofiximagesize
              It also generates thumbnails with phpthumb from images inserted with tinymce.
                • 23510
                • 168 Posts
                Thanks but how do I know it works with 2.2?