I went ahead and bought MSM, and after following the installation instructions (or so I thought), I can’t get the second site to display.
Here’s the setup - sorry if this is a little wordy. I converted gregfuller.com to 1.6, then decided to stage MSM on localhost to work out any quirks. I downloaded all the files from my hosted site, backed up and restored the database to a local database, changed a few configuration paths and got the site totally functional on localhost.
I followed the installation instructions, and all seems well in the control panel. All three sites are in reflected in the control panel, and the imports I did placed the entries under the proper site.
So, now I have the control panel functional, and the original site still displays swell.
My server root is localhost, but my ee site root is localhost/ee (I’ve got other stuff on the local apache server)
I create a subdirectory named ee_sites under the ee directory to hold a directory for each of the three sites. The idea is to get sites 2 and 3 working, then move the original site under the same directory structure.
So, for the second site, or the first new site, I create directory under ee_sites named painters_diary, then copy index.php and path.php from the ee directory to this directory. I edited the files and set “general configuration” to the best of my understanding.
When I point my browser to http://localhost/ee/ee_sites/painters_diary I get a blank screen. Same if I add “/index.php” to the end of the url. I do have entries under the painters_diary site.
Here’s some stuff I think might be relevant:
———————————————————————————————————————————————————————————————————————
Site management site short name: painters_diary.
——————————————————————————————————————————————————————————————————————-
Control Panel: Painter’s Diary > Admin > System Preferences > General Configuration
Nane of your site’s index page: index.php (but I tried it blank as well)
URL to the root directory of your site: http://localhost/ee/ee_sites/painters_diary
URL to your Control Panel index page: http://localhost/ee/eesys/index.php (unchanged)
URL to your “themes” folder: http://localhost/ee/themes/ (nchanged)
Theme Foler Path: C:\wamp\www\ee\themes (unchanged)
—————————————————————————————————————————————————————————
c:\wamp\www\ee\ee_sites\painters_diary\path.php: ( tried setting some of the other extra values but to no avail so I commented them out
<?php
//———————————————————————————
// DO NOT ALTER THIS FILE UNLESS YOU HAVE A REASON TO
//———————————————————————————
// Path to the directory containing your backend files
$system_path = “../../eesys/”;
$site_name = “painters_diary”;
//———————————————————————————
// MANUALLY CONFIGURABLE VARIABLES
// See user guide for more information
//———————————————————————————
//$template_group = “notebook”;
//$template = “”;
//$site_url = “http://localhost/ee/ee_sites/painters_diary”;
//$site_index = “”;
//$site_404 = “”;
$global_vars = array(); // This array must be associative
?>
———————————————————————————————————————————————-
Now I do have a .htaccess file. I tried it without the one at localhost/ee and with and with the one at localhost/ee/ee_sites/painters_diary. I also tried hittling the painters_diary site with and without the index.php.
Here is the .htaccess just in case it makes a difference:
RewriteEngine On
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /ee/index.php/$1 [L]
——————————————————————————————
Above is the .htaccess under localhost/ee. I change it appropriately, I think, for the one under the diary site. (As well as trying it without a .htacess at all.
—————————————————————————————
Any help / ideas on where I went wrong would be appreciated.
Thanks!