PDA

View Full Version : Installation Help


dianams
07-16-2003, 01:59 AM
I just downloaded v1.095 as my first installed version. I've uploaded the files in binary mode, CHMOD the config.php to 666 and ran install.php

I get the following:

This installation is a:
New Install - Disabled because of an existing installation
Upgrade Install (radio box)

:huh: How can I have an existing installation?? I've never installed this before!

So, because that's the only option I click it, and I get this error:

Error:select value from setting where name='ClientExec Version'


Also, lisence:

They all come with a file called "lisence" ... do I leave the lisence I've downloaded as "license.php" or do I remove the one in the clientexec folder called "license" and rename the one i downloaded? I know in an upgrade it says to rename it to "license" but won't that just overwrite it when you upload the new version? Also, with upgrades, can't the old files just be overwritten with the neww ones? Does they have to removed first? That's going to make for an extra 15-20 minutes of down time.

dianams
07-16-2003, 02:17 AM
Do I really need to create a database?? I don't know anything about my MySQL except that I have no clue how to use it... Username? Password? All I use it for is my forums and stuff that come preconfigured with CPanel. Am I kinda in trouble here? :(

krisdv
07-16-2003, 04:23 AM
If you use Cpanel you should be able to manage your databases here:

http://www.yourdomain.com:2082/3rdparty/ph...Admin/index.php (http://www.yourdomain.com:2082/3rdparty/phpMyAdmin/index.php)

Afterwards you should update the config.php with your database name, userid and password.

Good luck.

dianams
07-16-2003, 04:53 AM
Thanks for the reply. I understand that much, will ClientExect create tables and everything? I really can't even test it out to make sure I've configured it correctly until I get the installation working, which doesn't seem to be happening for some reason. I've tried installing scrpts before and they've never worked if they needed MySQL. It's just a concern I guess. So I have this in my control panel:

annabell_clientexec
Users in annabell_clientexec
annabell_webmast

Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:annabell_clientexec:localhost","annabell_webmast","<PASSWORD HERE>");
PHP $dbh=mysql_connect ("localhost", "annabell_webmast", "<PASSWORD HERE>") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("annabell_clientexec");&nbsp;

I'm assuming "connection strings" is irrelivant? I've entered the database in config.php as "annabell_clientexec" and user as "annabell_webmast" ... seem okay so far? :(

Thanks so much.

krisdv
07-16-2003, 05:50 AM
The db name and userid is correct, did you set the password too?
Clientexec will create and populate the tables during install.

Also keep in mind what Alberto posted before:

NEW INSTALL ISSUE!

Before installing a fresh install you will need to delete the statement define("INSTALLED",0); from your config.php

Then run install.php

dianams
07-16-2003, 05:59 AM
<!--QuoteBegin-krisdv+Jul 16 2003, 03:50 AM--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (krisdv @ Jul 16 2003, 03:50 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Also keep in mind what Alberto posted before:

NEW INSTALL ISSUE!

Before installing a fresh install you will need to delete the statement define("INSTALLED",0); from your config.php
[/b][/quote]
ooo I missed that comment, thanks! And yes, I did create a password.