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

    I have modx 0.9.6.1B with maxigallery 0.5.2 and every thing has worked fine. i have been able to upload images without a problem up until today... I created an embedded gallery today using: [!MaxiGallery? &display=`embedded` &embedtype=`slimbox` &pics_per_row=`10` &max_thumb_size=`25`!] and i get the manage pictures button... I am able to get all the way to upload the images but it spits out the error below. I have not made any changes to the code. Just changes to my template... Any thoughts as to why this would happen?



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

    PHP error debug
    Error: chmod(): No such file or directory
    Error type/ Nr.: Warning - 2
    File: /xxxx/xxxx/subdomains/groundup/httpdocs/assets/snippets/maxigallery/maxigallery.php
    Line: 372
    Line 372 source: chmod($mg->path_to_gal.$name,0666);

    Parser timing
    MySQL: 0.0021 s (1 Requests)
    PHP: 0.0964 s
    Total: 0.0985 s
      • 20349 ☆ A M B ☆
      • 453 Posts
      What changes did you make to the template?

      P.S. check if your directory (where your galleries are) is properly CHMOD-ed (needs to be 777 ac I recall)
        BASE - Web Design Studio
        MODX Ambassador

        Website