Page 1 of 2
[Zen Cart] Incompatible File Format
Posted: Tue Mar 15, 2011 6:06 pm
by testuser
I've installed the module.
This is the error I'm getting:
Code: Select all
[15-Mar-2011 17:46:21] PHP Fatal error: Incompatible file format: The encoded file has format major ID 0, whereas the Optimizer expects 2 in /home/hyosungp/public_html/includes/magic_seo_urls-5.php on line 0
Here is an excert from the phpinfo:
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
Everything looks correct and the files have been uploaded via binary mode.
Files also edited on server and files from package copied directly. Still no worky!
Re: [Zen Cart] Incompatible File Format
Posted: Tue Mar 15, 2011 7:43 pm
by inveo
You are probably trying to run 1.x or 2.x Series compiled for PHP5 on PHP4 (3.x Series comes with all-in-one package with Inveo Loader which recognizes PHP version and load appropriate file).
There are two possible solutions in your case: 1) use PHP5 as before 2) contact us directly and request MSU compiled for PHP4.
Re: [Zen Cart] Incompatible File Format
Posted: Wed Mar 16, 2011 9:14 am
by testuser
This is the version of PHP currently installed on server.
PHP Version: 5.2.14 (Zend: 2.2.0)
Re: [Zen Cart] Incompatible File Format
Posted: Wed Mar 16, 2011 10:50 am
by inveo
I look more carefully to you first post today and I see you are using 3.x Series.
What I would recommend to do:
- Make sure you are using the latest version (3.0.04) and if not download and install it.
- try to delete includes/magic_seo_urls-5.php and includes/magic_seo_urls-53.php files.
- remove ionCube PHP Loader and eAccelerator from PHP.
Re: [Zen Cart] Incompatible File Format
Posted: Thu Mar 17, 2011 11:29 am
by testuser
~J~ wrote:What I would recommend to do:
1. Make sure you are using the latest version (3.0.04) and if not download and install it.
2. try to delete includes/magic_seo_urls-5.php and includes/magic_seo_urls-53.php files.
3. remove ionCube PHP Loader and eAccelerator from PHP.
These are needed by other applications on our webserver.
I don't think that's a valid solution either as this module should work with standard and advanced php distributions.
It's closed source or I'd personally try and find a solution.
Re: [Zen Cart] Incompatible File Format
Posted: Thu Mar 17, 2011 11:32 am
by inveo
Have you tried it 1) and 2)?
Re: [Zen Cart] Incompatible File Format
Posted: Thu Mar 17, 2011 12:16 pm
by testuser
~J~ wrote:Have you tried it 1) and 2)?
Yes and the error is as follows:
Code: Select all
[17-Mar-2011 11:40:48] PHP Fatal error: Incompatible file format: The encoded file has format major ID 0, whereas the Optimizer expects 2 in /home/hyosungp/public_html/includes/magic_seo_urls-43.php on line 0
Re: [Zen Cart] Incompatible File Format
Posted: Thu Mar 17, 2011 4:22 pm
by inveo
"The encoded file has format major ID 0" usually means files are corrupted. Please make sure you have used BINARY mode (I overlooked "0" before (only for other than ID "0" previous instructions apply).
Re: [Zen Cart] Incompatible File Format
Posted: Thu Mar 17, 2011 8:51 pm
by testuser
~J~ wrote:"The encoded file has format major ID 0" usually means files are corrupted. Please make sure you have used BINARY mode (I overlooked "0" before (only for other than ID "0" previous instructions apply).
Ok, not getting the error now but URL's aren't rewriting.
Please check the package for
www.hyosungparts.asia.
Re: [Zen Cart] Incompatible File Format
Posted: Fri Mar 18, 2011 7:05 am
by inveo
Please follow installation instructions and do not skip the activation.