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.

cpanel tags broken in latest upgrade?

Discussion in 'General Discussion' started by MrHits, Sep 3, 2007.

  1. MrHits

    MrHits Well-Known Member

    Joined:
    Oct 31, 2001
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Cpanel tags no longer work in the users control panel after performing the latest ugprade :-(

    Anyone else having this problem:

    Example: this function displays nothing:
    <cpanel Quota="showquotaremain()">

    It appears also that the cpanel engin is not preprocessing because i have a function to notify the user of certain limits, so i read the disk size with this:

    $diskleft = intval("<cpanel Quota="showquotaremain()">");

    However this error is displayed:

    Parse error: syntax error, unexpected T_STRING in /usr/local/cpanel/base/frontend/ts2/index.php on line 8


    Which basically means it dosent like the quotes where "showquotamain()" is, but php should never see that if the cpanel engine were working..


    anyone else having this problem?
     
  2. MrHits

    MrHits Well-Known Member

    Joined:
    Oct 31, 2001
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    Update to this ticket.... cpanel tags in the control panel are only being processed by html pages. If a page is named with a php extension cpanel tags are not procssed on it.
     
  3. Rooter

    Rooter Well-Known Member

    Joined:
    Apr 23, 2003
    Messages:
    146
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Houston, Texas, U.S.A.
    cPanel Access Level:
    Root Administrator
    Please provide the following so you have a better chance at receiving useful assistance:
    1.) The exact cPanel/WHM build you are using.
    2.) The OS distribution and version you are using.

    This information can be found in the upper-right corner of your WHM control panel; simply copy-and-paste that here.

    Have you submitted an actual ticket to cPanel, or just posted on the forums?
     
  4. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Joined:
    Apr 7, 2006
    Messages:
    4,461
    Likes Received:
    22
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    use the internal PHP binary:

    Code:
    touch /var/cpanel/usecpphp
    
    There's something happening when using the system binary that we are currently investigating.
     
Loading...

Share This Page