Page 1 of 2

No short install!

Posted: Tue Jun 14, 2005 10:49 pm
by steve
Hi,

I hope that someone can help.

I've just uploaded all the files and when i open up my site in the browser I get 'Site down for maintenance.' instead of the Install screen.

Any help is very much appreciated.

:)

Re: No short install!

Posted: Wed Jun 15, 2005 2:49 am
by Ted
Very strange...

I would remove config.php.  If that doesn't help, then remove the tmp/cache/SITEDOWN file...

Re: No short install!

Posted: Wed Jun 15, 2005 6:47 am
by Tom
Did you open the right url? If I remember correctly, you have to go to siteurl/install/install.php, not just to siteurl, for install to happen.

Re: No short install!

Posted: Wed Jun 15, 2005 9:05 am
by steve
Thanks for the quick reply guys,

I removed the config.php file which when loading the site up in a browser gave me the message:

'Cannot create /home/sharpei/public_html/config.php, please change permissions to allow this'

This looks like it will be an easy fix, just change the permissions. But which file/folder? public_html?

whaduyathink

:)

Re: No short install!

Posted: Wed Jun 15, 2005 9:37 am
by Ted
Either that, or make a blank config.php file and give that full permissions.

Re: No short install!

Posted: Wed Jun 15, 2005 9:42 am
by Tom
I think what wishy suggested should work. If you will be having further problems and need someone to look at it, feel free to send me PM (though I can't promise full success, being just a fellow user).

Re: No short install!

Posted: Wed Jun 15, 2005 10:15 am
by steve
I'm in!! You guys are great!
Thanks

Got another problem now :/

Step 3 of the installation, this is the info that I'm putting in:

Database Type:
Database host address: localhost
Database host port: 3306
Database name: sharpei_cms
Username:    sharpei_penski
Password:
Table prefix cms_
Create Tables (Warning: Deletes existing data)



and this is the error message:

'Warning: mysql_connect(): Access denied for user: 'sharpei_penski@localhost' (Using password: YES) in /home/sharpei/public_html/lib/adodb/drivers/adodb-mysql.inc.php on line 339
Connection failed'


This is the db info (i think!)

Users in cms
sharpei_penski (Privileges: ALL PRIVILEGES)
Connection Strings
Perl $dbh = DBI->connect("DBI:mysql:sharpei_cms:localhost","sharpei_penski","");
PHP $dbh=mysql_connect ("localhost", "sharpei_penski", "") or die ('I cannot connect to the database because: ' . mysql_error());
mysql_select_db ("sharpei_cms");


I'm not sure what's going on, any ideas?

:)

Re: No short install!

Posted: Wed Jun 15, 2005 12:33 pm
by Ted
It looks right to me.  Are you positive the password is right?

Re: No short install!

Posted: Wed Jun 15, 2005 1:37 pm
by steve
Doh!! How stupid do i feel!!

I did have the wrong password.

Thanks for all your help, I'll paypal some beer tokens over to you :)

Re: No short install!

Posted: Wed Jun 15, 2005 1:44 pm
by Ted
Now that's my kind of donation.  :)

Re: No short install!

Posted: Wed Jun 15, 2005 7:15 pm
by Alex_Leipzig
Another question: what if can't create new users in my mysql-db and not change the db's name?

Re: No short install!

Posted: Wed Jun 15, 2005 7:24 pm
by Ted
Use the existing username and database.  If you use a obscure prefix (instead of cms_), you should have no worries of table overlap.

Re: No short install!

Posted: Thu Jun 16, 2005 4:32 pm
by Alex_Leipzig
wishy wrote: Use the existing username and database.  If you use a obscure prefix (instead of cms_), you should have no worries of table overlap.
Sorry, but: what is an obscure prefix?

Re: No short install!

Posted: Thu Jun 16, 2005 11:40 pm
by Ted
Changing cms_ to myuniqueprefix_ on install.  So table names don't overwrite each other.

Re: No short install!

Posted: Sat Sep 17, 2005 8:19 am
by rob
I get a similar problem when I try to install....

"Cannot create d:\hosting\rv36116/config.php, please change permissions to allow this"

Which I have a shared IP hosted account, I'm guessing that it won't let things write on a shared account with the current server I have with Godaddy...

I wonder if it would allow this if I had a private IP?

damn I know this has to be easier... I'm banging my head on a wall here...