17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 2893 Views |
-
Problems while installation

29 June 2008 at 8:30am Last edited: 29 June 2008 8:33am
There was 2 problems that appeared during the installation:
• On File permissions:
" Is the .htaccess file writeable? User '*****' needs to be able to write to this file:
/..../www/users/......./.htaccess "•On File permissions:
" mod_rewrite enabled I can't tell whether mod_rewrite is running. You may need to configure a rewriting rule yourself. " -
Re: Problems while installation

29 June 2008 at 10:57am Last edited: 29 June 2008 11:00am
Mac, but not with Mamp, it's on an real server.
Shell I upload everything that I post in the Mamp htdocs file on my server?
-
Re: Problems while installation

29 June 2008 at 11:01am
I dont know about mod_rewrite - Is that enabled?
With the file permissions Im pretty sure all you need to do is to open up terminal and go something like
chown youruser .htaccess
-
Re: Problems while installation

29 June 2008 at 11:13am Last edited: 29 June 2008 11:14am
I don't know what you mean...
I got this problem when I installed the cms on my server (not local server).
Maybe this code cold help me:
var.usualUrlCharClasses = "[\w\d\%\&\/\\\-\_\+\=\@\.\,\>\<\~]"
server.error-handler-404 = "/sapphire/main.php"
url.rewrite-once = (
"^([^\?\ ]*\.pdf)$" => "$1",
"^([^\?\ ]*\.swf)$" => "$1",
"^([^\?\ ]*\.gif)$" => "$1",
"^([^\?\ ]*\.jpg)$" => "$1",
"^([^\?\ ]*\.jpeg)$" => "$1",
"^([^\?\ ]*\.png)$" => "$1",
"^([^\?\ ]*\.xbm)$" => "$1",
"^([^\?\ ]*\.xpm)$" => "$1",
"^([^\?\ ]*\.css)$" => "$1",
"^([^\?\ ]*\.html)$" => "$1",
"^([^\?\ ]*\.htm)$" => "$1",
"^([^\?\ ]*\.js)$" => "$1",
"^([^\?\ ]*\.text)$" => "$1",
"^([^\?\ ]*\.txt)$" => "$1",
"^([^\?\ ]*\.dtd)$" => "$1",
"^([^\?\ ]*\.xml)$" => "$1",
"^/assets/(.*)$" => "/assets/$1",
"^/("+usualUrlCharClasses+"*)\??(.*)" => "/sapphire/main.php?url=$1&$2",
)but I don't know in wich file and line I should post it
-
Re: Problems while installation

29 June 2008 at 11:24am
Where did you find that code? That would have some information on where to put it?.
I don't know what you mean...
You have a permissions error - User '*****' needs to be able to write to this file. So to fix this you need to use a command called chown (if your server is Unix based..) so if you have SSH access to your server login to it and go to wherever your SS files are and run that command. If you dont have SSH access I dont know if you can do it via FTP..
-
Re: Problems while installation

29 June 2008 at 11:24am
that's was the result with Terminal:
-chown: youruser: Invalid argument
[Prozess beendet]
-
Re: Problems while installation

29 June 2008 at 11:27am Last edited: 29 June 2008 11:28am
are you in the folder where you installed silverstripe??
youruser - refers to the user you posted as ******
| 2893 Views | ||
| Go to Top | Next > |


