This was posted in the "Module, Plugin & Snippet Usage" Forum before i remembered there was a forum dedicated to maxigallery.. sorry for the doublke post.
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
This has been talked in multiple threads already. Could you ask your host that have they updated the server configuration somehow recently.. that would explain why it started to happen and help me to pinpoint the problematic server configuration.
To fix it, apply this
http://modxcms.com/forums/index.php/topic,21619.msg134052.html#msg134052
and this
http://modxcms.com/forums/index.php/topic,21619.msg134187.html#msg134187
"He can have a lollipop any time he wants to. That's what it means to be a programmer."