Hi when a client of mine tries to upload an image he is getting the following error message. Is there enough information in the error message for anybody to point me in their right direction?
Thanks a lot,
Global
« 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() [function.move-uploaded-file]: Unable to move ’/tmp/php8ZGQr9’ to ’assets/galleries/2069/tommybutterfield.jpg’
Error type/ Nr.: Warning - 2
File: /home/redcliff/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.0264 s (17 Requests)
PHP: 0.1452 s
Total: 0.1716 s
Check
this and the FAQ part.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Thanks Doze for the resource link, the error was fixed by, rather embarrassingly, increasing the webhosting space allocated to the client. My bad.
Thanks for reporting back and posting your "fix" to the issue, I put it to the FAQ.
"He can have a lollipop any time he wants to. That's what it means to be a programmer."