Page 32 of 41 FirstFirst ... 223031323334 ... LastLast
Results 311 to 320 of 402
  1. #311
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,557
    Plugin Contributions
    28

    Default Re: MailChimp Newsletter Sidebox

    Quote Originally Posted by swguy View Post
    4.0a is the update. I fixed it in place.
    Bingo! Thanks for the fix.

  2. #312
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    590
    Plugin Contributions
    0

    Default Re: MailChimp Newsletter Sidebox

    Is anything needed for the update besides just copying the files over?

  3. #313
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: MailChimp Newsletter Sidebox

    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.

  4. #314
    Join Date
    Jun 2016
    Location
    Suffolk VA
    Posts
    590
    Plugin Contributions
    0

    Default Re: MailChimp Newsletter Sidebox

    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.

  5. #315
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: MailChimp Newsletter Sidebox

    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

  6. #316
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: MailChimp Newsletter Sidebox

    Quote Originally Posted by delia View Post
    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?
    Line 20 of that file is using newer PHP syntax, not compatible with your old PHP version.
    You'll need to change it from
    Code:
    $domain = explode('-', $api_key)[1];
    to something like:
    Code:
    $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.

  7. #317
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: MailChimp Newsletter Sidebox

    Will that work on lower php levels as well?
    The full-time Zen Cart Guru. WizTech4ZC.com

  8. #318
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: MailChimp Newsletter Sidebox

    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.

  9. #319
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: MailChimp Newsletter Sidebox

    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

  10. #320
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: MailChimp Newsletter Sidebox

    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.

 

 
Page 32 of 41 FirstFirst ... 223031323334 ... LastLast

Similar Threads

  1. v150 Newsletter Sidebox & Newsletter signup
    By meljen in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Nov 2012, 09:44 PM
  2. Login page->Newsletter->Mailchimp
    By Happyworker in forum All Other Contributions/Addons
    Replies: 9
    Last Post: 23 Jun 2010, 10:41 PM
  3. Anyone know how to add field for Mailchimp to sidebox?
    By daneh in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 16 Sep 2009, 04:40 PM
  4. Adding a user to a MailChimp newsletter?
    By fabiola-and-singsing in forum General Questions
    Replies: 3
    Last Post: 16 Feb 2009, 10:07 AM
  5. Stop Sidebox header from linking - MailChimp
    By Mickmo68 in forum Addon Sideboxes
    Replies: 2
    Last Post: 21 Nov 2008, 05:54 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR