Jump to:

649 Posts in 1586 Topics by 162 members

Releases and Announcements

SilverStripe Forums » Releases and Announcements » SilverStripe 2.3.2-rc1

Latest news about the SilverStripe software.

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

Page: 1 2 3 4
Go to End
Author Topic: 6516 Views
  • Impressa
    Avatar
    Community Member
    6 Posts

    Re: SilverStripe 2.3.2-rc1 Link to this post

    Hi

    I have done local installation (2.3.2) on my mac as well as two servers. One of the web servers has a Javascript parse problem. As a result when creating new pages the page does not get reflected in admin unless you log out and log in again.
    I've tried the stable version and it has no problems.

    Multi Language Content (2.3.2)
    I've encountered "Web server error" when I inserted "Object::add_extension('SiteTree', 'Translatable');" in the _config file. It occurs only on the web server installation. Local mac is ok.

    I've just started using Silverstripe last week. Hope I am not too much of a trouble.
    cheers

    Attached Files
  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: SilverStripe 2.3.2-rc1 Link to this post

    The JS parse error doesn't give us any indication what the actual error is - please install getfirebug.com and post the ajax response including the requested URL

  • Impressa
    Avatar
    Community Member
    6 Posts

    Re: SilverStripe 2.3.2-rc1 Link to this post

    Hi

    Below is what I could see in Firebug:

    93: unterminated regular expression literal $('Form_EditForm').loadActionsFromString('<input class=\"action delete\" id=\"Form_EditForm_action_unpublish\" type=\"submit\" name=\"action_unpublish\" value=\"Unpublish\" title=\"Unpublish\" /> <input class=\"action delete\" id=\"Form_EditForm_action_delete\" type=\"submit\" name=\"action_delete\" value=\"Delete from the draft site\" title=\"Delete from the draft site\" /> <input class=\"action\" id=\"Form_EditForm_action_save\" type=\"submit\" name=\"action_save\" value=\"Save\" title=\"Save\" /> <input class=\"action\" id=\"Form_EditForm_action_publish\" type=\"submit\" name=\"action_publish\" value=\"Save and Publish\" title=\"Save and Publish\" /> '); $('Form_EditForm').loadActionsFromString('<input class=\"action delete\" id=\"Form_EditForm_action_unpublish\" type=\"submit\" name=\"action_unpublish\" value=\"Unpublish\" title=\"Unpublish\" /> <input class=\"action delete\" id=\"Form_EditForm_action_delete\" type=\"submit\" name=\"action_delete\" value=\"Delete from the draft site\" title=\"Delete from the draft site\" /> <input class=\"action\" id=\"Form_EditForm_action_save\" type=\"submit\" name=\"action_save\" value=\"Save\" title=\"Save\" /> <input class=\"action\" id=\"Form_EditForm_action_publish\" type=\"submit\" name=\"action_publish\" value=\"Save and Publish\" title=\"Save and Publish\" /> ');Behaviour.addLoader(hideLoading); $('Form_EditForm').updateStatus('Published'); $('sitetree').setNodeTitle(1, 'Home'); $('Form_EditForm').elements.StageURLSegment.value = 'http://www.sonnereis.net/v2/'; $('Form_EditForm').elements.LiveURLSegment.value = 'http://www.sonnereis.net/v2/'; $('Form_EditForm').notify('PagePublished', $('Form_EditForm').elements.ID.value); statusMessage('Published \'Home\' successfully', 'good');Behaviour.addLoader(hideLoading); <!-- www.000webhost.com Analytics Code --> <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script> <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript> <!-- End Of Analytics Code -->

    Attached Files
  • Impressa
    Avatar
    Community Member
    6 Posts

    Re: SilverStripe 2.3.2-rc1 Link to this post

    Hi

    I've just tested the RC on another host and it does not have a javascript problem.

    Thanks Ingo.

  • BIBO
    Avatar
    Community Member
    2 Posts

    Re: SilverStripe 2.3.2-rc1 Link to this post

    I`m still experiencing problems with /admin page in SilverStripe 2.3.2-rc4

    Couldn't run query: SELECT Distinct Locale FROM SiteTree GROUP BY Locale Unknown column 'Locale' in 'field list'
    Line 400 of MySQLDatabase.php

    Although @slang hack helps but it seams to disable some functionality, at least i think so.

  • Israel_Miranda
    Avatar
    Community Member
    9 Posts

    Re: SilverStripe 2.3.2-rc1 Link to this post

    Hi everyone. I was updating a silverstripe site from 2.3.0 to 2.3.2 had the same problem:
    Couldn't run query: SELECT Distinct Locale FROM SiteTree GROUP BY Locale Unknown column 'Locale' in 'field list'
    Line 400 of MySQLDatabase.php

    and it was not 2.3.2 release candidate, it happened to me with the stable tar.gz download in http://silverstripe.org/assets/downloads/SilverStripe-v2.3.2.tar.gz.

    I then decided I should start using svn as I read in the forum this bug has been corrected in the 2.3.2 release, and I thought so, How ??
    That's the one I am using....

    So I first decided to checkout the 2.3.2 tag of every core module to make sure I was using 2.3.2 release, and voila it worked!!!

    My guess is that the tar.gz in the "stable-download" url is indeed a RC, and the date is wrong too, zero hour of Unix time!!

    Just checkout the 2.3.2 version from svn and you all will be good to go.

    Hope it helps.

  • Israel_Miranda
    Avatar
    Community Member
    9 Posts

    Re: SilverStripe 2.3.2-rc1 Link to this post

    Ingo, I think maybe you should take a look at this, it could save many people from having this problems.

    Thank you.

  • Ingo
    Avatar
    Forum Moderator
    801 Posts

    Re: SilverStripe 2.3.2-rc1 Link to this post

    Hm, did any of you overwrite the CMSMain/LeftAndMain templates?
    I'd need a full stacktrace to debug anything, can't say I've ever seen this problem.
    Please also provide details on which version you've upgraded from,
    as well as the distinct upgrade steps. Particularly around when Translatable
    was enabled through _config.php (before/after upgrade? before first 2.3 dev/build run?)

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