Somehow, I messed up a cart that worked very well. The cart in reference is www.gafy.com/zcart. It was built in 1.3.6 and has worked perfectly for over a year.
I found that customers were confused by the GV emails, so I just removed the embedded GV "click here to redeem" links. I modified the following files in this order:
Things worked fine after the first two admin mods, but then I checked after the last three "includes" mods, and I got:
Fatal error: Cannot redeclare class httpclient in /home/xxxx/xxxx/zencart/includes/classes/http_client.php on line 22I restored all 5 files to their original files, but I still get the same error.
I determined that I can eliminate the error if I remove the following line from zencart/includes/modules/pages/gv_send/header_php.php:
require('includes/classes/http_client.php');...but I assume that's something I shouldn't do?
I searched for every instance of "httpclient" and it only exists in two other non-related files. I even systematically removed code from the "http_client.php" file, but to no avail. It keeps crashing.
The rest of the cart works fine, but I guess, fundamentally, I don't understand what my error is trying to tell me (or how to fix it).
In the meantime, GV sends don't work, and my customers are probably upset! Oh well, LOL!