Jump to:

4875 Posts in 6997 Topics by 1472 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » I thought I was an intelligent guy.....

Getting SilverStripe up and running on your computer and on your web server.

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

Page: 1
Go to End
Author Topic: 1086 Views
  • tonyk11
    Avatar
    Community Member
    3 Posts

    I thought I was an intelligent guy..... Link to this post

    ....but I'm obviously lacking somewhere. I've tried to install SS about 3 times now, twice with the online windows installer and once from the stable download. I've placed the files in a local folder I use for websites that I'm developing, and I've installed MySql along with Microsoft SQL Server 2008, IIS, and Apache (just for my experimental purposes). I still cannot access anything in the SS files, other than some code that comes up on a white screen when I click the index.php file. I can't seem to access any type of admin screen, or any type of editing GUI. The video that showed the capabilities of SS made me really want to work with this program (I can code a website, but this seems much faster and more convenient), but perhaps I've misunderstood how the interface is supposed to work. I'm picturing downloading this zip file, unzipping, clicking an installer or unpacking the files, and then clicking on a link that will take me to the interface where I can point SS toward the files I want to manipulate. But it doesn't seem that it works as such. Any help would be awesome. Think as though you're explaining it to a child.... That should help make sure I understand.

    The video that was produced to show the capabilities of SS was really great. Maybe a video like that for the installation of SS would be a great addition to the site. If there is one, I didn't see it, so feel free to point me to it.

    If I seem like a newb, I am....to CMS's. All help is appreciated..... Thanks.

  • tonyk11
    Avatar
    Community Member
    3 Posts

    Re: I thought I was an intelligent guy..... Link to this post

    This is what I'm getting when I try to run the install....

    $snLen && substr($_SERVER['REQUEST_URI'],0,$snLen+1) == ($_SERVER['SCRIPT_NAME'] . '/')) { $url = substr($_SERVER['REQUEST_URI'],$snLen+1); $url = strtok($url, '?'); } else { $url = $_SERVER['REQUEST_URI']; if($url[0] == '/') $url = substr($url,1); $url = strtok($url, '?'); } // Apache will populate the server variables this way } else { if($ruLen > $snLen && substr($_SERVER['REQUEST_URI'],0,$snLen+1) == ($_SERVER['SCRIPT_NAME'] . '/')) { $url = substr($_SERVER['REQUEST_URI'],$snLen+1); $url = strtok($url, '?'); } else { $url = ""; } } $_GET['url'] = $_REQUEST['url'] = $url; $fileName = dirname($_SERVER['SCRIPT_FILENAME']) . '/' . $url; /** * This code is a very simple wrapper for sending files * Very quickly pass through references to files */ if($url && file_exists($fileName)) { $fileURL = dirname($_SERVER['SCRIPT_NAME']) . '/' . $url; header($_SERVER['SERVER_PROTOCOL'] . ' 301 Moved Permanently'); header("Location: $fileURL"); die(); } // For linux $_SERVER['SCRIPT_FILENAME'] = str_replace('/index.php','/sapphire/main.php', $_SERVER['SCRIPT_FILENAME']); $_SERVER['SCRIPT_NAME'] = str_replace('/index.php','/sapphire/main.php', $_SERVER['SCRIPT_NAME']); // And for windows $_SERVER['SCRIPT_FILENAME'] = str_replace('\\index.php','\\sapphire\\main.php', $_SERVER['SCRIPT_FILENAME']); $_SERVER['SCRIPT_NAME'] = str_replace('\\index.php','\\sapphire\\main.php', $_SERVER['SCRIPT_NAME']); chdir('sapphire'); require_once('sapphire/main.php');

    Any suggestions?

  • Sean
    Avatar
    Forum Moderator
    921 Posts

    Re: I thought I was an intelligent guy..... Link to this post

    Have you tried using Microsoft Web Platform Installer?

    Manually setting up IIS means you have to get into the IIS Manager and add a FastCGI entry for PHP yourself. A setting up PHP on IIS guide shows you how to do that.

    But seriously, you'll want to use the Web Platform Installer, it does all the above for you.

    Sean

  • tonyk11
    Avatar
    Community Member
    3 Posts

    Re: I thought I was an intelligent guy..... Link to this post

    I've actually tried that route about 3 times. I still can't get anything to happen. I tried the installer at first, and then went to the package.

    It would be great if there was a step-by-step for both ways to get this installed for different OS's. Anyway, I'm not sure why it won't work, but I'm positive it has to do with me and not the software. I'll keep trying, and if anyone else has any other advice, I'm all ears.

    Tony

    1086 Views
Page: 1
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.