omerosen
Member
Posted 3 months ago #
I tried to install MU in a root directory but I am getting Error establishing a database connection.
I followed the installation instructions and when I access the index.php at first I was asked "$base is set to BASE when it should be the path like "/" or "/blogs/"", so I changed it to "/".
Then asked to change the VHOST to yes or no, so I changed it to yes which didn't work and then to no which again didn't work.
I am struggling for a week with these installations, which is supposed to be automatic and easy id you know your way around Wordpress...
Don;t edit the config file. It says so right at the top of it.
Delete .htaccess, drop any tables, delete wp-config.php. Then just visit your site. You'll be prompted on what to do next.
the reason I say that is I don't think you followed the MU install instruction, as the message you received usually only shows up when you try to install it the same way as single WP. It's slightly different.
omerosen
Member
Posted 3 months ago #
I don't understand the sequence of the instructions.
Now I upload the files again and I create a new DB to be configured after I finish the upload.
What should I do after uploading?
Visit your website. In a browser.
omerosen
Member
Posted 3 months ago #
This is what I get after installing in the root:
Problem in wp-config.php - $base is set to BASE when it should be the path like "/" or "/blogs/"! Please fix it!
What should I change it to?
And then what, the VHOST error message will not appear?
It's finding another config file from another WordPress install on the server.
So don't edit any config files. Follow this:
http://wpmututorials.com/installation2/installing-in-a-subfolder/
Basically, you make a small hack so it doesn't go looking up a directory, won't find the other config file, then you can continue normally.
omerosen
Member
Posted 3 months ago #
I worked according to the instructions and indeed got to the server details page, but when I submitted the details I got this message:
Sorry, I need a wp-config-sample.php file to work from. Please re-upload this file from your WordPress installation.
So I uploaded the config file went back to the installation page and send the information once again, but I got the same message.
omerosen
Member
Posted 3 months ago #
Update:
I changed the configuration file name by taking off the -sample.
I uploaded the original configuration file and the httacess and now I am a proud (and tired) owner of WPMU.
Andrea, million thanks for your help and patience.
Tack så mycket (thank you very much in Swedish)!
*whew* at least it works now.
omerosen
Member
Posted 3 months ago #
I was too early to party.
Although the system was installed successfully, when I published a test post it looked like that: http://pixelme.info/blog/2009/08/17/test-post/
asking me to put the details again.
I have no idea what's wrong with that.
Then something's up and it's not installed right. where are you hosted?
omerosen
Member
Posted 3 months ago #
You mean which hosting company?
It is servage.net
According to them there is no problem with them.
michaeljloomis
Member
Posted 3 months ago #
Hey Omer...Did you chmod your root directory and wp-contents directory to 777 before you did the install. I don't remember the directions on the install screen telling you that you need to do that. However the read me file does. But the post install screen does tell you to chmod it back to 755 after the install. Seems like it should be on the install screen as well. Then again wpmu isn't exactly newb friendly.
Hope this helps.
Mike
Yeah, it does tell you that on the install first screen if it can't write the config file.