View Full Version : Problem after installing "Hermes" skin
113345
05-06-2004, 07:43 AM
Hi,
Using DA v1.21.3 and Hermes 1.12
After the install I changed the skin for the reseller and the user.
Right after logging in I get:
Content-type: text/html X-Powered-By: PHP/4.3.6
Parse error: parse error, unexpected '|' in /usr/local/directadmin/data/skins/hermes/reseller/skins.html on line 5
I managed to put the default skin back through the user.conf files.
What should I do now, because I would like to test the skin.
neorder
05-06-2004, 08:42 AM
the skin itself is okay, are you sure you installed correctly?
If anything goes wrong and skin messes up type this in browser url:http://1.2.3.4:2222/CMD_SKINS?reset=yes (where http://1.2.3.4 is your server url)
try delete the install directory and reinstall again.
DirectAdmin Support
05-06-2004, 12:43 PM
Content-type: text/html X-Powered-By: PHP/4.3.6
That's not a DA http header...seems like an apache header to me.
John
113345
05-06-2004, 01:24 PM
Hi,
@neorder:
I deinstalled "Hermes" through the panel and checked if the directory was gone. After that I uploaded and installed the skin again with the same results.
@John:
my config is a little different from the original install.
suPHP is installed, but the config lines (in httpd.conf):
suPHP_Engine on
AddHandler x-httpd-php .php
are only used in "Custom Httpd Configurations" for normal users
The PHP is the CGI type:
www1# php -v
PHP 4.3.6 (cgi) (built: Apr 29 2004 16:15:16)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
The Hermes skin uses php.
Could this be the problem?
To check if suPHP works I installed Coppermine as a user, and that works perfectly.
I am confused now.
113345
05-31-2004, 04:50 AM
Answering my own question:
The suPHP config was the problem, because is uses the CGI php.
This problem was solved by having two php executables:
/usr/local/php and /usr/local/php.cgi
I changed the suPHP Makefile to use /usr/local/php.cgi.
DirectAdmin can now use the normal CLI php.
@John:
The header:
Content-type: text/html X-Powered-By: PHP/4.3.6
is the CGI php header, the CLI php does not have a header.
The "Hermes" skin works fine now.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.