Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » New SubscribeForm results in fatal error when opened

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

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

Page: 1
Go to End
Author Topic: 1647 Views
  • bernd
    Avatar
    9 Posts

    New SubscribeForm results in fatal error when opened Link to this post

    Fatal error: Call to a member function getRecord() on a non-object in /path/to/sstripe/sapphire/forms/CheckboxSetField.php on line 20

    I'm not sure whether this is a bug or a problem with my installation; it does not seem to be common.

    Edit: Sorry for the low quality report - I should add that I'm running MySQL 4 and PHP5 (from MacPorts) on an Intel Mac. SilverStripe version is 2.02b.

  • Andy
    Avatar
    230 Posts

    Re: New SubscribeForm results in fatal error when opened Link to this post

    I am fairly certain this has been fixed on trunk, if you could download the latest daliybuild (http://dailybuilds.silverstripe.com) and test this, that would be much appreciated.

  • bernd
    Avatar
    9 Posts

    Re: New SubscribeForm results in fatal error when opened Link to this post

    I got on Aug 6th's daily build now; let's see.

    I noticed the following so far:
    * there's a css error on the login page of the cms where the input fields are set over the "Email address" and "password" text above them on FF 2. (see attached pic).
    * on the installer checks page, the slash seems to be misplaced in the field where it tells you which paths need to be writable.

    So, nothing serious so far, but that could be prettier.

  • bernd
    Avatar
    9 Posts

    Re: New SubscribeForm results in fatal error when opened Link to this post

    OK, got to try it now with the mentioned daily.

    The attached pic is what I get to see after clicking the "Go" button for creating a subscription form.

    Same configuration as before, browser is FF2/Mac.

    The full error message:
    ---------------------
    Error in Ajax evaluator on line 974: invalid flag after regular expression
    Notice: Undefined index: CustomParameter in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined index: CanDelete in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined index: CustomParameter in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined index: CustomParameter in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined index: Rows in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined index: CustomParameter in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined index: CustomParameter in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined index: CustomParameter in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined index: Options in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined index: CustomParameter in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableFormField.php on line 161

    Notice: Undefined variable: optionNumber in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableRadioField.php on line 153

    Notice: Undefined variable: optionNumber in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableRadioField.php on line 155

    Notice: Undefined variable: optionData in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableRadioField.php on line 156

    Notice: Undefined variable: optionNumber in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableRadioField.php on line 157

    Notice: Undefined variable: optionNumber in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableRadioField.php on line 161

    Notice: Undefined variable: optionData in /Users/bhaug/Sites/ss-daily/sapphire/forms/EditableRadioField.php on line 156
    var tree = $('sitetree'); var newNode = tree.createTreeNode("new-SubscribeForm-0-1", "New SubscribeForm", "SubscribeForm"); node = tree.getTreeNodeByIdx(0); if(!node){ node = tree.getTreeNodeByIdx(0); } node.open(); node.appendTreeNode(newNode); newNode.selectTreeNode();
    ---------------------

    This was my first action on a brand-new install.

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