We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21414
    • 41 Posts
    Hey Everyone,

    My webhost upgrade the php version on friday and now when I try to log into one of my clients manager page I am seeing this error. I think it has something to do with when i moved the site from one server to this new one, and the articles add-on but I cannot find this path on my server: (/home/lifesty1:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp

    Any Idea's?

    Error:
    ---------------------------------------------------
    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/flicflac/lcoachingbeta/core/components/articles/model/) is not within the allowed path(s): (/home/lifesty1:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp) in /home/lifesty1/public_html/core/xpdo/xpdo.class.php on line 449
    • It looks as if somewhere there's still a cache of the old site's path. Search your files for the old one (looks like the old one was the /home/flicflac/... path). If it doesn't seem to be in any of the files, try the database.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 21414
        • 41 Posts
        Figured it out.

        I removed the<base href="[[*siteurl]]"> from the head of the doc, this allowed me to log in, i then cleared the site cache, and then re added the base line and it seems to be good.

        thanks.