Results 1 to 10 of 12

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Chicago, IL USA
    Posts
    1,587
    Plugin Contributions
    29

    Default Re: eBay Integration for Zen Cart Plugin

    Thank you for writing and submitting this plugin. I have a client who wants to use this so I installed it on a 1.5.8a test store.

    I'm getting this error when trying to install it. I can provide the full log, if you need the additional details.

    --> PHP Fatal error: 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 ''ebay_cache' (
    'ebay_cache_id' int(20) NOT NULL,
    'cache_key' varchar(256) NO' at line 1 :: CREATE TABLE IF NOT EXISTS 'ebay_cache' (
    'ebay_cache_id' int(20) NOT NULL,
    'cache_key' varchar(256) NOT NULL,
    'cache_value' mediumtext NOT NULL,
    'cache_date' date NOT NULL DEFAULT '2000-01-01',
    'keep' tinyint(1) NOT NULL DEFAULT 0
    PRIMARY KEY ('ebay_cache_id'),
    UNIQUE KEY 'cache_key' ('cache_key'),
    KEY 'keep' ('keep'),

  2. #2
    Join Date
    Mar 2024
    Location
    Montana
    Posts
    7
    Plugin Contributions
    0

    Default Re: eBay Integration for Zen Cart Plugin

    Hello,

    I tried to use the integration, but it won't install. I get this message when I try to install it on zc:

    WARNING: An Error occurred, please let us know! If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you entered valid data.

    I don't know if I did something wrong when I added the 3 files to my folders or if it's something else. Do you have directions for dummies or do you help non-tech people?

    Thank you

  3. #3
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,303
    Plugin Contributions
    1

    Default Re: eBay Integration for Zen Cart Plugin

    Quote Originally Posted by WyrdGifts View Post
    Hello,

    I tried to use the integration, but it won't install. I get this message when I try to install it on zc:

    WARNING: An Error occurred, please let us know! If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you entered valid data.

    I don't know if I did something wrong when I added the 3 files to my folders or if it's something else. Do you have directions for dummies or do you help non-tech people?

    Thank you
    https://docs.zen-cart.com/user/troub...rror_occurred/

    This should help you. The first place to look for such a WARNING is a myDEBUG-xxxxxx.log in your logs folder.
    Simon

  4. #4
    Join Date
    Jul 2011
    Location
    Hainesport, NJ
    Posts
    13
    Plugin Contributions
    0

    Default Re: eBay Integration for Zen Cart Plugin

    I'm running v1.5.8a and get the same exact "WARNING: An Error occurred, please let us know!" output. Applying the SQL patch also locked me out of my back end access (with a 500 HTML error result). The debug log demonstrates the same sort of PHP response, too:

    --> PHP Fatal error: 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 '(`ebay_cache_id`),
    UNIQUE KEY `cache_key` (`cache_key`),
    KEY `keep` (`keep`)' at line 7 :: CREATE TABLE IF NOT EXISTS `ebay_cache` (
    `ebay_cache_id` int(20) NOT NULL,
    `cache_key` varchar(256) NOT NULL,
    `cache_value` mediumtext NOT NULL,
    `cache_date` date NOT NULL DEFAULT '2000-01-01',
    `keep` tinyint(1) NOT NULL DEFAULT 0
    PRIMARY KEY (`ebay_cache_id`),
    UNIQUE KEY `cache_key` (`cache_key`),
    KEY `keep` (`keep`),
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8; ==> (as called by) /zc_plugins/ebayintegration/v1.0.0/Installer/ScriptedInstaller.php on line 30 <== in /includes/classes/db/mysql/query_factory.php on line 667.


    Is there a fix to this?

  5. #5
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,956
    Plugin Contributions
    96

    Default Re: eBay Integration for Zen Cart Plugin

    I think that'll be corrected by removing the trailing comma (highlighted) from this portion of the SQL query
    Code:
    KEY `keep` (`keep`),
    ) ENGINE=MyISAM DEFAULT CHARSET=utf8;

  6. #6
    Join Date
    Feb 2007
    Posts
    327
    Plugin Contributions
    0

    Default Re: eBay Integration for Zen Cart Plugin

    Has it been tested with zen cart 210? Or do you think it might work? Thanks.

 

 

Similar Threads

  1. Integrating Zen Cart and Ebay for payments
    By soundcatcher in forum General Questions
    Replies: 1
    Last Post: 10 Mar 2011, 01:10 PM
  2. eBay & Zen Cart
    By enddes in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Jul 2010, 07:17 PM
  3. eBay Order importer and processor for Zen Cart
    By Best Price Accessori in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 17 Mar 2010, 03:47 PM

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