Hello,
I encountered a wierd situation. Just created a new gallery and uplaoded 60 pictures no problems! after that i gets this error:
« 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/1148/) [function.move-uploaded-file]: failed to open stream: Is a directory
Error type/ Nr.: Warning - 2
File: /home/benw/www.domainname.com/htdocsnew/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.0049 s (12 Requests)
PHP: 0.1283 s
Total: 0.1331 s
i thought there is a limit on pictures in the gallery by default so increased it to 9999, still no luck.
please help
aleks
MODx Revo 2.0.6-pl (Traditional) | Apache 2.2.3 | PHP 5.2.14 | MySQL 5.0.77 | MAC OS 10.6.5 | FF 3.6/Chrome 9.0.5
Is the one that fails a bigger image when comparing to the ones that were uploaded successfully? Could it be that you are exceeding the maximum post size or file upload size that is set in your server environment?
"He can have a lollipop any time he wants to. That's what it means to be a programmer."