Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » SilverStripe 2.0.2-rc1

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

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

Page: 1 2 3 4 5
Go to End
Author Topic: 74868 Views
  • Matt
    Avatar
    Core Development Team
    84 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    That warning has been there for a few versions now - since 2.0.1-rc1 I think?

    It can be 'safely' ignored (aka. it doesn't stop the site from installing, but should be looked at sometime).

  • Matt
    Avatar
    Core Development Team
    84 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    I think I know what the problem is actually.

    Sam's right - it's looking for the template before the manifest is compiled, because as part of db/build, ErrorPage will create a file in the assets directory that will be used when the website is broken. (This is in case the error is in the template processor somewhere, meaning we can't render anything - it can at least show some kind of error message).

    What it does mean is that it's looking for the ErrorPage.ss etc. template files before the manifest has been created.

    In other words, it's an error that doesn't matter, because the next time you do a db/build or save the error page in the CMS, it will create that error message anyway.

    Andy: It might be worth investigating a way for ErrorPage to know whether or not it's being called by the installer, and to not create a file if it is.

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    Well I just lost my post, so here goes again.

    1. If there's a warning detected by the installer (e.g. php mem limit under 32MB), you don't get the choice of theme. It just installs blackcandy. Not a biggie. See attached PDF

    2. If memory limit is low (e.g. 25MB), it doesn't install and leaves you in a random, undefined state. You just see:

    --
    Installing SilverStripe...

    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation
    # Creating 'mysite/_config.php'...
    # Creating '.htaccess' file...
    # Building database schema...

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    Matt/Sam/Andy. The warning that I raised also existed in 2.0.1 so unless its really obvious and simple to fix, I say hold off!

    Here's an excerpt from me just installing 201:

    Installing SilverStripe...

    I am now running through the installation steps (this should take about 30 seconds)

    If you receive a fatal error, refresh this page to continue the installation
    # Creating 'assets' folder...
    # Creating 'mysite/_config.php'...
    # Creating '.htaccess' file...
    # Building database schema...
    # Waiting until the the database is created before compiling the manifest

    Warning: None of these templates can be found: ErrorPage.ss, Page.ss, ContentController.ss in /sites/dev.silverstripe.com/smagnusson/sigtest/silverstripe-v2.0/sapphire/core/SSViewer.php on line 53
    # Populating initial content and administrative account

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    Here's an idea. Given if you get a warning with SilverStripe (low memory), your site may not install properly, I don't think we need to delay the release to make it work when the warning shows.

    People will attribute any issues back to the warning they saw.

    Secondly, if the installer says everything is sweet, there are no known errors. Except for a meaningless warning that pops up for about 200ms that's been around for months anyway.

    So... I say we release it as-is, but work on fixing the above issues shortly, on the basis that 202 is known to be superior than 201, and we need some lead-in time before OSCON, and I want to release the newsletter in the next few days.

  • Tim
    Avatar
    Core Development Team
    201 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    If the issues is detecting the amount of memory allocated to PHP before installing is sufficient, will the memory_get_usage
    function help?

    Also, somewhat related is this article on 5.20 memory management

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    > SilverStripe 2.0.2-rc3 is released.

    Andy, the "Insert Flash" button is broken on 2.0.2-rc3, I've posted a 2 line patch that fixes it.

    Hope this helps,

    Elijah

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    I've renamed 202rc3 to SilverStripe 2.02 official release, so those with 202rc3 have the same as 202 official, no need to upgrade

    Please let us know of any bugs!

    We'll work on releasing the windows version now

    74868 Views
Page: 1 2 3 4 5
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.