ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

RTE error in Safecracker Undefined property: EE::$rte_lib

October 11, 2012 3:31pm

Subscribe [1]
  • #1 / Oct 11, 2012 3:31pm

    dehuszar

    99 posts

    I’m getting a weird error, given the other similar error I found here, I’m wondering if it’s a LAMP stack issue.

    I’m reusing a known-to-be-working safecracker-based contact form from a client site running EE 2.5.2 on a Dreamhost VPS account which is running PHP 5.2.17 and MySQL 5.0.32.

    On my dev server, however, I get the following error:

    A PHP Error was encountered

    Severity: Notice

    Message: Undefined property: EE::$rte_lib

    Filename: rte/ft.rte.php

    Line Number: 38

    My dev site is using EE 2.5.3 and the server is running PHP 5.3.10-1ubuntu3.4, and MySQL 5.5.24.  If I switch to the regular Rich Text field, the form works fine.  Switching it back to the new RTE causes the above error again.  So far as I can tell, all the safecracker js and css libraries are loading fine, no JS errors are being reported in Chrome’s inspector.

    Any ideas?

  • #2 / Oct 14, 2012 10:51am

    Kevin Smith

    4784 posts

    Hi dehuszar,

    I’d like to try to reproduce this on my end, but I just need some more specific information before I can do that. Could you share the template code you’re using here? Or at least the opening and closing SafeCracker tags and the parts of the SafeCracker form that are relevant to this field? Which settings are you changing that cause the form to work properly and vice-versa?

  • #3 / Oct 18, 2012 1:56pm

    dehuszar

    99 posts

    Weird.  It just stopped happening randomly.  Maybe it was just something in the cache.  I’ll holler back if I see it happen again.

  • #4 / Oct 19, 2012 3:46pm

    Dan Decker

    7338 posts

    Hi dehuszar,

    Excellent!

    Indeed, if you need anything else, please let us know!

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases