Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • cap2010 Friend
    #158089

    Related to this thread here: http://www.joomlart.com/forums/topic/jce-editor-not-loading-in-jat3-2-0-framework-with-js-optimization-turned-on/

    Mine loads fine now with the tiny_mce_gzip.js excluded, but the JCE file browser does not work.
    I get an error:


    Fatal error: Cannot redeclare class Browser in I:GeralPortal15pluginseditorsjcetiny_mcepluginsbrowserclassesbrowser.php on line 16

    If i use rhuk_milkyway, it work all fine.
    I’ve tried all possible and imaginable compress on and off combination.

    My JA template is Teline III.

    Environment:
    Joomla 1.5.22 with template JA Teline III v2 1.0.0 and JA T3 Framework plugin 1.2.2 and JCE 1.5.7.6 (Windows 2003 Server + Apache 2.2.4 + PHP 5.2.11);

    Thanks in advanced.

    thuanlq Friend
    #369759

    Hi,
    I tried installing JCE editor on local site with Teline iii v2 template, it works fine. Please provide me your site information (ftp account, admin user account ) i will check your problem and give you solution.

    thankx

    cap2010 Friend
    #369858

    Sent you a PM.

    Thanks.

    thuanlq Friend
    #369923

    <em>@cap2010 212460 wrote:</em><blockquote>Sent you a PM.

    Thanks.</blockquote>
    Hi,
    I check ja teline III v2 template, Browser class of JCE was conflict with Browser class of T3 framework. So you can resolve your problems by rename Browser class of JCE:
    – Go to location “pluginseditorsjcetiny_mcepluginsbrowser”, open file “browser.php” change


    $manager =& Browser::getInstance();

    to


    $manager =& FBrowser::getInstance();//Browser class rename to FBrowser

    – Open file “browser.php” on “classes” folder, change name of class to FBrowser
    Change


    class Browser extends Manager

    to


    class FBrowser extends Manager

    and change


    function &getInstance()
    {
    static $instance;

    if (!is_object($instance)) {
    $instance = new Browser();
    }
    return $instance;
    }

    to


    function &getInstance()
    {
    static $instance;

    if (!is_object($instance)) {
    $instance = new FBrowser();
    }
    return $instance;
    }

Viewing 4 posts - 1 through 4 (of 4 total)

This topic contains 4 replies, has 2 voices, and was last updated by  thuanlq 13 years, 10 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum