PDA

View Full Version : Guide for Installation of Worpress MU



CFA1973
12-30-2009, 10:33 AM
Hi - I failed when attempting to install WP MU on a site hosted by Bluehost.
My understanding is that this cannot be done within the cPanel (as it is the case for the standard WP installation).

Does anyone know a link to an easy to understand WP MU guide?

MrDelish
12-30-2009, 11:14 AM
1. Download and unzip the WordPress MU package to your computer.
2. Create a database, user name, and link them together (addressed in the first half of the following tutorial: http://tutorials.bluehost.com/mysql/).
3. Upload the the contents of the WordPress MU folder to the desired location on your hosting account.
4. Run the WordPress MU installation script by accessing index.php in your web browser (http://example.com/index.php for the root directory, /public_html).
5. Follow the setup wizard (BlueHost does not support dynamic sub-domains so you need to use the subdirectory option when installing).

CFA1973
12-30-2009, 05:36 PM
Thank you MrDelish for the link to the tutorial video. I didn't attach the new sql-db to a new user...

Unfortunately, when I first tried to install WP MU, I messed around in my root directory and deleted some files (probably one or more files too much).

I uploaded and unzipped WP MU correctly, I see the files with the file manager on my domain. But when I try to access www.mysite.com/index.php, I get a "500 internal server error".

Is there a way to clean up a domain (then I will start over with the WP MU installation).

Thank you!

MrDelish
12-31-2009, 08:56 AM
That error may not be a problem with the installation at all; check the logs for the source of the error. These can be found under cPanel -> Logs -> Error Logs -> Main Error Log. This log shows a fifteen-second window of errors originating all across the server, so make sure to refresh the error page several times, load the error log, then look for anything that refers to your domain name or the path to a file on your hosting account. If you find something but don't know what it means, post it here.

CFA1973
01-01-2010, 07:17 AM
Thank you. There might be a problem with the permissions.

When I set the whole domain to "777", I got an error message in the logs:

[Fri Jan 01 05:54:57 2010] [error] [client 92.105.171.103] SoftException in Application.cpp:601: Directory "/home6/zzz/public_html/xxx" is writeable by group
[Fri Jan 01 05:54:57 2010] [error] [client 92.105.171.103] Premature end of script headers: index.php
[Fri Jan 01 05:54:57 2010] [error] [client 92.105.171.103] SoftException in Application.cpp:601: Directory "/home6/zzz/public_html/xxx" is writeable by group
[Fri Jan 01 05:54:57 2010] [error] [client 92.105.171.103] Premature end of script headers: 500.php



When I set the whole to "755", the error message disappears. But: When I try to install WP MU by accessing xxx.com/index.php, I get the error message "There doesn't seem to be a wp-config.php file. I need this before we can get started.". There is a button to create one, but when I click it, nothing happens.

I tried to copy the file "wp-config-sample.php" to "wp-config.php". When I do this, the next error "Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!" shows up. And I don't think that the idea is to enter everything manually in wp-config.php.


So maybe I still have a problem with the permissions?

CFA1973
01-01-2010, 07:42 AM
I am one step further - I can access the installation screen :D

I had to change the following in the file wp-blog-header.php


if ( !file_exists( dirname(__FILE__) . '/wp-config.php') && !file_exists( dirname( dirname(__FILE__) ) . '/wp-config.php')) {

and replaced it with:

if ( !file_exists( dirname(__FILE__) . '/wp-config.php') ) {

(I found the information here: http://mu.wordpress.org/forums/topic/11436 )

So I hope the rest will work well, I'm just trying it right now.

---------

EDIT: It worked out - thank you MrDelish for your help!