The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WysiwygPro on EDGE

Discussion in 'cPanel Developers' started by rs-freddo, Mar 19, 2006.

  1. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    Just updated to the latest EDGE (as my clients really do need to use this software) and i get the following error:

    WysiwygPro - Setup Error: WysiwygPro cannot find its file library. Your WP_FILE_DIRECTORY setting is incorrect, or some files are missing. This paramater should be set to the full file path to the 'editor_files' folder. This value should be set in config.php.

    Anyone else on EDGE have this problem?????
    Anyone know how to fix it?????
     
  2. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    The FIX...

    Sometimes i wonder whether cPanel actually bothers to test any of it's software...
    WysiwygPro can't possibly work on any EDGE cPanel Server.

    # cd /usr/local/cpanel/3rdparty/WysiwygPro/editor_files/
    # vi config.php
    find the following line and change it to:
    define('WP_FILE_DIRECTORY', $_SERVER['DOCUMENT_ROOT'].'/WysiwygPro/editor_files/');

    New installs of WysiwygPro will now work.
    On old installs you'll need to go in and edit the config.php file in the user space as above.
    it can be found at:
    /home/username/www/WysiwygPro/editor_files/

    Hope this helps someone...
     

Share This Page