No short install!

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
steve
Forum Members
Forum Members
Posts: 70
Joined: Mon Apr 11, 2005 12:31 pm

No short install!

Post 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.

:)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: No short install!

Post by Ted »

Very strange...

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

Re: No short install!

Post 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.
steve
Forum Members
Forum Members
Posts: 70
Joined: Mon Apr 11, 2005 12:31 pm

Re: No short install!

Post 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

:)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: No short install!

Post by Ted »

Either that, or make a blank config.php file and give that full permissions.
Tom

Re: No short install!

Post 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).
steve
Forum Members
Forum Members
Posts: 70
Joined: Mon Apr 11, 2005 12:31 pm

Re: No short install!

Post 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?

:)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: No short install!

Post by Ted »

It looks right to me.  Are you positive the password is right?
steve
Forum Members
Forum Members
Posts: 70
Joined: Mon Apr 11, 2005 12:31 pm

Re: No short install!

Post 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 :)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: No short install!

Post by Ted »

Now that's my kind of donation.  :)
Alex_Leipzig

Re: No short install!

Post by Alex_Leipzig »

Another question: what if can't create new users in my mysql-db and not change the db's name?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: No short install!

Post 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.
Alex_Leipzig

Re: No short install!

Post 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?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: No short install!

Post by Ted »

Changing cms_ to myuniqueprefix_ on install.  So table names don't overwrite each other.
rob

Re: No short install!

Post 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...
Locked

Return to “[locked] Installation, Setup and Upgrade”