cpanel tags broken in latest upgrade?

MrHits

Well-Known Member
Oct 31, 2001
93
0
306
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?
 

MrHits

Well-Known Member
Oct 31, 2001
93
0
306
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.
 

Rooter

Well-Known Member
Apr 23, 2003
146
1
168
Houston, Texas, U.S.A.
cPanel Access Level
Root Administrator
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.
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?
 

cPanelKenneth

cPanel Development
Staff member
Apr 7, 2006
4,607
79
458
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.