We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 45363
    • 2 Posts
    Modx Was used to setup my website, then transfered to a different host.
    I am getting these errors

    [09-Oct-2013 07:51:31] PHP Warning:  getimagesize(/home3/user212/public_html/mywebsite//mywebsite/assets/content/images/slideshow/slider1.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: No such file or directory in /home3/dneland1/public_html/mywebsite/core/model/phpthumb/phpthumb.class.php on line 1312
    [09-Oct-2013 07:51:31] PHP Warning:  file_get_contents(/home3/user212/public_html/mywebsite//mywebsite/assets/content/images/slideshow/slider1.jpg) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in /home3/dneland1/public_html/mywebsite/core/model/phpthumb/phpthumb.class.php on line 3210


    I dont know where the directory gets appended but
    (/home3/user212/public_html/mywebsite//mywebsite/assets
    should be
    (/home3/user212/public_html/mywebsite/assets


    I need to find out where this is set, i suspect config_document_root has something to do with it in the phpThumb.class.php file but still not sure.
      • 45363
      • 2 Posts
      I figured this out.
      In the Modx Dash Tools >Media Sources > Images > Update

      I changed the basePath and baseUrl to the Full Path location and basePathRelative and baseUrlRelative to NO