Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Problems while installation

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

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

Page: 1 2
Go to End
Author Topic: 3141 Views
  • stuntmax
    Avatar
    Community Member
    21 Posts

    Problems while installation Link to this post

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

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Problems while installation Link to this post

    This on windows, mac or linux?

  • stuntmax
    Avatar
    Community Member
    21 Posts

    Re: Problems while installation Link to this post

    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?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Problems while installation Link to this post

    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

  • stuntmax
    Avatar
    Community Member
    21 Posts

    Re: Problems while installation Link to this post

    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

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Problems while installation Link to this post

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

  • stuntmax
    Avatar
    Community Member
    21 Posts

    Re: Problems while installation Link to this post

    that's was the result with Terminal:

    -chown: youruser: Invalid argument

    [Prozess beendet]

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: Problems while installation Link to this post

    are you in the folder where you installed silverstripe??

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

    3141 Views
Page: 1 2
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.