Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Database tables differing

    I am trying to connect epdq and zen-cart(linux) together and am getting problems. My colleague has received some epdq modules files that appear to work but they reference differing tables that exists on the actual mysql database.

    The code is referencing a table named tblTransLog however this does not appear on the database, all the tables are prefixed with zen and the closest i can find to transactions is zen_orders but this has differing fields.

    I am not sure whether the epdq module is for a previous version of zen-cart or a differing OS.

    Please can someone help or supply me with the correct epdq module files. Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Database tables differing

    Table names have not been altered appreciably for some time - does not sound as though this is even designed for Zen Cart
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Database tables differing

    Quote Originally Posted by kobra View Post
    Table names have not been altered appreciably for some time - does not sound as though this is even designed for Zen Cart

    This is the code that is contained in the module i downloaded from this site

    $transLog = mysql_query("select * from tblTransLog where invoiceID = '".$stransID."'");

    $row_transLog = mysql_fetch_assoc($transLog);

    It was in the epdqresponse.php file.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Database tables differing

    This is the code that is contained in the module i downloaded from this site
    What module?
    Zen-Venom Get Bitten

  5. #5
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Database tables differing

    Quote Originally Posted by kobra View Post
    What module?
    Basically i am receiving these error messages when completing the payment on epdq site and it refers back to my zen-cart site.

    Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/.sites/123/site19/web/store/epdq_response.php on line 30

    Warning: Cannot add header information - headers already sent by (output started at /home/.sites/123/site19/web/store/epdq_response.php:30) in /home/.sites/123/site19/web/store/epdq_response.php on line 56


    These are the instructions i am trying to make sense of

    Originally posted by dreamstudio@Dec 22 2005, 12:00 PM


    $transLog = mysql_query("select * from tblTransLog where invoiceID = '".$stransID."'");

    $row_transLog = mysql_fetch_assoc($transLog);

    The line above the one you placed in bold here selects the record from the transactions table that corresponds to the order.

    If you use phpMyAdmin to look at your Zen Cart database you should be able to see what the transactions table is called in your database. For example it may have a prefix such as zen_ added to it when the table was created, so it would be called zen_tblTransLog.

    Change the name of tblTranslog in this file and epdqresponse.php so that it is the same as the name of this table in your database.

    Whatever prefix you added to the orders tables as instructed in the read me for the epdq module should be the same as that required here, eg zen_ .

    Keiran

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Database tables differing

    Great!!! What module?
    Zen-Venom Get Bitten

  7. #7
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Database tables differing

    Quote Originally Posted by kobra View Post
    Great!!! What module?
    It was posted by a member on here, however the link has since been broken. I have the zip file on my works pc and can supply you tomorrow. It was a zip that contained all the php files in order to connect epdq and zen-cart. Below is the thread

    Hi,

    I wanted to reply here but I couldn't....

    http://www.zen-cart.com/forum/showthread.php?t=11765

    I made some modification to this module so yopu donc need to customize the database, URL to the php files. Now it includes the includes/configure.php and find it itself.

    http://www.indule.fr/epdq.zip

    It is a very simple update but it makes it even simpler to install !

    Thanks,

    Gerome.romey(at)medea.co.uk

  8. #8
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Database tables differing

    This is the code that is contained in the module i downloaded from this site
    and
    posted by a member on here
    are completly different animals.

    Best that you contact the author if possible - I suspect there is a reason that it is not in the ACTUAL downloads section of this site.
    Zen-Venom Get Bitten

  9. #9
    Join Date
    Nov 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: Database tables differing

    Quote Originally Posted by kobra View Post
    are completly different animals.

    Best that you contact the author if possible - I suspect there is a reason that it is not in the ACTUAL downloads section of this site.

    Do you know who i can contact or how or i can get the epdq files to connect to my zen-cart. The epdq support team are being very unsupportive.

  10. #10
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Database tables differing

    You are working from two-year-old posts... I don't know if anybody involved is still around, except possibly Gerome Romey who I believe has the Multisite Module. You might ask on his thread to get his attention (if it is the same person). You can look up usernames as well as anyone else can, so try getting their contact info from their profiles.

 

 

Similar Threads

  1. v154 Extra database tables
    By kalastaja in forum General Questions
    Replies: 5
    Last Post: 23 Jan 2015, 04:32 PM
  2. Altered Database tables in 1.5.x?
    By philip937 in forum Upgrading to 1.5.x
    Replies: 16
    Last Post: 9 Jan 2013, 10:28 PM
  3. database _bak tables????
    By tlyczko in forum General Questions
    Replies: 4
    Last Post: 20 Jun 2011, 09:29 PM
  4. Create Database, Tables and Drop Database or Tables
    By elwood cordery in forum General Questions
    Replies: 3
    Last Post: 17 Aug 2009, 04:03 PM
  5. Questions related to database tables
    By superprg in forum General Questions
    Replies: 25
    Last Post: 15 Aug 2006, 10:31 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