I can’t seem to shake this error:
« 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: /home/public_html/site_name/assets/snippets/maxigallery/maxigallery.php
Line: 372
Line 372 source: chmod($mg->path_to_gal.$name,0644);
Parser timing
MySQL: 0.0063 s (4 Requests)
PHP: 0.0788 s
Total: 0.0851 s
Any ideas would be fabulous! Thanks.
[!MaxiGallery? &galleryPictureTpl=`mgGalleryPicture` &js=`mgJs`!]
[!MaxiGallery? &pictureTpl=`mgPicture` &display=`pictureview`!]
LAMP
PHP 5.1.6
ModX 0.9.6.1
MG 0.5.2
EDIT: The picture will upload, but it still throws an error. So, I’ll upload a pic, but the error show up. I’ll hit the back button then click on "Resynch Gallery" and the picture magically appears. What gives?