Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Newsletter Subscribe install problem

    First time I've run in to this problem, and I've installed this module multiple times. Hoping somebody can point me in the right direction. When I click the install button I get the following:

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9
    in:
    [ CREATE TABLE IF NOT EXISTS subscribers ( `subscriber_id` int(11) NOT NULL auto_increment, `customers_id` int(11) default NULL, `email_address` varchar(96) NOT NULL default '' UNIQUE, `email_format` varchar(4) NOT NULL default 'TEXT', `confirmed` varchar(8) default NULL, `subscribed_date` date NOT NULL default '0000-00-00', PRIMARY KEY (`subscriber_id`) ) TYPE=MyISAM;]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


    Module version is 2.2.2, Zen Cart Version is 1.39H, PHP Version 5.3.28, MySQL version 5.5.35. I have several sites with the same host using this module, so I'm stumped! Any ideas?

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

    Default Re: Newsletter Subscribe install problem

    That's because the plugin was written for an old version of MySQL.

    Change the "TYPE=MyISAM" to "ENGINE=MyISAM" and that'll fix that SQL error.
    .

    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.

  3. #3
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Newsletter Subscribe install problem

    Quote Originally Posted by DrByte View Post
    That's because the plugin was written for an old version of MySQL.

    Change the "TYPE=MyISAM" to "ENGINE=MyISAM" and that'll fix that SQL error.
    Thanks Doc. I read another thread before posting where you had provided that answer. However, I could not find where the install was using TYPE=MyISAM. It doesn't come with a user installed SQL patch, and I couldn't find that in any of the files provided. Any ideas where to look?

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

    Default Re: Newsletter Subscribe install problem

    If you've put its files onto your server, use the Developers Toolkit and have it search "all php files" (last option in the list)

    http://www.zen-cart.com/content.php?...lopers-toolkit
    http://www.zen-cart.com/content.php?...-files-to-edit
    .

    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.

  5. #5
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Newsletter Subscribe install problem

    Did that before posting. It comes up with nothing.

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

    Default Re: Newsletter Subscribe install problem

    What exactly did you search for?
    .

    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. #7
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Newsletter Subscribe install problem

    I searched for TYPE=MyISAM, MyISAM, and ISAM.

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

    Default Re: Newsletter Subscribe install problem

    I just downloaded the plugin myself and inspected it. You probably were searching "catalog" and not "admin" files. It's in one of the admin files:
    /admin/includes/functions/extra_functions/subscription_manager.php
    .

    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. #9
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Newsletter Subscribe install problem

    Quote Originally Posted by DrByte View Post
    I just downloaded the plugin myself and inspected it. You probably were searching "catalog" and not "admin" files. It's in one of the admin files:
    /admin/includes/functions/extra_functions/subscription_manager.php
    I searched both catalog and admin. I also searched that specific file since it's the one called when clicking install from the admin.

  10. #10
    Join Date
    May 2010
    Location
    WA State
    Posts
    1,678
    Plugin Contributions
    3

    Default Re: Newsletter Subscribe install problem

    My bad! There's more than one subscription_manager.php file. Editing the correct one right now.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Newsletter Subscribe Module - Install Problems
    By Inxie in forum General Questions
    Replies: 7
    Last Post: 17 Oct 2012, 02:27 PM
  2. Newsletter Subscribe install problem
    By race1 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 19 Mar 2009, 01:36 PM
  3. Newsletter Subscribe Sidebar Problem
    By jdnp in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 2 Mar 2009, 09:04 PM
  4. newsletter subscribe problem
    By sadwargamer in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 31 Aug 2008, 04:19 PM
  5. Newsletter re-subscribe when Newsletter Subscribe module installed
    By karl19 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Oct 2007, 05:57 PM

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