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: 74701 Views
  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    http://www.silverstripe.com/assets/rc/silverstripe-v2.0.2-rc2.tar.gz

    Today Andrew went through bugs reported since rc1 and so you can now sleep easier with the following improvements:

    ChangeLog since 2.0.2-rc1:
    - db/build authorisation fixed for dev sites
    - Changes to improve compatibility when upgrading from older versions
    of SilverStripe
    - Removed debug messages that showed up when changing pages on
    servers beginning with dev.*
    - Improvements to image inserter
    - Fix multiple "broken" in class attribute of HTML Content
    - Fixed bug with TreeDropdownField when you clicked the expand link 3
    or more times, it wouldn't close
    - Added dimension fields when inserting images to provide more control on image sizes

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    I just noticed while adding a blog post to silverstripe.com that somewhere in the past few months we broke the insert-flash object; you can choose a folder but no objects appear to insert into your HTML Editor. Elijah's having a look at this ...

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    > somewhere in the past few months we broke the insert-flash
    > object; you can choose a folder but no objects appear to insert into
    > your HTML Editor. Elijah's having a look at this ...

    Here is a patch that fixes the Insert Flash button: BUGFIX-Make-Insert-Flash-work-cms-sapphire-gsoc-r38163.patch

    I've tested, and this patch applies cleanly to silverstripe-v2.0.2-rc2.

    I'll commit this to the gsoc branch.

    Hope this helps,

    Elijah Lofgren

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    > ChangeLog since 2.0.2-rc1:
    > db/build authorisation fixed for dev sites

    I installed SilverStripe 2.0.2-rc2 on new.elijahlofgren.com which runs Apache 1.3.37 (Unix) MySQL 5.0.27-standard PHP 5.2.3

    It installed fine, but I was unable to run /db/build until I temporarily commented out this line in sapphire/core/model/DatabaseAdmin.php:

    BasicAuth::requireLogin("SilverStripe developer access. Use your CMS login", "ADMIN");


    I tried setting this in mysite/_config.php, but it did not work:

    Security::setDefaultAdmin('<admin login>','<admin password>');

    Anyone else had problems with running /db/build on 2.0.2-rc2?
    Note, I had the same problem with 2.0.2-rc1.

    Thanks,

    Elijah

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    This was an area that Andrew worked with on the last release so is probably why you're finding this ... basically you DO want protection from running db-build, but it seems it now may be too hard to run it

  • Andy
    Avatar
    230 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    It shouldn't ask for authorisation if the site is in dev mode. Should I add code to the default _config.php to put the site in dev mode by default?

  • Sigurd
    Avatar
    Forum Moderator
    628 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    I think a rule, say in _config.php along the lines of

    if (http_host=='localhost' or http_host begins with 'dev.') then devmode=true

    (Sam and I had discussed an interface in the installer to do this, however I'd suggest the above instead, for the sake of speed and not introducing issues; I'd really like us to release 202 ASAP as I want to mention it in a newsletter in a few days)

    Additionally, though, wasn't Elijah's problem the fact that while /db/build did ask for a password, it didn't let him type in any password to actually let him proceed ...

  • elijahlofgren
    Avatar
    Google Summer of Code Hacker
    222 Posts

    Re: SilverStripe 2.0.2-rc1 Link to this post

    > Additionally, though, wasn't Elijah's problem the fact that while /db/build did ask for a password, it didn't let him type in any password to actually let him proceed ...

    Yeah, it basically wasn't accepting any password. However, it works on Apache/2.2.3 (Ubuntu) PHP/5.2.1 so I should do some debugging to see what the problem is.

    Off to eat supper,

    Elijah

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