Skip to content
Grav 2.0 is officially stable. Read the announcement →

Muut Archive Legend

@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation

Badges

✏️ First Post 💬 Conversation Starter ❤️ Well Liked

Recent posts

  • File (x) is not within the allowed path · 10 years ago

    Please tell me if you think this workaround has any adverse side effects. My pages seems to work as they should. I can post an issue if you like.

  • File (x) is not within the allowed path · 10 years ago

    I was hit hard by this issue again today. I made a workaround by changing Grav/Util:normalizePath to do nothing. I cannot read php code so I am not able to explain exactly what goes wrong. Cannot see

  • File (x) is not within the allowed path · 10 years ago

    I replaced the image line to a standard html src img line and then it works. So the issue is no longer stopping me. Thanks for your help.

  • File (x) is not within the allowed path · 10 years ago

    I am using the default .htaccess file provided by the theme, keeping all those rewrite rules, only changing the "RewriteBase" line to point to the actual sub directory. I have no rewrite options in si

  • File (x) is not within the allowed path · 10 years ago

    Are you sure it's not some rewrite rule on your end? Grav is not doing any specific rewrites of URLs unless you set something up in the your webserver or in the rewrite options of site.yaml

  • File (x) is not within the allowed path · 10 years ago

    Regarding the production server's open_basedir settings: I don't think I can control that.

  • File (x) is not within the allowed path · 10 years ago

    One workaround is to address the image with its full and absolute www url, but that means I need to update the code when changing from local to production environments, and using a relative path is al

  • File (x) is not within the allowed path · 10 years ago

    Thank you for your quick reply. I think the open_basedir setting is ok. The file I am referring lays within the basedir, see path above. The problem is the getgrav code seems to be removing a zero in

  • File (x) is not within the allowed path · 10 years ago

    Your server has open_basedir settings that are causing the problems. See this: http://stackoverflow.com/questions/1846882/open-basedir-restriction-in-effect-file-is-not-within-the-allowed-paths

  • File (x) is not within the allowed path · 10 years ago

    I am using the woo theme. I runs smoothly locally. When I upload to a production server I get this message for images directly linked from the content: Whoops \ Exception \ ErrorException (E_WARNING)