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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

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

Problems while installation


Go to End


11 Posts   3672 Views

Avatar
stuntmax

Community Member, 21 Posts

29 June 2008 at 8:30am

Edited: 29/06/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. "

Avatar
Willr

Forum Moderator, 5523 Posts

29 June 2008 at 10:38am

This on windows, mac or linux?

Avatar
stuntmax

Community Member, 21 Posts

29 June 2008 at 10:57am

Edited: 29/06/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?

Avatar
Willr

Forum Moderator, 5523 Posts

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

Avatar
stuntmax

Community Member, 21 Posts

29 June 2008 at 11:13am

Edited: 29/06/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

Avatar
Willr

Forum Moderator, 5523 Posts

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..

Avatar
stuntmax

Community Member, 21 Posts

29 June 2008 at 11:24am

that's was the result with Terminal:

-chown: youruser: Invalid argument

[Prozess beendet] 

Avatar
Willr

Forum Moderator, 5523 Posts

29 June 2008 at 11:27am

Edited: 29/06/2008 11:28am

are you in the folder where you installed silverstripe??

youruser - refers to the user you posted as ******

Go to Top