thebeveragegourmet:
checked the debug file and got this:
[12-Sep-2010 10:26:02] PHP Fatal error: Cannot redeclare class order in includes/classes/order.php on line 1091
I tried "fixing" that. I uploaded the order.php file that I last had backed-up (when it worked). I placed another test order. Same results. No confirmation email on my "customer" end and no confirmation on my admin end.
I have the same error as above for my debug log.Merely re-uploading the file is unlikely to be the solution. Something outside of that file is loading it again for some strange reason.
thebeveragegourmet:
There was also a mydebug-adm error on the 11th that reads:
[11-Sep-2010 11:45:35] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #1 is not an array in /customers.php on line 1134
[11-Sep-2010 11:45:35] PHP Warning: array_merge() [<a href='function.array-merge'>function.array-merge</a>]: Argument #2 is not an array in customers.php on line 1136
[11-Sep-2010 11:45:35] PHP Warning: reset() [<a href='function.reset'>function.reset</a>]: Passed variable is not an array or object in /includes/classes/object_info.php on line 29
[11-Sep-2010 11:45:35] PHP Warning: Variable passed to each() is not an array or object in includes/classes/object_info.php on line 30That's likely a result of bad addresses on a certain customer's record, usually a result of importing customers from some external source, or having deleted various countries from your database and having PayPal create an account for a customer in said deleted country, thus creating a mismatch; or maybe simply someone messing with the raw data in the database; or maybe a bad addon that's broken some data. May or may not be related to the symptoms currently being discussed.
thebeveragegourmet:
should I contact my host to see if they changed something?While it may or may not be related, it's good to know whether they had any system problems that required them to reload files from backups, or whether they upgraded any software recently, especially around the same timeframe. They'll usually answer "no" whether that's true or not, but it never hurts to ask.
thebeveragegourmet:
I haven't seen these errors before...They're rare errors, and usually a result of some file misplaced or damaged.
thebeveragegourmet:
Should I just try to reload my old backed up files over these?NO!!!
FIRST you should take a fresh backup of files and database.
THEN check what's different between your prior backup and today's backup: http://www.zen-cart.com/wiki/index.php/Troubleshoot_-_Diagnosing_Obscure_Issues
And, depending on what version of Zen Cart you're using and whether you've applied all the known patches for that version, you should also consider whether you've been hacked: http://www.zen-cart.com/wiki/index.php/Recovering_From_Hacks
(Fortunately, as of today, there have been no patches posted for v1.3.9 yet, so hacking is less likely to be an issue, but I'm stating the possibility because it's relevant.)
DOING A FULL RESTORE IS RISKY, SINCE YOU RUN THE RISK OF DELETING ORDERS/CUSTOMERS CREATED SINCE THAT BACKUP WAS TAKEN. A full restore should be considered a last resort.
.
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.