Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Going mad...

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: 25910 Views
  • johndavenport
    Avatar
    9 Posts

    Re: Going mad... Link to this post

    sorry to be such a pain...

    I also get this:

    Forbidden

    You don't have permission to access /www/cms/rewritetest.php on this server.
    Apache/2.0.59 (Win32) DAV/2 PHP/5.2.3 Server at localhost Port 80

    What do I comment out of the code? Not a PHP wizz like yourself

  • johndavenport
    Avatar
    9 Posts

    Re: Going mad... Link to this post

    YES!!!!! Got it to work with Uniform server!! Woo hoo... Finally!

    Thanks guys for the help, heres how to get SS working with uniform:

    open install.php and comment out the folder permissions, also change write permissions to rewritetest.php to "false" then in Tim Pascals post
    http://www.silverstripe.com/general-discussion/flat/2708

    enter this in the .htaccess file

    ### SILVERSTRIPE START ###

    Options +FollowSymLinks

    RewriteEngine On

    And you should get it to work, if you dont use uniform server this trick will work with any Windows system, if you have any questions then just ask...

    Thanks allot guys and keep up the good work!

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Going mad... Link to this post

  • nascent
    Avatar
    6 Posts

    Re: Going mad... Link to this post

    Thanks to the above I've now got mine working too, using Xampp on Windows Vista.

    cheers,
    nascent

  • Ric
    Avatar
    1 Post

    Re: Going mad... Link to this post

    Test Platform:
    Uniform Server 3.5-Apollo
    Windows XP Home
    silverstripe-v2.1.0

    Test results and problem area

    1) http://localhost/ss/install.php

    MySQL server: localhost {corectely detected}
    MySQL username:root {corectely detected}
    MySQL password: root {default password manually add this}

    Warnings (Hence not a problem these files are writable on Windows XP Home):
    Is the .htaccess file writeable?   Unable to detect whether I can write to files. Please ensure W:/www/ss/.htaccess is writable.
    Is the mysite/ folder writeable?   Unable to detect whether I can write to files. Please ensure W:/www/ss/mysite is writable.
    Is the tutorial/ folder writeable?   Unable to detect whether I can write to files. Please ensure W:/www/ss/tutorial is writable.
    Is the assets/ folder writeable?   Unable to detect whether I can write to files. Please ensure W:/www/ss/assets is writable.

    Development servers: {corectely detected}
    localhost
    127.0.0.1

    At this stage .htaccess not written to.

    2) Click Install: I am nowrunning through ... will take about 30sec

    On completion this error message is produced:
    Forbidden
    You don't have permission to access /ss/rewritetest.php on this server.

    Note 1: phpMyAdmin ss_mysite contains 52 tables --- Hence working

    Note 2: .htaccess has been written to:

    ### SILVERSTRIPE START ###
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
    RewriteCond %{REQUEST_URI} ^(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
    ### SILVERSTRIPE END ###

    This file is incomplete it should look like this:

    ### SILVERSTRIPE START ###
    RewriteEngine On
    RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$
    RewriteCond %{REQUEST_URI} ^(.*)$
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
    ### SILVERSTRIPE END ###
    Options FollowSymLinks

    Without Options FollowSymLinks Apache gives up. Log file:
    Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden:

    3) Well thats the problem added the line and refreshed the page:

    A quick message displayed stating mod_rewrite is working followed by Installation Successful.

    Clicked the Delete Install files link --- OK

    You can start editing your site's content by opening the CMS.
    Email: admin
    Password: password

    Login --- No problems

    Hope that helps

    All the best
    Ric

  • karlim
    Avatar
    Community Member
    8 Posts

    Re: Going mad... Link to this post

    i am going mad 2
    can't install
    myweb is http://web8101175.web130.host-diy.net/
    and the mysql user is:lanry
    database is:sqllanry
    what is the mater?
    who can tell me

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: Going mad... Link to this post

    Karlim, please post your webserver software. Is it apache? It seems like you might want to contact your hosting company to ask about their support of our software.

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