[Zen Cart] Incompatible File Format

Magic SEO URLs for Zen Cart.
testuser
Posts: 11
Joined: Fri Jun 27, 2008 5:15 pm

[Zen Cart] Incompatible File Format

Postby testuser » Tue Mar 15, 2011 6:06 pm

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! :roll:

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Incompatible File Format

Postby inveo » Tue Mar 15, 2011 7:43 pm

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.

testuser
Posts: 11
Joined: Fri Jun 27, 2008 5:15 pm

Re: [Zen Cart] Incompatible File Format

Postby testuser » Wed Mar 16, 2011 9:14 am

This is the version of PHP currently installed on server.

PHP Version: 5.2.14 (Zend: 2.2.0)

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Incompatible File Format

Postby inveo » Wed Mar 16, 2011 10:50 am

I look more carefully to you first post today and I see you are using 3.x Series.

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.

testuser
Posts: 11
Joined: Fri Jun 27, 2008 5:15 pm

Re: [Zen Cart] Incompatible File Format

Postby testuser » Thu Mar 17, 2011 11:29 am

~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.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Incompatible File Format

Postby inveo » Thu Mar 17, 2011 11:32 am

Have you tried it 1) and 2)?

testuser
Posts: 11
Joined: Fri Jun 27, 2008 5:15 pm

Re: [Zen Cart] Incompatible File Format

Postby testuser » Thu Mar 17, 2011 12:16 pm

~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

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Incompatible File Format

Postby inveo » Thu Mar 17, 2011 4:22 pm

"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).

testuser
Posts: 11
Joined: Fri Jun 27, 2008 5:15 pm

Re: [Zen Cart] Incompatible File Format

Postby testuser » Thu Mar 17, 2011 8:51 pm

~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.

inveo
Inveo Support
Posts: 1285
Joined: Sat Feb 02, 2008 12:07 pm
Contact:

Re: [Zen Cart] Incompatible File Format

Postby inveo » Fri Mar 18, 2011 7:05 am

Please follow installation instructions and do not skip the activation.