Strange skin behavior.

swurvin

Verified User
Joined
Oct 17, 2005
Messages
15
Location
Jacksonville , FL
Hello I just recently did ./build php y to update my curl version, and after the build all my skins except default are acting weird. It looks to me like the code is being repeated twice. I have a screen shot of one of the pages of the enhanced skin.
sorry about the size it is directly from mspaint.
http://hostedfiles.net/error.bmp
Any help would be greqatly apprecaited.
operating system is freebsd 4.11
 
the enhanced and power skins
use php, the default doesn't.

i'd similar issues after building php
as cgi, so had to modify
the lines containing the path to php
on those skins.

what does

php -v

display ?
 
Here is my output
webserver# php -v
PHP 4.3.11 (cgi) (built: Oct 16 2005 22:44:22)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

p.s.
Sorry it took so me long to reply i don't have acces to a computer at work.
 
here's some info from a server where
I've php built as cgi, and enhanced skin works:

23:58:04 $ php -v
PHP 4.3.11 (cgi) (built: Oct 14 2005 18:44:58)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with Zend Extension Manager v1.0.6, Copyright (c) 2003-2004, by Zend Technologies
with Zend Optimizer v2.5.7, Copyright (c) 1998-2004, by Zend Technologies

23:59:18 $ grep '/usr/local/bin/' /usr/local/directadmin/data/skins/enhanced/*/*
/usr/local/directadmin/data/skins/enhanced/admin/content_main.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/admin/content_main.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/reseller/content_main.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/reseller/content_main.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/reseller/template_reseller_bottom.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/reseller/template_reseller_bottom.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/user/show_domain.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/user/show_domain.html:|$/usr/local/bin/php.cli
/usr/local/directadmin/data/skins/enhanced/user/template_user_bottom.html:|$/usr/local/bin/php.cli

as you see, i had to reference the cli version
which I've got in /usr/local/bin/php.cli

maybe there;s another way, but sometimes
have to be efficient, and just get it working

( each time you upgrade DA, you may get
new skins -which'll break again - best write
a little script, if you're going to edit those files )
 
Last edited:
I tried changing it to point to phpize in /usr/local/bin the skins look 99 percent better. For some reason i receive a small error at the bottom stating.

Cannot find config.m4. Make sure that you run '/usr/local/bin/phpize' in the top level source directory of the module

Any ideas? :confused:
 
not sure you'd want to run phpize.

your php client version is probably in:

/usr/local/directadmin/customapache/php-4.3.11/sapi/cli/php

that's rather long, so if you use that, you could
symlink something to it
 
Back
Top