Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » UserDefinedForm core dumps

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 897 Views
  • motly
    Avatar
    Community Member
    4 Posts

    UserDefinedForm core dumps Link to this post

    Greetings,

    PHP version 5.2.13
    SS 2.4.0-beta2
    Userforms Revision: #100973

    In the CMS Page Tree when I click a UserDefinedForm Page I get a javascript alert dialog with the contents of my "Page Not Found" page and a 27Mb core.xxxx dump file in the sapphire folder.

    I'm pretty new to SS and was wondering how I would go about figuring out what was causing the dump. As far as I can tell the core dump is happening when a http://mydomain.co.nz/admin/getitem?ID=84&ajax=1 type call is being made.

    This only seems to happen with UserDefinedForm pages.

    If I hover over the UserDefinedForm page in the admin page tree list I see the url of "/admin/show/84", clicking it produces a core dump, but browsing to it will show the page ready for editing.

    Any idea how to track down what's going wrong?

  • Willr
    Avatar
    Forum Moderator
    5508 Posts

    Re: UserDefinedForm core dumps Link to this post

    Very strange - if you are using svn perhaps try earlier revisions and see if the error still occurs?. I just checked on my copy of 2.4 + Userforms trunk and could not reproduce the core file issue. Can you create new forms?

  • motly
    Avatar
    Community Member
    4 Posts

    Re: UserDefinedForm core dumps Link to this post

    Thanks for the reply.

    When i create a new UserDefinedForm Page in the CMS, the page gets created correctly (correct records in the db etc) but as the CMS tries to focus the new page to edit it I get the ajax call fail, java alert and core dump as above.

    I was wondering if it had anything to do with this bug http://bugs.php.net/50261?

    I've only tested on php 5.2.13, i'll test it locally on my dev box (php 5.3), and see if its still an issue.

    What version of php did you test your copy on?

  • motly
    Avatar
    Community Member
    4 Posts

    Re: UserDefinedForm core dumps Link to this post

    Looks like it was the version of PHP causing the issue.

    It works fine in PHP 5.3.0 and PHP 5.3.2

    Cheers

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