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: Problem with Copperime installation - Please help  (Read 8270 times)

0 Members and 1 Guest are viewing this topic.

thuserver

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Problem with Copperime installation - Please help
« on: February 12, 2004, 05:45:09 am »

I am running IIS 5.1 on Windows XP Pro.   I had already installed mysql and created a database.  I also installed PHP v4.3.4 and unzipped gdwin32 in the web server directory.

I removed "read-only" from "include/config.inc.php" and "albums".  However, they were set back "read-only" automatically.


When I install Coppermine (http://localhost/cpg1.2.1_standalone/install.php),  the following error messages were generated.  What could be the problem?.  I appreciate any suggestion.


"

Welcome to Coppermine installation
• • • ERROR • • •  
The following errors were encountered and need to be corrected first:


--------------------------------------------------------------------------------

Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Can't connect to MySQL server on 'localhost' (10061)


--------------------------------------------------------------------------------

Unable to write config file 'include/config.inc.php'
 

Your admin account

Username:  xxxxxx
Password:   yyyyyy

Your MySQL configuration

MySQL Host: localhost
MySQL Database Name:  somedb
MySQL Username:  nnnnnn
MySQL Password:   zzzzzzz
MySQL table prefix:  cpg11d_

"
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Problem with Copperime installation - Please help
« Reply #1 on: February 12, 2004, 06:29:20 am »

you shouldn't be running a webserver if you don't know the basics.
Quote from: "thuserver"
removed "read-only" from "include/config.inc.php" and "albums". However, they were set back "read-only" automatically
[...]
Unable to write config file 'include/config.inc.php'
The equivalent to CHMOD in the lunix world is NOT the "read-only" attribute of a file! There's a file permission concept on M$-servers as well (at least when using NTFS, which is recommended). To do the equivalent of a CHMOD 755 on Windows, right click - "properties" - "Permissions"  (or similar, not sure now as I'm running a non-English language OS here). Add the user called "IUSR_hostname" or similar and let him read, write and execute. Make sure to check the option "propagate" as well.

Quote from: "thuserver"
Could not create a mySQL connection, please check the SQL values entered

MySQL error was : Can't connect to MySQL server on 'localhost' (10061)
Obviously you haven't set up mySQL properly on your server, or you haven't supplied the correct mySQL data to the form on the coppermine install page. Time to check the manual/documentation that comes with mySQL...

This is not the board "how do I set up a server properly", it's only about coppermine. Try to get your server up-and-running first, before starting to install a script as complex as coppermine. (Coppermine is easy to setup up, presuming you already have a properly-configured webserver).

GauGau
Logged

wbmstr24

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Problem with Copperime installation - Please help
« Reply #2 on: April 30, 2005, 03:01:06 am »

I keep getting this error

Unable to write config file 'include/config.inc.php'

What should i do?? I'm kindda new to this.

Logged

OmegaGOD

  • Supporter
  • Coppermine frequent poster
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 346
  • I approve.
Re: Problem with Copperime installation - Please help
« Reply #3 on: April 30, 2005, 04:13:10 am »

The ./include directory needs to be writable by the server.
Logged
Please do not PM me with support questions. Please read the manual and then if posting questions please place them in the proper sub-boards.

wbmstr24

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Problem with Copperime installation - Please help
« Reply #4 on: April 30, 2005, 04:37:42 am »

on my include file  i have one that says --->   config.inc.php.sample

Do i CHMO to become writteable??
Logged

Nibbler

  • Guest
Re: Problem with Copperime installation - Please help
« Reply #5 on: April 30, 2005, 02:48:05 pm »

No, that file is just to show you the syntax of the config file if you wish to create one manually. Coppermine doesn't do anything with it.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Problem with Copperime installation - Please help
« Reply #6 on: April 30, 2005, 06:14:38 pm »

you need to CHMOD the folder, not just an individual file, as suggested in the docs. As you appear to be in the process of installing coppermine, it's recommended not to install the outdated version cpg1.2.x, but the most recent stable version cpg1.3.3!
Logged
Pages: [1]   Go Up
 

Page created in 0.049 seconds with 18 queries.