We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17560
    • 49 Posts
    Hi everybody! I faced a problem with MaxiGallery (everything worked well before).
    By opening a page with a gallery appears Parse Error - access denial:

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

    PHP error debug
    Error: getimagesize(C:/Program Files/VertrigoServ/www/sitename/assets/galleries/11/1.jpg) [function.getimagesize]: failed to open stream: Permission denied
    Error type/ Nr.: Warning - 2
    File: C:\Program Files\VertrigoServ\www\sitename\assets\snippets\maxigallery\maxigallery.php
    Line: 879
    Line 879 source: $imagesize=getimagesize($modx->config[’base_path’].$path_to_galleries.$child[’id’]."/".$thumb[0][’filename’]);

    I didn’t change any site or server configs.
    Could you suggest a solution of this problem? What may be the reason?
    Thank you in advance!