Is anything needed for the update besides just copying the files over?
Please follow the instructions in the mod installation package.
That Software Guy. My Store: Zen Cart Modifications
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.
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.
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
.
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.
Will that work on lower php levels as well?
The full-time Zen Cart Guru. WizTech4ZC.com
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.
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
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.
Bookmarks