All the files were placed back as they were in the original installation 1.5.7.
Just an observation that removing something implies taking away or out, rather than turning it off. That's where this error of mine came from.
As far as I remember ZC has always had this constant that when one plugin is "removed", the files for that plugin can be safely deleted from the server, until now as far as I can tell. That's why I assumed I was doing the right thing by "removing the deprecated Square plugin" as there was no need for it. Nowhere in any of the files anywhere it stated I shouldn't have done so. Maybe a note in the read-me would help others not make the same error I made(?). Just a suggestion to avoid future mishaps.
Honest mistake on my part. Didn't mean to cause any trouble nor offend anyone. All is well and everything works as it should.
Thanks for the help! I really appreciate it![]()
i can only speak for myself, and i did not take any offense.
with regards to removal of plugins, you are correct. but square is NOT a plugin. it is part of the base ZC install. square_webPay is a plugin.
if you think the documentation at docs.zen-cart.com is wrong (or could be clarified), i would suggest you download hugo and fix them. i'm sure the next user would be most appreciative (as well as @swguy).
best.
The help file has been updated to warn against deleting old Square implementation files.
https://docs.zen-cart.com/user/payment/square/
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Hi guys. I just tried adding this plugin. I am using v1.5.7c and PHP 8.0.
After uploading all the files, when I go to turn on the module and turn off the older Square module, the new one isn't showing. The page is breaking where the new module should be showing. My error log shows this:
PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_SQ_WEBPAY_TESTING_MODE" in .../store/includes/modules/payment/square_webPay.php:106
If I switch to PHP 7.4, the module shows.
I realise most people in this thread are using PHP 7.4, and therefore won't have this issue or maybe see it as a big deal, but I have everything else on my site working fine with PHP 8, so it would be nice to keep PHP 8 on, if this happens to be a quick easy fix. Any ideas?
20th Century Glass - Antique & Collectable Glass Store
I don't know if the same is true for your admin but, with the errors found on your home page, you may find that basic errors are creating problems for you.You have several issues in items that may be on every page in your site. I've highlighted four instances of <!--. Between 1 to 2 and 3 to 4 there should be an ending -->Code:
<!--<div id="navMain"> <ul class="back"> <li></a></li> <li><a href=""></a></li> <li><a href=""></a></li> <li class="last"><a href=""></a></li> <li><a href=""></a></li> <li class="last"><a href=""></a></li> <li> <a class="navCartContentsIndicator" href=""><i class="fa fa-shopping-cart" title="Shopping Cart"></i> </a> </li> <li class="last"><a href=""></a></li> </ul> <div id="navMainSearch" class="forward"> </div> </div> </div> <!--eof navigation display--> <!--bof header google ad display--> <!--eof header google ad display--> <!--bof branding display--> <!--bof-wstephens edit--> <!--<div id="logoWrapper" class="group onerow-fluid navbar-dark bg-dark"> <div id="logo"> <img id="bannerPic" src="https://www.20thcenturyglass.com/images/main/20th-century-glass-headbanner2018.jpg" alt="20th Century Glass" border="0" /> </div> </div> <!--eof-wstephens edit--> <!--<div id="logoWrapper" class="group onerow-fluid"> <div id="logo"> <div id="taglineWrapper"> <div id="tagline"></div> <div id="bannerTwo" class="banners"></div> </div> </div> </div>
Fixing basic CSS and HTML errors might make things run smoother
Last edited by dbltoe; 8 Jun 2022 at 02:05 PM. Reason: added comment
A little help with colors.
myZenCartHost.com - Zen Cart Certified, PCI Compatible Hosting by JEANDRET
Free SSL & Domain with semi-annual and longer hosting. Updating 1.5.2 and Up.
> PHP Fatal error: Uncaught Error: Undefined constant "MODULE_PAYMENT_SQ_WEBPAY_TESTING_MODE" in .../store/includes/modules/payment/square_webPay.php:106
Right above line 105 add
if (null === $this->sort_order) return;
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.