Jump to content


Photo

Zend Guard Loader, php 5.3.x


I recently upgraded my php installation to php5.3 (I upgraded my debian install to squeeze because I needed the multiple virtual named hosts on sll that are only available in the default packages in squeeze and above).

I had previously been using Zend Optimizer on php 5.2. I changed the loader to the Zend Guard Loader for php 5.3 as required. I also uploaded the nexus zend guard files for php 5.3. When I tried to navigate to my forums I was greeted with the amazingly descriptive error:

Fatal error: Call to undefined function is_array() in /home/modstati/public_html/admin/applications_addon/ips/nexus/sources/support.php on line 296

Now having my forums (and store offline is obviously a problem). To double check that it wasn't a problem with the php install I created a test script that checks that is_array() is present and correct
<?php
$test = array();
if(is_array($test)) {
	print 'Is array works!';
}
?>

which can be run here: http://www.modstation.com/isarray.php

and is_array is definitely present and working.

Given that I need my forums online I switched over to the ioncube loader and ioncube version of nexus and it is working fine. However this is an issue that needs to be addressed. Either Nexus was not encoded properly to be used with php 5.3, or there is a bug in the ZendGuardLoader which causes issues.

I'd be happy to setup a test board with nexus_zend_5.3 for you guys to run some tests on if you wish.

Status: Not a Bug
Version: 1.2.2
Fixed In:


4 Comments

Updating status to: Not a Bug

This is a bug with Zend Guard Loader.

I'd recommend using the Ioncube version instead.
Then may I suggest adding a notice in the client area about the zend5.3 build of Nexus so that people don't needlessly waste time, as I did, trying to get it to work when it's not going to work due to a bug in the underlying loader?
Hallo,
I still got the same problem on 64bit ubuntu server.

with Zend Guard Loader v3.3, Copyright © 1998-2010, by Zend Technologies

isn't there a newer loader that works on 64bit?

maybe there's a problem with the

Zend Engine v2.3.0, Copyright © 1998-2010 Zend Technologies

i can't install ip.downloads/nexus ...

apache2 error message:

PHP Fatal error: Incompatible file format: The encoded file has format major ID 3, whereas the Loader expects 4 in /var/www


Does anyone know how it works? 64bit would be great but maybe there is only a chance on 32bit working?

Please help. Thanks & regards PS
From the error it looks like you're using the wrong package, however, submit a ticket for further support please. Tracker is only for bug reports.