page not found problem (config..) page not found problem (config..)
 

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]

Main Menu

page not found problem (config..)

Started by melie, July 10, 2005, 02:27:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

melie

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 :)

kegobeer

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

minzy

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

kegobeer

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?
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

minzy

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!

kegobeer

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/
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

minzy

thanks again !

but uh, sorry, I am not sure that I understand what you mean. Where should I do what exactly?

minzy

I found what you meant, but the url there is correct. It says http://www.mysite.net/gallery/

I hope you have another suggestion? :)

Joachim Müller

post your actual URL instead of the dummy placeholder "mysite.net" for a start.

minzy

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.

Joachim Müller


minzy

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..... :-[

minzy

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

minzy

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?


minzy

Great, thank you!

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