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: PB with config.php  (Read 5315 times)

0 Members and 1 Guest are viewing this topic.

maousse

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
PB with config.php
« on: August 03, 2004, 11:40:23 am »

hello  
first i want to thanks all dev for your job
i loved  phpbb and now making a viewer like coppermine in free is really marvelous for me
you have seen .. i am a poor french
so sorry for my english

my problem is very strange :
i have succeed in the install with your install.php no problem here
BUT when i choose CONFIG  and if the path is for example :
http://www.toto.com//volley/coppermine/config.php

if i change language for french or an other language
if i click on " SAVE NEW CONFIGURATION"

i reach a new adress like this one
http://www.toto.com/www.toto.com//volley/coppermine/config.php
and so error page

can you tell me where is my error ?
thx all
i hope to be able to find help because this script is really what i want


PS : when i log  i have " WELCOME toto" with this path
http://www.toto.com//volley/coppermine/login.php?referer=%2Fwww.maousse.com%2F%2Fvolley%2Fcoppermine%2Findex.php

and suddenly the path change for
http://www.toto.com/www.toto.com//volley/coppermine/index.php
same pb :(
Logged

maousse

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: PB with config.php
« Reply #1 on: August 03, 2004, 08:19:26 pm »

no idea ???
an admin canhelp me please ?
Logged

Nibbler

  • Guest
Re: PB with config.php
« Reply #2 on: August 03, 2004, 08:44:23 pm »

It's a server setup problem, not a coppermine issue. You can hardcode config.php
Code: [Select]
<form action="$PHP_SELF" method="post"> to
Code: [Select]
<form action="config.php" method="post"> but the real solution is to get your host to fix the server vars.
Logged

maousse

  • Coppermine newbie
  • Offline Offline
  • Posts: 3
Re: PB with config.php
« Reply #3 on: August 03, 2004, 09:43:30 pm »

thx it works !
but this change can block some informaion or no problem ?

i want to know if this change can block something in this script in the futur

for login.php i have the same pb what can i change please ?

i have place this  : <form action="login.php" method="post" name="loginbox">
and it works but i hope all these change dont modify the script
i dont know php..
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: PB with config.php
« Reply #4 on: August 04, 2004, 09:48:19 am »

You will probably have to replace other <form> tags as well in the future. Please do as Nibbler already suggested and ask your webhost to change this for you; poorly configured webservers are bound to cause problems sooner or later.

GauGau
Logged

Nibbler

  • Guest
Re: PB with config.php
« Reply #5 on: September 15, 2004, 01:45:05 pm »

For reference, if your server is running ProXad, you may need to open your include/init.inc.php and change

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

Code: [Select]
$PHP_SELF = $HTTP_SERVER_VARS['SCRIPT_NAME'];
for some forms to work.
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 19 queries.