coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Upload => Topic started by: hobbit55 on October 09, 2005, 07:37:19 PM

Title: Getting HTTP 404 - Install not registering right directory
Post by: hobbit55 on October 09, 2005, 07:37:19 PM
I am trying to install on a subdomain

http://playground.afterhoursfriends.com/imagery/  (http://playground.afterhoursfriends.com/imagery/)

The install path is

http://www.afterhoursfriends.com/subplayground/imagery/  (http://www.afterhoursfriends.com/subplayground/imagery/)

I have a PHP based Invision board on another subdomain:

http://hobbittshideout.afterhoursfriends.com/forum/

and it works fine.

Install appears to go well, except that when I go to configure it I notice that
"Target address for the 'See more pictures' link in e-cards " is

http://playground.afterhoursfriends.com/subplayground/imagery/

I remove the "subplayground" and finish configuring. After creating an album and finishing the settings I try and upload a picture. I get an HTTP 404 : Page Cannot Be Found. The URL in the address bar is:

http://playground.afterhoursfriends.com/subplayground/imagery/upload.php

Which is obviously the wrong path, as shown by the install path stated above. I've been working on this since yesterday. I was able to install it and upload on root directory with no problem.

I have deleted the database in mysql and recreated it (a few times) and reinstalled. Even deleted all the files and re-uploaded, I can't find any reason why it would be working just fine in everyother way but comes up with wrong directory when trying to upload.

Title: Re: Getting HTTP 404 - Install not registering right directory
Post by: hobbit55 on October 09, 2005, 07:47:30 PM
Sorry, should've included the point at which I get the 404 error.

It is after I select the file to upload and then click to upload it.
Title: Re: Getting HTTP 404 - Install not registering right directory
Post by: hobbit55 on October 09, 2005, 08:30:19 PM
Nevermind. After all this time, right after I posted second message I got an idea of what may be causing the problem so I installed a second one in another directory and it works fine.

When installing I was going to

http://playground.afterhoursfriends.com/imagery/install.php

This time I created another directory (didn't want someone to show up to check the other and it not be there and this not work), photos.

To install I went to

http://afterhoursfriends.com/subplayground/photos/install.php

Apparently have to use the full path from root directory when installing on subdomain.