Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Nice one, @carlwhat! I'm guessing that that statement applies to constant definitions, too, since they're not variables.
:thumbsup:
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
carlwhat
:thumbsup:
I'll update OPC's readme to reflect that minimum PHP 5.5 requirement.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
carlwhat
perhaps not that odd. from
https://www.php.net/manual/en/function.empty.php
Note:
Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error. In other words, the following will not work: empty(trim($name)). Instead, use trim($name) == false.
Thanks for finding and sharing this! Gives some hope that the PHP upgrade will resolve this issue. Still waiting on HostGator support for that.
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
jeking
Thanks for finding and sharing this! Gives some hope that the PHP upgrade will resolve this issue. Still waiting on HostGator support for that.
To wrap this up, PHP was the problem for the issue. We're using 7.1 now.
An new error occurred which turned out was due to the template over-ride file of tpl_modules_order_totals.php. Thanks to lat9 for help tracking it down. This site is using the M O Z E N template (still don't know why I can't use that work on the forum). Removing that file so the default is used solved that problem.
OPC is working.
Re: One-Page Checkout [Support Thread]
(the m o z e n template was initially spammed all over the forum and then full of crap code and then instead of supporting or maintaining it they just tried to advertise more of it ... all of which were reasons to block the author's ability to promote it on the forum)
Re: One-Page Checkout [Support Thread]
Trying OPC on 1.5.7a, using PHP 1.5.6 and get this error
HTML Code:
[02-Nov-2020 19:00:37 UTC] Request URI: /157/2020/index.php?cmd=login&camefrom=index.php&zenAdminID=ht44v1081e5v9f8ftio6hjf0n7, IP address: xxx.xx.xxx.xxx
--> PHP Fatal error: Class 'CheckoutOneEmailObserver' not found in /home/izom2012/public_html/157/includes/autoload_func.php on line 44.
Any advice?
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
stellarweb
Trying OPC on 1.5.7a, using PHP 1.5.6 and get this error
HTML Code:
[02-Nov-2020 19:00:37 UTC] Request URI: /157/2020/index.php?cmd=login&camefrom=index.php&zenAdminID=ht44v1081e5v9f8ftio6hjf0n7, IP address: xxx.xx.xxx.xxx
--> PHP Fatal error: Class 'CheckoutOneEmailObserver' not found in /home/izom2012/public_html/157/includes/autoload_func.php on line 44.
Any advice?
Just the obvious :smile: ... did you copy the file /includes/classes/observers/CheckoutOneEmailObserver.php from the OPC distribution's zip-file?
Re: One-Page Checkout [Support Thread]
Quote:
Originally Posted by
lat9
Just the obvious :smile: ... did you copy the file /includes/classes/observers/CheckoutOneEmailObserver.php from the OPC distribution's zip-file?
I am a numbnut and you are wonderful!!!! Thanks!!!!
Re: One-Page Checkout [Support Thread]
Just wanted to give a huge shout out :thumbsup: to @lat9 for this plugin. Did an upgrade to 1.5.7a, uploaded the plugin files, set the configuration and it worked. No merging of files, no nothing. Just dropped it in. Wow, that felt good!!
Re: One-Page Checkout [Support Thread]
I agree, Cindy (aka Lat9) is the best. She's one of the most prolific contributors to ZenCart and she's always gone above and beyond to support her plugins. Thanks Cindy!!