4938 Posts in 16827 Topics by 1490 members
|Go to End|
31 January 2014 at 9:04pm Last edited: 31 January 2014 9:10pm
first try with SS as hoping to move an exiting site. I'm testing on XAMPP 1.8.1 on win7-64 which is setup ok - running wordpress and other sites. apache 2.4.3 and php 5.4.7 with fileinfo enabled.
SS installed successfully and showed successfully themed/displayed success page; see attached screenshot_1
BUT all other pages have no themeing/css - just white with text - while *appearing* to function: ; see attached screenshot_2
When pages load firebug shows 404's for:
... and others...
the apache logs shows its not rewriting these requests - tho is redirecting the original page call. htaccess is default from the install.
Xampp is set up with virtual hosts, so location is not in xampp/htdocs. the relevant httpd-vhosts.conf block (like other working v-hosts) is:
Options Indexes FollowSymLinks Includes execCGI
#xampp 1.8.1 format:
Require all granted
and windows hosts file is configured (must be, with v-hosts, else the install/success wouldn't work, right?).
following a similar unsolved thread here http://www.silverstripe.org/installing-silverstripe/show/25532 i can confirm that windows/temp has a 'silverstripe-cache...' folder and i've ensured all permissions set. similarly set permissions on assets, tried ?flush=1, cleared cache, tried other browsers...
I'm thinking htacess due to the 404s (and yes, thos pages are installed) but aren't clever enough to figure this stuff out. maybe it doesn't like the virtual host configuration?
can anyone help with this/other ideas?
10 February 2014 at 3:12pm
Tried adding AllowOverride All into the <Directory> part of the vhost configuration?
10 February 2014 at 11:19pm
thanks for the suggestion Sean. unfortunately no difference with AllowOverride All (XAMPP restarted etc).
I've noticed with Firefox/firebug the 404s are for rewritten urls, such as:
whereas in chrome's tools the 404 is
tho if the page is missing (e.g., http://ss.dz/xxx) then the 'Page not found' is properly formatted (no 404s, with proper css etc)
i re-installed with 3.1.1 and all the same
any other suggestions?
has anyone got this working with XAMPP? where you using virtual hosts?
18 February 2014 at 10:10pm
OK so i think i've got his solved, thanks to noticing the many 301s and identifying index.php as causing that. then reading this thread:
1. in mysite/_config.php add
2. inframework/_config.php add:
Of course why I have to do this on a fresh install is beyond me. This doesn't leave me feeling confident about migrating to silverstripe and also leaves me feeling I'm on my own with whatever problems lie ahead, forums or not.
hopefully this helps someone else out there
|Go to Top|