4848 Posts in 5039 Topics by 1458 members
|Go to End|
15 October 2009 at 11:55pm
Trying to install SilverStripe-v2.3.3 from this site under osx leopard (10.5.8 client, intel 2.2 ghz, 4gb ram) with enthropy 5.3.0-3 to get GD.
I enabled mod_rewrite for my home folder by changing 'AllowOverride None' in users/myusername.conf to 'AllowOverride All AuthConfig'. This works because my local Drupal install now has clean urls enabled (mod_rewrite also shows up with phpinfo() and httpd -M)
The result: I get a 403 error for my silverstripe directory and the directory has also disappeared from my indexes in the browser at http://127.0.0.1 ( I also changed my documentroot to my /Users/myusername/Sites - changing this back does not help)
If I remove 'RewriteEngine On' from .htaccess the directory returns.
Installing it without mod_rewrite does not seem to be possible, even after changing the timestamp issue
Is there some other way I have to access my silvestripe directory? some other lead?
16 October 2009 at 12:18am
Not just the 'RewriteEngine On' seems to be the problem. Dunno what made me think that, it seems I have to delete the whole .htaccess to get access to the folder from my browser... Must be the notorious 'I have lost count how many things I tried'-error.
Anyway, any pointers are appreciated.
16 October 2009 at 1:15am
Added 'Options +FollowSymLinks' above ### SILVERSTRIPE START ### in the .htaccess file, that made the installer run its course
However now I get a 'The requested page couldn't be found.' at http://127.0.0.1/_silverstripe/home/successfullyinstalled?flush=1
Maybe this is the error: [Thu Oct 15 13:53:45 2009] [error] [client 127.0.0.1] PHP Warning: unlink(mysite/_config.php): Permission denied in /Users/myusername/Sites/_silverstripe/install.php on line 701, referer: http://127.0.0.1/_silverstripe/install.php
Is one related to the other? I do not know anymore...
13 November 2009 at 12:12am
I'm getting exactly the same using snow leopard on MacBook Pro - did you find any solution to this one?
13 November 2009 at 7:51pm
mgl, what do the Apache logs show? Most of the time, you'll get a very informative message that can help point you to the problem.
13 November 2009 at 9:43pm Last edited: 13 November 2009 9:47pm
This is one for the FAQ's since I have already answered this countless times:
When a new install stops because of error messages and you have to start over, you have to remove all the tables from the Silverstripe database or drop the table altogether (ONLY with new installs, otherwise your data will get erased).
Then try again by going directly to install.php, do not go into the silverstripe dir, otherwise Silverstripe will recreate the tables for you.
EDIT: hmm, unless you are referring to the 403 forbidden -> question: what error are you referring to??
|Go to Top|