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 HTML editor issues

Discussion in 'General Discussion' started by luvz2drv, Jan 8, 2010.

  1. luvz2drv

    luvz2drv Member

    Joined:
    Aug 5, 2007
    Messages:
    20
    Likes Received:
    0
    Trophy Points:
    1
    I have a client that is reporting and tested by me as well that
    when the select to upload new image ... the html editor puts a that there session is expired.

    now reading thru the forum with search

    i have checked.. i do have /tmp in my php.ini

    i have tried a --force update //

    and am running
    cPanel 11.25.0-C42399 - WHM 11.25.0 - X 3.9


    thanks for any thoughts or help on this.
     
  2. lehels

    lehels Well-Known Member

    Joined:
    Jul 10, 2006
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    We run the exact version of cPanel, and the same problem occurs!
    There is a log file somewhere generating to see what's happening?
    session.save_path is configured to tmp/ on both php.ini [system & cPanels];
    What else?

    Cheers,
    Lehel
     
  3. mattmattt

    mattmattt Member

    Joined:
    Aug 25, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    I am also having problems with a customer using the file manager.
    In our case the user cannot edit a html file. It simply puts up a blank page
    and then in /usr/local/cpanel/logs/error_log i see this:

    /usr/libexec/ld-elf.so.1: /usr/local/lib/libxml2.so.5: Undefined symbol "pthread_mutex_lock"

    FreeBSD 6.3-REL
    cPanel 11.25.0-R42400 - WHM 11.25.0 - X 3.9

    i would guess it has something to do with how some software was compiled
    and failed to get threading in it? But that is just a guess. I just started
    debugging it. I did a upgrade of cpanel and then a rebuild of apache and php.
    Still no luck.
     
  4. mattmattt

    mattmattt Member

    Joined:
    Aug 25, 2004
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    1
    Since i posted to this thread i might as well post my solution so this may bring
    someone closer to solving their problem.

    After poking around for a while i noticed an /opt directory containing a dir
    called xml2. Now on freebsd, admins normally do not use /opt. We have /usr/local/
    for software additions. So to see this directory set off alarm bells as a key
    to solving the problem.

    basically that /opt/xml2/lib dir contained all the xml2 libs. Well how about i
    backup my libs in /usr/local/lib and put these there?

    www# ls -al /opt/xml2/lib
    total 7866
    drwxr-xr-x 3 root wheel 512 Jan 20 14:35 .
    drwxr-xr-x 6 root wheel 512 Jun 3 2008 ..
    -rw-r--r-- 1 root wheel 3251506 Jan 20 14:35 libxml2.a
    -rwxr-xr-x 1 root wheel 974 Jan 20 14:35 libxml2.la
    lrwxr-xr-x 1 root wheel 12 Jan 20 14:35 libxml2.so -> libxml2.so.9
    -rwxr-xr-x 1 root wheel 2328910 Jun 3 2008 libxml2.so.8
    -rwxr-xr-x 1 root wheel 2379503 Jan 20 14:35 libxml2.so.9


    www# ls -al /usr/local/lib | grep xml2
    -rw-r--r-- 1 root wheel 3251506 Jan 21 11:29 libxml2.a
    -rw-r--r-- 1 root wheel 1377542 Jan 20 15:46 libxml2.a.backup
    -rwxr-xr-x 1 root wheel 974 Jan 21 11:29 libxml2.la
    -rwxr-xr-x 1 root wheel 965 Jan 20 15:46 libxml2.la.backup
    lrwxr-xr-x 1 root wheel 27 Jan 21 11:29 libxml2.so -> /usr/local/lib/libxml2.so.9
    -rwxr-xr-x 1 root wheel 1271851 Jan 20 15:46 libxml2.so.5.backup
    -rwxr-xr-x 1 root wheel 2379503 Jan 21 11:29 libxml2.so.9
    lrwxr-xr-x 1 root wheel 12 Jan 20 15:46 libxml2.so.backup -> libxml2.so.5

    and after that the html editor worked, i stopped getting the error in the
    logs, and i just hope i did not break something else.
     
  5. Joel Wigley

    Joel Wigley Member
    PartnerNOC

    Joined:
    Feb 20, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    I'm running 11.25.0-STABLE_43473 and I have an identical problem to the OP.

    Clicking any link in the toolbar of the HTML editor opens a popup stating the session has expired.

    /tmp is set in my php.ini as the session.save_path

    I've also tried a forceful cPanel update but it hasn't helped.
     
  6. cPanelDon

    cPanelDon cPanel Quality Assurance Analyst
    Staff Member

    Joined:
    Nov 5, 2008
    Messages:
    2,557
    Likes Received:
    7
    Trophy Points:
    38
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    What is the output of the following command?
    Code:
    # stat /var/cpanel/usecpphp
    If the file does not exist, try creating it:
    Code:
    # touch /var/cpanel/usecpphp
     
  7. Joel Wigley

    Joel Wigley Member
    PartnerNOC

    Joined:
    Feb 20, 2008
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    The file didn't exist, so I did as you suggested and created it, which has fixed the problem immediately.

    I would never have linked the error to that fix, that's rather unusual.

    Thanks very much :)
     
Loading...

Share This Page