Site maintenance: Sun 15 Nov, from 12:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / All Other Contributions/Addons / Fatal Error: Incompatible File Format in m1_loader.php

Fatal Error: Incompatible File Format in m1_loader.php

Started by badmunchkin on 7 Aug 2011, 10:16 PM · Views: 6,836

Results 1 to 9 of 9
7 Aug 2011, 10:16 PM
#1
badmunchkin avatar

badmunchkin

New Zenner

Join Date:
Feb 2007
Posts:
25
Plugin Contributions:
0

Fatal Error: Incompatible File Format in m1_loader.php

When I log-in to my zen cart admin, I am getting this error message and nothing displays. What gives?

Fatal error: Incompatible file format: The encoded file has format major ID 0, whereas the Optimizer expects 2 in /home/yomama/public_html/zencart/ADMIN/m1_loader.php on line 0

7 Aug 2011, 10:25 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Fatal Error: Incompatible File Format in m1_loader.php

Contact MagneticOne for help with the commercial addon modules you've bought from them.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Aug 2011, 11:28 PM
#3
badmunchkin avatar

badmunchkin

New Zenner

Join Date:
Feb 2007
Posts:
25
Plugin Contributions:
0

Re: Fatal Error: Incompatible File Format in m1_loader.php

Everything was working fine until today.

7 Aug 2011, 11:41 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Fatal Error: Incompatible File Format in m1_loader.php

badmunchkin:

Everything was working fine until today.
Fair enough.

So, what did you change? Most people usually say "nothing".
So, then since nobody here changed anything on you, the only wildcard left is your hosting company.
Contact them to see what they did to their servers that suddenly broke the addons you're using.

Maybe the writer of your commercial addon has more information on their website about the kinds of errors you're encountering while using their modules on your site, and what kinds of things you need to ask your hosting company about, or what technical requirements are need on your hosting service that maybe your hosting service changed/broke with a recent update they made.

Or maybe your 3rd-party addon service has something built-in to their addon that installs its own updates, which has broken something? If so, giving that sort of external control to someone is risky. M1 will have to answer about whether their addons do that sort of inappropriate thing.

Or, uninstall the addon and the error which it's triggering will go away.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

7 Aug 2011, 11:51 PM
#5
badmunchkin avatar

badmunchkin

New Zenner

Join Date:
Feb 2007
Posts:
25
Plugin Contributions:
0

Re: Fatal Error: Incompatible File Format in m1_loader.php

I'm on it. Emailed M1 already. I didn't know the error was related to the M1 add-on until this thread so that was helpful at least.

7 Aug 2011, 11:59 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Fatal Error: Incompatible File Format in m1_loader.php

badmunchkin:

I'm on it. Emailed M1 already. I didn't know the error was related to the M1 add-on until this thread so that was helpful at least.
Here's the interpretation:
badmunchkin:

Fatal error: Incompatible file format: The encoded file has format major ID 0, whereas the Optimizer expects 2 in /home/yomama/public_html/zencart/cpanel/m1_loader.php on line 0

  • "encoded file" -- Zen Cart has no encoded files
  • "Optimizer" -- Zen Cart doesn't need the Zend Optimizer to run, but encoded files do
  • "m1_loader.php" -- That file doesn't exist in Zen Cart, but has an "m1_" prefix, which is customary of MagneticOne's addons.

M1 encrypts/encodes addons so that you do NOT have any access to their code. They're NOT open-source addons (contrary to how Zen Cart is issued and licensed).
Anything that goes wrong in their operation is entirely their job to support and fix.

The problem you're encountering is likely a result of your hosting company changing or disabling the Zend Optimizer engine on the server, and since the M1 encrypted addons require that engine to unencrypt and execute their code, you're dead in the water until that's fixed. Or until you remove/disable the addon.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Aug 2011, 12:05 AM
#7
badmunchkin avatar

badmunchkin

New Zenner

Join Date:
Feb 2007
Posts:
25
Plugin Contributions:
0

Re: Fatal Error: Incompatible File Format in m1_loader.php

Do you know a quick way to disable/remove the addon? M1 doesn't seem to be available today and the app wasn't that great anyways.

8 Aug 2011, 12:08 AM
#8
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,511
Plugin Contributions:
176

Re: Fatal Error: Incompatible File Format in m1_loader.php

Never used it.
Might be as easy as removing all the files added when you uploaded it, and undoing any edits you made to files, if any, when following the installation instructions.
Usually following installation instructions in reverse order accomplishes most removals of addons.
Your mileage may vary, of course.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

8 Aug 2011, 12:11 AM
#9
badmunchkin avatar

badmunchkin

New Zenner

Join Date:
Feb 2007
Posts:
25
Plugin Contributions:
0

Re: Fatal Error: Incompatible File Format in m1_loader.php

ya, I installed it quite awhile ago and can't even find the documentation. I completely deleted the m1 folders and that didn't work. Guess I'm stuck 'til tomorrow.