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.

phpMyAdmin/MySQL Error

Discussion in 'Database Discussions' started by Mobius1, Sep 25, 2011.

  1. Mobius1

    Mobius1 Member

    Joined:
    Aug 19, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    I accidentally checked on the profiling box in phpMyadmin. Now whenever I try to browse a table, I get this error:

    Code:
    Fatal error: Call to undefined function imageftbbox() in /usr/local/cpanel/base/3rdparty/phpMyAdmin/libraries/chart/pChart/pChart.class on line 1118

    Screenshot of phpMyAdmin:

    Untitled.png


    Is there any way to fix this?


    EDIT: This is only occuring via WHM (WHM >> Main >> SQL Services >> phpMyAdmin). It doesn't happen when accessing phpMyAdmin via cPanel (cPanel >> Databases >> phpMyAdmin).
     
    #1 Mobius1, Sep 25, 2011
    Last edited: Sep 25, 2011
  2. milind

    milind Well-Known Member

    Joined:
    Jan 15, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Nasik (Maharashtra), India
    cPanel Access Level:
    Root Administrator
    I have searched on google and found that "imageftbbox" function is related with Freetype (PHP module) and this error comes when php is not compiled with TTF support. Can you please try to re-compile PHP (using easyapache) with TTF?
     
  3. Mobius1

    Mobius1 Member

    Joined:
    Aug 19, 2011
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    PHP was already compiled with TTF. However, I just updated to the newest version which seems to have fixed the problem :)
     
  4. milind

    milind Well-Known Member

    Joined:
    Jan 15, 2006
    Messages:
    113
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Nasik (Maharashtra), India
    cPanel Access Level:
    Root Administrator
    Glad to hear that your problem is fixed but I really don't have any idea why this occurred. I just searched and suggested what i read... :)
     
Loading...

Share This Page