Results 1 to 10 of 10

Hybrid View

  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

 

 

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