That means your /admin/includes/functions/general.php file is the v1.3.8 version of the file.
(Zen Cart v1.3.8a and older are NOT compatible with PHP 5.3)
So, either you're actually running v1.3.8a (instead of v1.3.9h which you stated in your post), or you've installed an addon that replaced core files with old code.
.
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.
You can find the actual version in the /includes/ vers ion.php file.
But, in many respects technically it doesn't matter at this point.
You're clearly using code that's not compatible with the PHP version on your server.
If I were in your shoes, I would do one of the following:
1 - If you are using v1.3.9a or newer:
a. get the original Zen Cart zip for the version of Zen Cart you're actually using, and unzip that on my computer
b. download a complete set of all the files from your server
c. compare the two sets of files, and fix whatever is broken
2 - If you're actually using v1.3.8a or older:
a. UPGRADE your site to v1.3.9h or v1.5.0
.
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.
define('PROJECT_VERSION_MAJOR', '1');
define('PROJECT_VERSION_MINOR', '3.9h');
So does this mean I am on 3.9h? And shouldn't be having a problem?
Yes, so that means you need to go fix up the files on your server that belong to an older version, as I mentioned in my first post.
.
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.