Enhanced Control panel all screwy

mike_p

Verified User
Joined
Aug 26, 2004
Messages
101
Hi

I've just tried changing to the enhanced control panel, but it appears unhappy.

It correctly shows the 3 main sections (Server Management, Admin Tools & Extra Features) with all their items below.

BUT it then appears to attempt to show them again, but fails to find the banners for each section and in place of (eg) 'Create Administrator' it shows |LANG_CREATE_ADMIN|. Above the first attempt at a banner it has a line ...
Content-type: text/html X-Powered-By: PHP/4.3.8 |LF_STANDARD|

Here's a screenshot (link will only be available for a few days)
badcp.jpg


Any help in sorting this out would be much appreciated!
 
fixed

Forget it!

I've found the problem.

I use a lot of PHP as CGI.

DirectAdmin was expecting to find a CLI version of PHP in /usr/local/bin.

I had replaced it with a CGI version.

Fortunately all my scripts actually look for PHP in /usr/bin where I have a symbolic link to /usr/local/bin. So I've named my my /usr/local/bin/php to /usr/local/bin/phpcgi , reset the symbloic link and replaced the php CLI version in /usr/local/bin.

Simple wasn't it?

I have left my original post and this solution intact incase anyone else stumbles into a similar problem.
 
Last edited:
Back
Top