ModX Parse Error
I have been using the Maxi Gallery snippet on several sites without any problem but recently have gotten the following parse error when trying to upload files via the browser. It appears that there is something that has changed on the server. All three sites are on the same host. I am kind of stuck in a catch 22 because they say that nothing has changed on the server. Nothing has changed in the php scripts and they had been working. Any thoughts would be greatly appreciated.
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: move_uploaded_file(assets/galleries/3/) [function.move-uploaded-file]: failed to open stream: Is a directory
Error type/ Nr.: Warning - 2
File: /home/arcretir/public_html/assets/snippets/maxigallery/maxigallery.php
Line: 371
Line 371 source: move_uploaded_file( $_FILES['file'.$i]['tmp_name'] , $mg->path_to_gal.$name );
Parser timing
MySQL: 0.0035 s (2 Requests)
PHP: 0.0385 s
Total: 0.0420 s
|