We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 27210
    • 158 Posts
    [SOLVED] The problem was that the path in phpthumb.config.inc was wrong. I did not realize that although i was changing the path, a statement a few lines down was overwriting my changes. One positive thing is that i fixed another compatibility bug with phpthumb and PHP 5.3.x.

    Thanks for listening.

    Environment:
    - evo 1.0.5
    - phpthumb v 1.7.9
    - PHP Version 5.3.6 - (fails - new server) - updated phpthumb per this post http://forums.modx.com/thread/?thread=12156&page=1 and problem is "better" but not solved
    - PHP Version 5.2.17 - (works - original server)
    - maxigallery - v ? (where do i find this?)
    - using lightbox to display the large picture - works fine
    - old server on Network Solutions (works)
    - new server on GoDaddy (fails)

    i think it is a path issue but i can't find where
    - i'm using the autodetect feature in phpthumb.config.php (same as before the site was moved)
    - firebug points to the correct file to display but all i see is the alt text, no picture
    - everything else in the site displays fine
    - fixed a bug in the maxigallery.class.inc.php (replaced split with explode) but that didn't fix the problem. Did fix another problem trying to upload or resynch gallery
    - Edited to add: the thumbnail file (tn_xxxyy) is generated by phpthumb and stored in the proper assets/gallery/xxxyy folder.

    what i have tried
    - erased the phpthumb\cache directory (later reinstated it)
    - compared to working site - path in call to phpthumb is identical
    - looked at paths in phpthumb.config.inc
    - looked at paths in .htaccess
    - resynced gallery
    - upload new picture, large picture shows, thumbnail doesn't
    - talked to GoDaddy about memory constraints - appear to be none
    - looked at Snippet phx:phpthumb - looks ok
    - searched the forum

    Thanks in advance for any suggestions!
    Steve [ed. note: signcarver last edited this post 12 years, 3 months ago.]