store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Thu May 23, 2013 11:16 am

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 9 posts ] 
Author Message
 Post subject: SB publishing error after upgrade to latest PHP & Mysql5
Unread postPosted: Wed Oct 14, 2009 4:58 am 
Offline
Forum User
Forum User

Joined: Mon Dec 20, 2004 2:43 am
Posts: 67
Hi,

I only noticed a error with Sitebuilder publishing and modules after a ART upgrade of PHP and to Mysql5.

This is the error after running the Sitebuilder publich check:
ioncube=ok os= phpVersion=5.2.8 mbstring=ok zlib=ok session=ok dom=ok domxml_xslt=fail xslt=fail sqlite=2.8.14 sqliteEncoding=UTF-8 gd_png=ok gd_gif=ok gd_jpg=ok gd_wbmp=ok gd=2.0.34 mail=ok curl=ok serverApi=Apache Handler

So there is an error with:
domxml_xslt=fail
xslt=fail

Here is the error on the website error logs:

PHP Fatal error: Call to undefined function xslt_create() in /var/www/vhosts/domain.com/httpdocs/include/SB/Modules/GUI/Xml/Object.php on line 67

Ive not been able to install php-xslt for PHP 5.2.8-art - any advice?

The server is FC4 with
Mysql 5.0.84-1.fc4.art
PHP 5.2.8-1.fc4.art


Top
 Profile  
 
 Post subject: Re: SB publishing error after upgrade to latest PHP & Mysql5
Unread postPosted: Wed Oct 14, 2009 7:16 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
Wow FC4 huh? That is no longer maintained (by anyone, including me! I was the last guy standing), you can try building from the 5.2.11-3 src.rpm but I'm pretty sure that wont compile against FC4 any more which is probably why I dropped it.


Top
 Profile  
 
 Post subject: Re: SB publishing error after upgrade to latest PHP & Mysql5
Unread postPosted: Wed Oct 14, 2009 7:52 am 
Offline
Forum User
Forum User

Joined: Mon Dec 20, 2004 2:43 am
Posts: 67
I know FC4 is old but we have a lot of clients still running on that server.

You are the only person I know who maintained this OS.
Could you give me a quote to build the packages required for this?


Top
 Profile  
 
 Post subject: Re: SB publishing error after upgrade to latest PHP & Mysql5
Unread postPosted: Wed Oct 14, 2009 8:38 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
yeah send an email to sales@atomicorp.com so we know who to respond to, and include any debug information you might have collected outside of this.


Top
 Profile  
 
 Post subject: Re: SB publishing error after upgrade to latest PHP & Mysql5
Unread postPosted: Wed Oct 14, 2009 8:42 am 
Offline
Forum Regular
Forum Regular

Joined: Mon Apr 10, 2006 12:55 pm
Posts: 656
This isn't like having an old car you're trying to repair. FC4 went EOL some 3 years ago (current version is FC11!). That means a number of bad things for you, including

1. No security patches
2. Outdated libraries to compile against
3. No new features

Honestly, if you're doing this hosting for other clients, you NEED to move to something supported like CentOS 5 or, at the very least, have a plan to migrate up. Staying put really isn't an option (we seem to have this exact same discussion with someone about once a month).

_________________
"Its not a mac. I run linux... I'm actually cool." - scott


Top
 Profile  
 
 Post subject: Re: SB publishing error after upgrade to latest PHP & Mysql5
Unread postPosted: Wed Oct 14, 2009 9:06 am 
Offline
Forum User
Forum User

Joined: Mon Dec 20, 2004 2:43 am
Posts: 67
I understand and fully agree.

We have other CentOS 5 servers but we had a number of users on this old server with Sitebuilder and some had special custom apps running on old software - it's a long story but it's something we need to manage for a while.


Top
 Profile  
 
 Post subject: Re: SB publishing error after upgrade to latest PHP & Mysql5
Unread postPosted: Wed Oct 14, 2009 12:11 pm 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
Yeah its a chore to support even now, a lot of GNU autoconf utils will detect the old versions of various buggy utilities in that environment and refuse to build. Which means going into the newer code and either backporting it to work with those utilities, or updating them to work with it. Sounds easy on the surface, but what you end up with is a big cascade of updates with inter-dependencies. It gets unpleasant fast!


Top
 Profile  
 
 Post subject: Re: SB publishing error after upgrade to latest PHP & Mysql5
Unread postPosted: Wed Oct 28, 2009 12:04 am 
Offline
Forum User
Forum User

Joined: Mon Dec 20, 2004 2:43 am
Posts: 67
I found this article which explains exactly what is required for Sitebuilder
and PHP 5.2.x

http://download1.parallels.com/SiteBuil ... /index.htm

As far as I could find the problem is that PHP 5.2.5 and upwards includes the
XSL extension by default and can be enabled by adding the
argument --with-xsl[=DIR] to the PHP configure line.

Look at this post http://forum.parallels.com/showthread.php?t=80350

When I look at our phpinfo page I don't find the "--with-xsl" as stated above which seems to point to the fact
that the PHP 5.2.8-1.fc4.art RPM does not include this argument.

Could you please look into this and assist us with a php 5.2.8 rpm that
includes the XSL extension.

I contacted your Sales for a quote but your Support guys have not come back to me on the above information.


Top
 Profile  
 
 Post subject: Re: SB publishing error after upgrade to latest PHP & Mysql5
Unread postPosted: Wed Oct 28, 2009 6:19 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7425
Location: earth
Thats probably in my queue, and I'm teaching all this week so sorry about that. The 5.x PHP package uses an architecture that changes the dynamics of the what phpinfo() can tell you, it does in fact have --with-xml built in. The dom, xml, and xsl modules for apache end up in the package "php-xml".


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 9 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group