Jump to:

4945 Posts in 17872 Topics by 1494 members

Installing SilverStripe

SilverStripe Forums » Installing SilverStripe » upload done and now what?

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

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

Page: 1 2 3
Go to End
Author Topic: 3358 Views
  • Sunnybex
    Avatar
    Community Member
    39 Posts

    upload done and now what? Link to this post

    Hi everyone,
    a few weeks ago I decided to do my homepage myself after visting this page and downloading the silverstripe-stuff. And it worked very well so far, a very nice page with everything I need. An after a little research I finally found the "how to" - page to publish my stuff to my host hetzner, which you recommend somewhere, so I was pretty glad that it seemed to match.

    OK, everything is uploaded, the theme is correct, php and sql seems ok and now: nothing happens. So: what next?? http://doc.silverstripe.com/doku.php?id=publishing-to-web-server is unfortunately very unclear here and I would appreciate some help.

    Thanks in advance
    Bex

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: upload done and now what? Link to this post

    You might have to elaborate on what "nothing happens" means.

    I mean, like, step 1, the computer is on, right?

    .

    Seriously though, if you've uploaded everything you should see some sort of error when you go to your home page. Also check that you have the following line in your /mysite/_config.php file:

    Director::set_environment_type('dev');

    ..to show better error messages.

  • Sunnybex
    Avatar
    Community Member
    39 Posts

    Re: upload done and now what? Link to this post

    well, yes, computer is on and I am freezing, because all windows are open....

    "nothing" meant, I klick on my webpage and there is still the "coming-soon"- site from the host.

    I also checked the config.php and it shows

    <?php

    global $project;
    $project = 'mysite';

    global $databaseConfig;
    $databaseConfig = array(
       "type" => "MySQLDatabase",
       "server" => "localhost",
       "username" => "root",
       "password" => "",
       "database" => "SS_mysite",
    );

    // Sites running on the following servers will be
    // run in development mode. See
    // http://doc.silverstripe.com/doku.php?id=devmode
    // for a description of what dev mode does.

    Director::set_environment_type('dev');

    ));

    // This line set's the current theme. More themes can be
    // downloaded from http://www.silverstripe.com/themes/
    SSViewer::set_theme('highway');

    ?>

    and there are still no changes in my website. I also asked hetzner for help, but they may be still sleeping...
    I am confused.

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: upload done and now what? Link to this post

    Ah.. where is that coming soon page coming from? Can you see it somewhere in your installation directory?

    Maybe mod_rewrite is not enabled.

    What you could do is - install a fresh base copy of silverstripe (ie, just grab that stable version, stick it on and go to the install page) - this will tell you if everything is set up correctly, or if the problem is not silverstripe.

  • Sunnybex
    Avatar
    Community Member
    39 Posts

    Re: upload done and now what? Link to this post

    The "coming-soon-site" is the index.htm file in the directory where I put silverstripe in (as requested in the tutorial).

  • Hamish
    Avatar
    Community Member
    712 Posts

    Re: upload done and now what? Link to this post

    Ah, well the routing rules will allow access to that file. Delete index.htm - this should force request to go through sapphire.

  • Sunnybex
    Avatar
    Community Member
    39 Posts

    Re: upload done and now what? Link to this post

    Now it comes this:

    Forbidden
    You don't have permission to access / on this server.
    Apache/1.3.34 Server at packaging-consulting.com Port 80

    Hetzner required a index.htm file in this directory (in their tutorial)

    and by the way: I really appreciate your help! Thanks a lot

  • Sunnybex
    Avatar
    Community Member
    39 Posts

    Re: upload done and now what? Link to this post

    Hi,

    meanwhile I saved the "localhost-silverstripe-homepage" -site to a different computer folder, called it index.htm and loaded it (and the index files) on the sever, just to show the world, that there is something in progress.

    Can I fix the problem with exchanging the word "silverstripe" with "mypersonalsite"? or is there any file I should change?
    Hetzner still requires a index.htm file in the public_html folder.

    Any ideas?
    Thanks in advance

    3358 Views
Page: 1 2 3
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.