When I login to my admin it says: Your version of Zen Cart™ appears to be current.
When I login to my admin it says: Your version of Zen Cart™ appears to be current.
MonkFunk Music Community
Free Music Website
And if you click the "Version Info" link beside the logout link in the top right of your admin panel, what version info does it give you?
.
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.
Zen Cart 1.3.8a
MonkFunk Music Community
Free Music Website
If that's the case, then you've done something to break one or more of the paypal-related files under your /includes/modules/payment folder and subfolders.
Time to compare them all and fix whatever differences exist.
.
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.
when I put the code back to the original everything works fine, but we still are getting these double orders... only sometimes...
MonkFunk Music Community
Free Music Website
does anyone know what the function datetime_to_sql_format does? this is not a mysql function from what i can tell.
i too am getting the error stated at the start of this thread -- and when i implement the code to fix it i get a blank screen.
i think this is because the function datetime_to_sql_format is not defined however i may be wrong. Please advise.
Your blank screen will be a result of an incorrect edit, perhaps even by leaving extra blank lines at the end of the file.
Related FAQ (posted earlier in this discussion for the same reason): https://www.zen-cart.com/tutorials/index.php?article=82
.
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.
i forgot i already had error reporting enabled, and the error is as i suspected undefined function, please see below.
undefined method paypal::datetime_to_sql_format() in E:\Website_data\tw2_test\includes\modules\payment\paypal.php on line 413
line 413 is that new line i added...Code:'payment_date' => $this->datetime_to_sql_format($this->pdtData['payment_date']),
That function is defined in /includes/modules/payment/paypal/paypal_functions.php
If it's missing from yours, then you've got a very old version of the file or you've got addons/customizations which have broken core functionality.
.
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.