I have had CPG running for asome time, then all of a sudden when a user trys to upload an image the following error appears:
Warning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /var/www/gallery/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /var/www/gallery/upload.php on line 440
Warning: unlink(./albums/edit/.): Permission denied in /var/www/gallery/upload.php on line 453
Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /var/www/gallery/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /var/www/gallery/upload.php on line 440
Warning: unlink(./albums/edit/..): Permission denied in /var/www/gallery/upload.php on line 453
You need to make both ./albums and ./albums/edit writeable by the webserver. ie CHMOD 777|755 those directories.