coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: jbekhor on September 09, 2004, 06:40:30 PM

Title: errors on upload page....
Post by: jbekhor on September 09, 2004, 06:40:30 PM
USER:
------------------
Array
(
    [ID] => a6114b3fe5f554e2433a00e783495bfe
    [am] => 1
    [liv] => Array
        (
           
Title: Re: errors on upload page....
Post by: kegobeer on September 09, 2004, 07:00:55 PM
We need more information in order to help you.  What were you doing?  Were you doing a batch add, or a single file upload?  Have you read the instructions to make sure you're doing everything correctly?  They are in the directory /docs.  How about making a test user and posting your url and login/pass info for that test user?
Title: Re: errors on upload page....
Post by: jbekhor on September 09, 2004, 07:47:37 PM
no problem heres whats going on....



i was adding files (jpegs) to the site via the uploader 5 per instince it was going ok for like 35 of the 60 images but on the 35-40 set it came back with major errors and me well im an idiot with php and all that so i cant figure it out i got batch to work for uploading but when clients will later want to add files it wont let them when i goto upload page i shows errors at the top and seems broken

but enough outa me check it out

URL:
www.gigabitela.com/pictures

login: test
pw  : test1

Good LUCK

btw i restricted the images doto the graphic nature i am sorry :D
Title: Re: errors on upload page....
Post by: Joachim Müller on September 09, 2004, 10:34:56 PM
you should have posted these errors:
QuoteWarning: is_dir(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/gigabite/public_html/pictures/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/. (errno=13 - Permission denied) in /home/gigabite/public_html/pictures/upload.php on line 440

Warning: unlink(./albums/edit/.): Permission denied in /home/gigabite/public_html/pictures/upload.php on line 453

Warning: is_dir(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/gigabite/public_html/pictures/upload.php on line 432

Warning: filemtime(): Stat failed for ./albums/edit/.. (errno=13 - Permission denied) in /home/gigabite/public_html/pictures/upload.php on line 440

Warning: unlink(./albums/edit/..): Permission denied in /home/gigabite/public_html/pictures/upload.php on line 453
Make sure the edit folder exists within the albums folder, and that everything is CHMODed as suggested in the docs.

Joachim
Title: Re: errors on upload page....
Post by: Nibbler on September 09, 2004, 11:03:34 PM
It's because the code for auto recreation of the edit dir causes it to be owned by the server not the user and the permissions assigned are 666 and unchangeable by the user.
Title: Re: errors on upload page....
Post by: pokerbull on September 10, 2004, 04:09:16 AM
I have the same problem.
Sounds like Nippler's explanation is correct. So how do we change the permissions of the edit folder? I tried and it won't let me.
Title: Re: errors on upload page....
Post by: pokerbull on September 10, 2004, 05:11:05 PM
I figured out an easy way to change the edit folder permissions. First, rename the edit folder to something like "edit1".   Then create another folder called edit. Chmod the new edit folder  to 777.  This worked for me. 

BTW, CPG 1.3 is awesome, now that everything works. Thanks guys!