forum.coppermine-gallery.net

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: thuserver on February 12, 2004, 05:45:09 am

Title: Problem with Copperime installation - Please help
Post by: thuserver 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_

"
Title: Problem with Copperime installation - Please help
Post by: Joachim Müller 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
Title: Re: Problem with Copperime installation - Please help
Post by: wbmstr24 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.

Title: Re: Problem with Copperime installation - Please help
Post by: OmegaGOD on April 30, 2005, 04:13:10 am
The ./include directory needs to be writable by the server.
Title: Re: Problem with Copperime installation - Please help
Post by: wbmstr24 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??
Title: Re: Problem with Copperime installation - Please help
Post by: Nibbler 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.
Title: Re: Problem with Copperime installation - Please help
Post by: Joachim Müller 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!