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: can't edit config.php  (Read 3900 times)

0 Members and 1 Guest are viewing this topic.

smallseb

  • Coppermine newbie
  • Offline Offline
  • Gender: Male
  • Posts: 4
    • Caenvoiedugros
can't edit config.php
« on: December 28, 2004, 05:33:49 pm »

Hi, I know this problem has been asked a lot of times but i still not understand what i should do after houres of trying...

I'm french so if people can answer in my own language it's cool, if not, it's ok....

My problem is simple, when i try to update configuration, making folders...
I have a "not foud" error for config.php
my website is www.website.com and coppermine is installed under www.mywebsite.com/dir/coppermine
But when i try to update informations (for example config infos) it says that it can't foud "config.php" on the server.
Why? because it's reaching it in www.mywebsite.com and not under www.mywebsite.com/dir/coppermine...

I tryed to change things in the "include/init.inc.php" but it don't work.
I'm loosing my head :o, can anyone help me?!!
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: can't edit config.php
« Reply #1 on: December 29, 2004, 05:45:15 pm »

this is usually caused by an improper server setup, or running an outdated php version on your server (there are security related issues with outdated php versions, you should upgrade asap); people report to have errors similar to yours who don't have $HTTP_SERVER_VARS['SCRIPT_NAME'] set up correctly (check phpinfo to find out about your server's settings for this particular var). This has been discussed in the past already, for a detailed explanation please search the board (or take a look at http://forum.coppermine-gallery.net/index.php?topic=2712 for example). As a quick fix, you can edit config.php, find
Code: [Select]
<form action="$PHP_SELF" method="post">and replace with
Code: [Select]
<form action="config.php" method="post">, but this will only cure the issue with coppermine's config - you will probably run into similar issues later, as other coppermine core files use $HTTP_SERVER_VARS['SCRIPT_NAME'] as well.
If you need help in french I suggest you take a look at Language Specific Support | Français (French). If you have language issues with the answers I posted, just reply to this thread and post your question in french once more - one of the moderators will then move this thread to the french support board, so the french-speaking supporters might have a look at this.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 16 queries.