Problem with Copperime installation - Please help Problem with Copperime installation - Please help
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Problem with Copperime installation - Please help

Started by thuserver, February 12, 2004, 05:45:09 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

thuserver

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_

"

Joachim Müller

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

wbmstr24

I keep getting this error

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

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


OmegaGOD

The ./include directory needs to be writable by the server.
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

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

Do i CHMO to become writteable??

Nibbler

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.

Joachim Müller

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!