Totally Zenned
- Join Date:
- Mar 2004
- Posts:
- 13,031
- Plugin Contributions:
- 4
MailChimp Newsletter Sidebox
Thanx Frank18
I got em all taken care of.
Sidebox works just fine
Zen cart PCI compliant Hosting
Views: 189,700
Totally Zenned
Thanx Frank18
I got em all taken care of.
Sidebox works just fine
Zen cart PCI compliant Hosting
Zen Follower
Thanks so much for taking care of her! I knew nothing at the time of my initial post that there was a way to update the PHP within the cPanel. The site is now running like a top - instead of churning away, the MailChimp sidebox works great and I can now go buy some Clairol and "wash that gray right out of my hair" and move on! :D
I truly did not mean any offense to you or anyone else on this matter. I am NOT that person.... and I apologize effusively for anything that I said (including the part about the gray hair) that might have offended you.
Thanks again for taking care of her!
Merlinpa1969:
The wheels of the Bus LOL,
All is good
Judy Gunderson, 406-880-4330
Totally Zenned
All good have a good rest of the week
Zen cart PCI compliant Hosting
Zen Follower
Thanks and the same to you!
Merlinpa1969:
All good have a good rest of the week
Judy Gunderson, 406-880-4330
Totally Zenned
I'm having a problem. Installed version 4 on a Zen Cart 1.5.5a. PHP 5.6.
When creating an account and checking the subscribe box, I get a 500 server error. Log shows:
[03-Nov-2016 21:08:23 America/Chicago] PHP Fatal error: Uncaught exception 'MailChimpException' with message 'Parameters not set on MailChimp::list_add_subscriber' in /home/chocolateshoppe/public_html/zencart/includes/functions/extra_functions/mailchimp.php:87
The site template has a MailChimp subscribe option for the footer. It works but does not use an API, to the post, U and ID values work and the MailChimp account work (it was created today, so thinking it might take some time before it's fully active).
The sidebox subscribe works.
Jim
Wheaton Website Services
Administrator
Thanks for this report, Jim. I will check.
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.
Administrator
Fixed - please update.
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.
Totally Zenned
swguy:
Fixed - please update.
Cool, thank you! The downloads has the old 4.0a. Should I check back later?
Jim
Wheaton Website Services
Administrator
4.0a is the update. I fixed it in place.
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.
Totally Zenned
swguy:
4.0a is the update. I fixed it in place.
Very good, I'll try it now.
Jim
Wheaton Website Services
Totally Zenned
swguy:
4.0a is the update. I fixed it in place.
Bingo! Thanks for the fix.
Jim
Wheaton Website Services
Totally Zenned
Is anything needed for the update besides just copying the files over?
Administrator
Please follow the instructions in the mod installation package.
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.
Totally Zenned
I wasn't specific enough, I guess. I've already made all the changes that the Mailchimp integration package calls for. What I'm asking is whether there are other changes needed by the mod.
Totally Zenned
I'm getting an error on one site (not on my server where there's no problem)
PHP Parse error: syntax error, unexpected '[' in /home/xxxxxx/public_html/includes/functions/extra_functions/mailchimp.php on line 20
In dreamweaver, it also claims that line is a problem. The server where it's a fatal error is running 5.5.30 whereas my server is running 5.5.29.
Any ideas?
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo
Sensei
delia:
I'm getting an error on one site (not on my server where there's no problem)
PHP Parse error: syntax error, unexpected '[' in /home/xxxxxx/public_html/includes/functions/extra_functions/mailchimp.php on line 20In dreamweaver, it also claims that line is a problem. The server where it's a fatal error is running 5.5.30 whereas my server is running 5.5.29.
Any ideas?
Line 20 of that file is using newer PHP syntax, not compatible with your old PHP version.
You'll need to change it from
$domain = explode('-', $api_key)[1];
to something like:
$var = explode('-', $api_key);
$domain=$var[1];
.
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.
Totally Zenned
Will that work on lower php levels as well?
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo
Sensei
Yes. What I wrote above will work with PHP 5
.
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.
Totally Zenned
It then objects to the brackets in line 26
private function _execute_request($method, $endpoint, Array $payload = [])
The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo
Sensei
Sigh. ya. Having the keyword "Array" in the function declaration isn't allowed in older PHP versions.
Change "Array $payload" to just "$payload".
Probably more issues after that too. /me punts to swguy ...
.
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.
Tell staff why this post should be reviewed.