Jump to:

1149 Posts in 2553 Topics by 408 members

Upgrading SilverStripe

SilverStripe Forums » Upgrading SilverStripe » userdefinedform on 2.4 stable

Ask questions about upgrading SilverStripe to the latest version.

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

Page: 1 2
Go to End
Author Topic: 2517 Views
  • webtonic
    Avatar
    Community Member
    26 Posts

    Re: userdefinedform on 2.4 stable Link to this post

    All above done. New UDF has worked, thanks - will recreate forms. The problem looked like it could not remember what the page type was..

  • Web Designer Perth
    Avatar
    Community Member
    49 Posts

    Re: userdefinedform on 2.4 stable Link to this post

    Really looking forward to a stable userforms - tried the trunk of May 24 (#105471) as suggested above.

    It installed fine, started building a form (simple text fields), went to set a rule then got oddly formed page (like no css) hit 'back' then got Memory Exceeded error (memory in this case is set to 128M). Sorry I don't have the exact error wording although it was related to userforms.

    Client is desp' to go live.

    Any idea of timing?

    [edit] Tried again. Got the trunk installed, built a contact form, tested and working frontend, back in admin, went to upload an image, tried to return to contact form and got his error:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) in /tmp/silverstripe-cache-home-marutish-public_html/.cache.home.marutish.public_html.userforms.templates.EditableFormField.ss on line 639

    Does it make sense to anybody? Would really appreciate help on this.

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: userdefinedform on 2.4 stable Link to this post

    Web Designer Perth: sounds like your server only has 32mb of php memory. You should run SS with at least 64mb (well 48mb is the official one but even that is on the low side).

  • Web Designer Perth
    Avatar
    Community Member
    49 Posts

    Re: userdefinedform on 2.4 stable Link to this post

    Have just confirmed memory_limit is 128M.

  • Willr
    Avatar
    Forum Moderator
    5482 Posts

    Re: userdefinedform on 2.4 stable Link to this post

    How have you changed it / checked it? Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 491520 bytes) makes it pretty clear that at least for SilverStripe it can only use 32mb.

  • Web Designer Perth
    Avatar
    Community Member
    49 Posts

    Re: userdefinedform on 2.4 stable Link to this post

    I know what you're saying.

    Changed via php.ini (in root) - checked via info.php.

    To carry on working, I cleared browser cache and cookies and logged back in.

    So far so good and the form (front end) appears to be functioning.

    BTW - thanks for you help. Much appreciated.

  • Flaex
    Avatar
    Community Member
    4 Posts

    Re: userdefinedform on 2.4 stable Link to this post

    I worked with SS and its modules for a couple of years and they always run cool and smooth, yesterday for the first time i had the memory fatal error. Thankfully, there's a community who always want to help with advices and knowledge.

    Thank you guys, we're improving the best CMS ever created!

    2517 Views
Page: 1 2
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.