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: page not found problem (config..)  (Read 5451 times)

0 Members and 1 Guest are viewing this topic.

melie

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
page not found problem (config..)
« 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 :)
« Last Edit: September 28, 2005, 01:58:22 pm by Nibbler »
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: page not found problem (config..)
« Reply #1 on: July 12, 2005, 03:54:53 am »

How about a link to your site?
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

minzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • no nobody
Re: page not found problem (config..)
« Reply #2 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
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: page not found problem (config..)
« Reply #3 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?
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

minzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • no nobody
Re: page not found problem (config..)
« Reply #4 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!
Logged

kegobeer

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 4637
  • Beer - it does a body good!
    • The Kazebeer Family Website
Re: page not found problem (config..)
« Reply #5 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/
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

minzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • no nobody
Re: page not found problem (config..)
« Reply #6 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?
Logged

minzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • no nobody
Re: page not found problem (config..)
« Reply #7 on: September 28, 2005, 08:58:45 am »

I found what you meant, but the url there is correct. It says
Code: [Select]
http://www.mysite.net/gallery/
I hope you have another suggestion? :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: page not found problem (config..)
« Reply #8 on: September 28, 2005, 10:50:37 am »

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

minzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • no nobody
Re: page not found problem (config..)
« Reply #9 on: September 28, 2005, 10:58:52 am »

Code: [Select]
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.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Logged

minzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • no nobody
Re: page not found problem (config..)
« Reply #11 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..... :-[
Logged

minzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • no nobody
Re: page not found problem (config..)
« Reply #12 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

Quote
Edit the file "init.inc.php" and look for

Code: [Select]
$PHP_SELF = isset($HTTP_SERVER_VARS['REDIRECT_URL']) ? $HTTP_SERVER_VARS['REDIRECT_URL'] : $HTTP_SERVER_VARS['SCRIPT_NAME'];
Replace it with

Code: [Select]
$PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF'];

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

Thnx anyway
Logged

minzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • no nobody
Re: page not found problem (config..)
« Reply #13 on: September 28, 2005, 01:28:41 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?
Logged

Nibbler

  • Guest
Logged

minzy

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
    • no nobody
Re: page not found problem (config..)
« Reply #15 on: September 28, 2005, 01:47:12 pm »

Great, thank you!

That too works fine now, hopefully it all does now.  :)
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 15 queries.