coppermine-gallery.com/forum

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Installation & Setup => Topic started by: melie on July 10, 2005, 02:27:44 PM

Title: page not found problem (config..)
Post by: melie on July 10, 2005, 02:27:44 PM
Hey! I've just create a gallery for my website,  but when I want to edit my profile or to login, i can't cos it looks for myurl/config.php (or profile.php) instead of myurl/gallery/config.php .. so i get an error page/webpage not found!  anyone knows what the problem could be? thanks :)
Title: Re: page not found problem (config..)
Post by: kegobeer on July 12, 2005, 03:54:53 AM
How about a link to your site?
Title: Re: page not found problem (config..)
Post by: minzy on September 27, 2005, 08:38:52 PM
hi, have the same problem.  just installed 1.35, it all went fine. Now I wanted to edit the config, I opened it, changed some things and then tried to save it. Then I got the error:

"Not Found.
The requested URL /config.php was not found on this server."

In this address, the folder/directory where I installed is missing.. what should I do to get it right?

Thanks
Title: Re: page not found problem (config..)
Post by: kegobeer on September 27, 2005, 10:32:24 PM
Please clarify - you went to yoursite.com/config.php in your webbrowser, clicked the save changes button, and received your error message?  You then used a FTP client and discovered the entire Coppermine directory is missing?
Title: Re: page not found problem (config..)
Post by: minzy on September 27, 2005, 10:44:38 PM
I installed it, logged in and klicked on the config tab. Made some chanches and then I wanted to save that. At that moment it gave me that error. 

"Not Found.
The requested URL /config.php was not found on this server."

I looked at the url and saw that it said "www.mysite.net/config.php" where it should have said "www.mysite.net/gallery/config.php".
That means it "linked" to a wrong address/url.

Understand what I mean?  :)

Thanks!
Title: Re: page not found problem (config..)
Post by: kegobeer on September 27, 2005, 10:51:34 PM
Use phpMyAdmin and put in the correct URL to your Copppermine gallery.  cpg135_config -> ecards_more_pic_target

You probably have www.mysite.com/ instead of www.mysite.com/gallery/
Title: Re: page not found problem (config..)
Post by: minzy on September 27, 2005, 10:57:49 PM
thanks again !

but uh, sorry, I am not sure that I understand what you mean. Where should I do what exactly?
Title: Re: page not found problem (config..)
Post by: minzy on September 28, 2005, 08:58:45 AM
I found what you meant, but the url there is correct. It says http://www.mysite.net/gallery/

I hope you have another suggestion? :)
Title: Re: page not found problem (config..)
Post by: Joachim Müller on September 28, 2005, 10:50:37 AM
post your actual URL instead of the dummy placeholder "mysite.net" for a start.
Title: Re: page not found problem (config..)
Post by: minzy on September 28, 2005, 10:58:52 AM
http://www.nonobody.net/anybody/  :P  ;D

When I log in at my admin-account and klick on "continue" (or wait till it does that itself) I again get the message
"Not Found
The requested URL /index.php was not found on this server."

This error again because it doesn't link to the right folder/directory....

When I'm not logged in, all the links seems to work fine.
Title: Re: page not found problem (config..)
Post by: Joachim Müller on September 28, 2005, 11:10:32 AM
http://forum.coppermine-gallery.net/index.php?topic=8335.msg76046#msg76046
Title: Re: page not found problem (config..)
Post by: minzy on September 28, 2005, 11:36:09 AM
thank you...

I have read that, opened the file in "edit plus", found the line, but, and I hope you will not shoot this newby for that, I don't understand what I should do now exactly..... :-[
Title: Re: page not found problem (config..)
Post by: minzy on September 28, 2005, 12:56:58 PM
don't bother :)
Did some "googling" and found what I should do here: http://coppermine.sourceforge.net/faq.php#ErrorUndefinedIndex

QuoteEdit the file "init.inc.php" and look for

$PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];

Replace it with

$PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];

That is language I can understand :) Now it works fine.

Thnx anyway
Title: Re: page not found problem (config..)
Post by: minzy on September 28, 2005, 01:28:41 PM
Quote from: minzy on September 28, 2005, 12:56:58 PM
Now it works fine.

:-\\ It does not.... same problem occurs when I, f.e., choose another language. Here also it doesn't link to the proper url/directory. Is there anybody who can tell me where I should change that?
Title: Re: page not found problem (config..)
Post by: Nibbler on September 28, 2005, 01:32:45 PM
http://forum.coppermine-gallery.net/index.php?topic=18079.msg83694#msg83694
Title: Re: page not found problem (config..)
Post by: minzy on September 28, 2005, 01:47:12 PM
Great, thank you!

That too works fine now, hopefully it all does now.  :)