Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

multisites possible?

Go to End

107 Posts   25430 Views


Community Member, 12 Posts

13 July 2013 at 2:27am

Is it not better to keep the themes folder local (so not as a symlink) as in this folder you place the site specified template?


Community Member, 1 Post

18 December 2013 at 10:00am

Edited: 18/12/2013 10:01am


Community Member, 63 Posts

7 March 2014 at 11:31am

Edited: 07/03/2014 1:11pm

Hi Juanitou

when you say

-Copy also the .htaccess file (after installing the SS3 environment) and modify the RewriteBase directive.

what should the RewriteBase Directive be?

I'm getting a lot of "Failed opening required File" because it's not on the Include path,

I'm sure something (apache or PHP) needs to put a / on the end of the include paths to find the required files but I'm not sure how to tell it that

my .htaccess has :

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase '/'

RewriteRule ^vendor(/|$) - [F,L,NC]
RewriteRule silverstripe-cache(/|$) - [F,L,NC]
RewriteRule composer\.(json|lock) - [F,L,NC]

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !\.php$
RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]

my site directory is in /var/www/mysite
and framework is in /var/www/ss3/framework and cms /var/www/ss3/cms

the symlinks are working and the _ss_environment.php in /var/www/mysite is being read and working



it looks like it stems from having my BASE_PATH set incorrectly by blindly copying somebody else's statement above

my one has one less dirname() call

I think I'm using SS 3.1.3 - I can't tell which because composer doesn't say (or I don't know how to ask it)
the silverstripe_version files in the framework and cms dirs are blank

When I try to sue symlinks for cms and framework (to ../ss3/framework) I end up with a
PHP Fatal error: Cannot redeclare class Zend_Cache in /var/www/nzia/framework/thirdparty/Zend/Cache.php on line 28

So I don't know if this is in the Autoloader manifest twice somewhere or what

Go to Top