We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43627
    • 4 Posts
    What is wrong? How to repair?
    ------ Thanks -----

    « MODx Parse Error »

    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »

    PHP error debug
    Error: mkdir(): Permission denied
    Error type/ Nr.: Warning - 2
    File: /var/www/vhosts/jackwerners.com/httpdocs/assets/snippets/maxigallery/maxigallery.php
    Line: 313
    Line 313 source: if(!mkdir($mg->path_to_gal, 0777)) {

    Parser timing
    MySQL: 0.0007 s (2 Requests)
    PHP: 0.0237 s
    Total: 0.0244 s

    • The permissions on your server's file system don't allow MODx to create directories in that location. You'll have to make sure that the directory MaxiGallery wants to write to is writable.
        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
        • 43627
        • 4 Posts
        thank you but how??