Several Warnings when "Uploading Pics", doesn't work anymore! Several Warnings when "Uploading Pics", doesn't work anymore!
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Several Warnings when "Uploading Pics", doesn't work anymore!

Started by joelgomez, March 02, 2005, 05:25:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

joelgomez

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.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.galeria4x4.com.mx%2Fphotos%2Fsignature_cpg.php&hash=0ca85f271c3cb7f46895832fc6e062b32ab897ca)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

joelgomez

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.
(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.galeria4x4.com.mx%2Fphotos%2Fsignature_cpg.php&hash=0ca85f271c3cb7f46895832fc6e062b32ab897ca)

Joel A. Gomez
Amateur Photographer & Jeep Lover!
www.galeria4x4.com
fotos.joelgomez.com

Caio Schleich

Explain it step by step. I have the same troubles and I cant fix em

thx