We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3232
    • 380 Posts
    I get the following parse error when uploading more then one photos.

    anyone know how to fix this?
    « MODx Parse Error »
    MODx encountered the following error while attempting to parse the requested resource:
    « PHP Parse Error »
     
    PHP error debug
      Error: 	chmod() [function.chmod]: No such file or directory	 
      Error type/ Nr.: 	Warning - 2	 
      File: 	/var/www/vhosts/domain/httpdocs/assets/snippets/maxigallery/maxigallery.php	 
      Line: 	372	 
      Line 372 source: 	chmod($mg->path_to_gal.$name,0666); 	 
     
    Parser timing
      MySQL: 	0.0012 s	(2 Requests)
      PHP: 	0.1550 s	 
      Total: 	0.1562 s	 


      • 7923
      • 4,213 Posts
      Could you try the v0.6 test version that’s in the sticky topic if you are not using it already.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 3232
        • 380 Posts
        That did the trick, now I can upload all 10 photos at a time without any errors.

        thanks