coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: J5 on November 27, 2004, 06:17:54 AM

Title: 404 error when editing descriptions - SOLVED: upper and lowercase filenames
Post by: J5 on November 27, 2004, 06:17:54 AM
Firstly, thanks for a great piece of software -- it's awesome.

The problem that I'm experiencing is a 404 error message when I click on "Edit Description" underneath images when in admin mode (the problem also exists for "Crop and Rotate". "DELETE THIS FILE" works fine.

I am able to edit and save descriptions if I select "EDIT FILES" from the main gallery pages.

Thanks.

*****
Title: Re: 404 error when editing descriptions
Post by: kegobeer on November 27, 2004, 04:20:55 PM
Do you have the files editOnePic.php and picEditor.php uploaded to your website?
Title: Re: 404 error when editing descriptions
Post by: J5 on November 28, 2004, 04:20:05 AM
kegobeer, thanks for asking the question -- it put me on the right track and the problem is solved.

My ftp program is set to change all filenames to lowercase as they're uploaded -- as a result, editOnePic.php changed to editonepic.php

The link calls for the file as upper and lowercase -- I've changed the filename to the same as the link and now it works fine.

Thanks again. :)

*****
Title: Re: 404 error when editing descriptions - SOLVED: upper and lowercase filenames
Post by: kegobeer on November 28, 2004, 05:50:48 PM
A rule of thumb to remember: *nix systems are case-sensitive, Windows systems are not.
Title: Re: 404 error when editing descriptions - SOLVED: upper and lowercase filenames
Post by: J5 on November 28, 2004, 08:49:45 PM
Interestingly... the editOnePic.php file unzips in all lowercase.

It's the link in the software that uses upper and lowecase filenames.

*****
Title: Re: 404 error when editing descriptions - SOLVED: upper and lowercase filenames
Post by: Tranz on November 28, 2004, 09:09:16 PM
It's probably your system because it is not a commonly reported thing to have that file unzip in all lowercase. What is your OS? Did you check the setting in the unzip app that would unzip files in all lowercase?