Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: can't get to Install.php - 404 file not found!  (Read 5490 times)

0 Members and 1 Guest are viewing this topic.

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
can't get to Install.php - 404 file not found!
« on: February 24, 2005, 09:40:50 pm »

After deciding to give CPG a try I signed up with a web host today, downloaded cpg, unziped it and uploaded it via ftp. Attended to the album and included files (although I didn' get the second option) logged out and tried to install from my browser with http://www.denisg.co.uk/coppermine_dir/install.php. All I get is a 404 File not found error but I know its there!

Host is http://www.qiq.co.uk/technology1.php#

php; 4.3.10
perl; 5.008
mysql; 4.1.8
gd; 2.0.28 (compatible)
asp; 4.0.1L

Can anyone help please?

Denis.
« Last Edit: February 25, 2005, 04:59:58 pm by GauGau »
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: can't get to Install.php - 404 file not found!
« Reply #1 on: February 24, 2005, 09:46:05 pm »

Is the name of your coppermine folder really coppermine_dir?
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: can't get to Install.php - 404 file not found!
« Reply #2 on: February 24, 2005, 10:36:27 pm »

No, just Coppermine, but following the documentation destructions ;) it says use http://your_server/coppermine_dir/install.php.

Denis
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: can't get to Install.php - 404 file not found!
« Reply #3 on: February 24, 2005, 10:41:41 pm »

coppermine_dir is just a placeholder, like your_server

Neither coppermine nor Coppermine worked. Please specify the actual coppermine folder with correct capitalization.
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: can't get to Install.php - 404 file not found!
« Reply #4 on: February 24, 2005, 11:31:29 pm »

Thanks, but before I approached the forum I tried every connotation I could think of. Now I am a pure novice here, a little long in the tooth perhaps. A friend loaned me some space on his server with CPG to play with ie http://www.denis.phocus-on.co.uk/gallery/index.php and I liked it as a replacement for pbase ie http://www.pbase.com/denisg . The gallery side should not be an initial problem for me. The new host gallery I set up today is denisg.co.uk. Once set up I opened SmartFTP and conected to this new and completely empty site except for an introductory welcome page Index.html in folder Public_html. Once Smart had logged in there was the main folder FTP.denisg.co.uk which contained cgi-bin, mivadata and public_html. CPG was uploaded directly to ftp.denisg.co.uk folder as Coppermine, was this correct?

However, www.denisg.co.uk/Coppermine/Install.php or ftp.denisg.co.uk/Coppermine/Install.php both result in 404 error. What am I missing here?.

Denis

Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: can't get to Install.php - 404 file not found!
« Reply #5 on: February 24, 2005, 11:42:01 pm »

Did you put Coppermine folder into public_html? That's where it should go.

If your server OS is case-sensitive, install.php is seen as a different file from Install.php
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: can't get to Install.php - 404 file not found!
« Reply #6 on: February 24, 2005, 11:50:14 pm »

Now we're getting somewhere. Moved cpg to Public folder and got a response, not what I wanted but I know we are nearly there!

So what permission problem "A file permissions error has occurred. Please check the permissions on the script and the directory it is in and try again."

Denis
Logged

Gas

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: can't get to Install.php - 404 file not found!
« Reply #7 on: February 24, 2005, 11:55:56 pm »

You should read through the documentation...

Read this, especially the part about CHMODS:
http://coppermine.sourceforge.net/manual.php#how

You need to CHMOD the directories ALBUMS, INCLUDE, USERPICS and EDIT to 777. The last to folders are inside the albums folder.
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: can't get to Install.php - 404 file not found!
« Reply #8 on: February 25, 2005, 12:07:43 am »

Gaz, they all are 777. Using SmartFTP you don't get the second option as in the demo. You do get three additional boxes for SET:UID, GID and Sticky. These are currently un-ticked. Help has no indication as to what these are for.

Denis
« Last Edit: February 25, 2005, 12:17:11 am by DenisG »
Logged

Gas

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: can't get to Install.php - 404 file not found!
« Reply #9 on: February 25, 2005, 08:13:12 am »

The Values Sticky, Set GID and Set UID must be UNticked, so that is correct.

Re-Check your CHMODs, SmartFTP sometimes doesn't set it correctly. And set all folders IN your album-directory (userpic and edit) to 777, too. This is not written in the documentation.

If you are able to give me a test FTP Account (or at least an URL to your install script), i can look what's wrong. You can send me by PM if you want.
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: can't get to Install.php - 404 file not found!
« Reply #10 on: February 25, 2005, 09:19:06 am »

Checked em all Gas, all 777's. Gave up, went to bed :D. Same thing this morning, see your IM

Denis
Logged

Gas

  • Coppermine newbie
  • Offline Offline
  • Posts: 11
Re: can't get to Install.php - 404 file not found!
« Reply #11 on: February 25, 2005, 01:23:55 pm »

unfortunately your isp seems to block my IP Range, as i cant get in neither by FTP or in the control panel. Did you check that the other files /directories of coppermine have execution rights (755)?
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: can't get to Install.php - 404 file not found!
« Reply #12 on: February 25, 2005, 02:59:20 pm »

The folders discussed earlier are all 777. All other folders are 755. All files within the folders appear to be 644's except for themes where thay are all 755's. I dont think the install.php file is the problem as I get the same message just using /Coppermine after the normal url. The file manager indicates the Coppermine folder as also being 777.

Denis.
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: can't get to Install.php - 404 file not found!
« Reply #13 on: February 25, 2005, 03:03:46 pm »

Have you asked your host about your permission problems?  They may be able to do something to help you out.
Logged
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can't get to Install.php - 404 file not found!
« Reply #14 on: February 25, 2005, 03:10:20 pm »

don't "trust" the information your ftp shows you - on some configurations, the actual permissions aren't displayed properly. Even if a folder appears to be CHMODed one way or the other, apply the permission you want it to have to the folder, don't just check the permissions.

Joachim
Logged

DenisG

  • Coppermine regular visitor
  • **
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 74
Re: can't get to Install.php - 404 file not found!
« Reply #15 on: February 25, 2005, 03:19:35 pm »

SOLVED[/i] :D :D

Not sure how after chopping and changing chmods but it all seemed to come together changing 'Coppermine' folder to 755. So, many many thanks folks, the help really is most appreciated.

Denis.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can't get to Install.php - 404 file not found!
« Reply #16 on: March 15, 2005, 01:25:50 pm »

Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 15 queries.