Fatal error: Cannot redeclare date_diff() in /home/stevi556/public_html/shop/admin/includes/functions/general.php on line 2983
The above is what I get when I try to go to the login page for my ZenCart admin. Any suggestions on how to fix it?
Fatal error: Cannot redeclare date_diff() in /home/stevi556/public_html/shop/admin/includes/functions/general.php on line 2983
The above is what I get when I try to go to the login page for my ZenCart admin. Any suggestions on how to fix it?
Is this a new install? Old shop that suddenly stopped working?
What version is it?
Have you added any mods or made any changes recently?
It's an older install that suddenly stopped working. I don't know which version it is...
This may have started after doing an update?
That is a classic indication of trying to use ZC v1.3.8a or older on a server running PHP version 5.3.0 or newer.
Best solution: upgrade to a newer version of Zen Cart. Yours is not only incompatible with contemporary server software, but it also has numerous serious security holes.
.
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.
By upgrade, you mean install the new version and start from scratch, or is there an upgrade option that won't wipe out my current "store?"
By following a proper upgrade, which retains all your existing data: www.zen-cart.com/upgrade
Temporarily staged in another folder+database while you "test" it all, before touching your "live" store, so that there's no downtime. As explained in that document.
.
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.
Bookmarks