My Gallery was working fine until a few minutes ago. I was trying to upload bigger pictures, so I went to CONFIG and changed two parameters: Max size for uploaded files (KB): "450 Kb", and Quality for JPEG files: "100". Then I received these errors when clicking on "Upload File":
QuoteWarning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /var/www/html/photos/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /var/www/html/photos/upload.php on line 440
Warning: unlink(./albums/edit/.): Permission denied in /var/www/html/photos/upload.php on line 453
Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /var/www/html/photos/upload.php on line 432
Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /var/www/html/photos/upload.php on line 440
Warning: unlink(./albums/edit/..): Permission denied in /var/www/html/photos/upload.php on line 453
Tried to upload file (95kb) and the following errors appear:
QuoteWarning: move_uploaded_file(./albums/edit/mHTTP_temp_0f666616.jpg): failed to open stream: Permission denied in /var/www/html/photos/upload.php on line 1197
Warning: move_uploaded_file(): Unable to move '/tmp/php1vgqX9' to './albums/edit/mHTTP_temp_0f666616.jpg' in /var/www/html/photos/upload.php on line 1197
Information: 0 uploads were successful.
WHAT HAPPENED? I tried to return to the previous configuration and still not working.
I FIXED IT MYSELF! CAN'T BELIEVE IT! I went to the chmod permissions of albums/edit and that WAS the problem. For a reason I dont understand, the chmod was changed without my authorization.
Thanks.
Explain it step by step. I have the same troubles and I cant fix em
thx