Results 1 to 7 of 7
  1. #1
    Join Date
    Aug 2006
    Location
    Boston MA
    Posts
    19
    Plugin Contributions
    0

    Default Mysql error message on optimal payments

    I receive the following error message when I try to order something on my site"


    1146 Table 'menofmo_zc1.zen_optimal_payments' doesn't exist
    in:
    [INSERT INTO zen_optimal_payments (txType, status, authCode, authTime, avsInfo, cvdInfo, curAmount, amount, txnNumber, clientVersion, zen_order_id) VALUES ('P', 'SP', '130286', '1156858149', 'B', 'M', '0', '211', '1000001', '1.1', '')]


    Does anyone know if there's a fix for this?

  2. #2
    Join Date
    Aug 2006
    Location
    Boston MA
    Posts
    19
    Plugin Contributions
    0

    Default Re: Mysql error message on optimal payments

    I'm just noticing in PHPAdmin that the table does not exist. Has anyone had this problem before? Thanks so much.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Mysql error message on optimal payments

    Where did you get the "optimal payments" code from?
    It appears that you've not installed the addon correctly
    .

    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.

  4. #4
    Join Date
    Aug 2006
    Location
    Boston MA
    Posts
    19
    Plugin Contributions
    0

    Default Re: Mysql error message on optimal payments

    Thanks for responding. The error message appeared when I clicked the "confirm purchase now" button in my cart. Did you want a url? I'm wondering if I need to reinstall the whole program or if there is some code I can add to the optimal_payments_database_tables.php.

    Here is the code that's in the file that the error is pointing to:

    <?php
    if (!defined('DB_PREFIX')) {
    define('DB_PREFIX', '');
    }
    define('TABLE_OPTIMAL_PAYMENTS', DB_PREFIX . 'optimal_payments');

    ?>

    Any help is greatly appreciated.

  5. #5
    Join Date
    Aug 2006
    Location
    Boston MA
    Posts
    19
    Plugin Contributions
    0

    Default Re: Mysql error message on optimal payments

    I just checked all of the files. The files were installed correctly. I am also noticing that the orders are going through, which is kind of odd. Any ideas anybody?

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Mysql error message on optimal payments

    Quote Originally Posted by krizzle
    I'm just noticing in PHPAdmin that the table does not exist. Has anyone had this problem before? Thanks so much.
    Back to my point.
    Was there a .sql file with the module, which you failed to run in order to create the table in the database?
    .

    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
    Aug 2006
    Location
    Boston MA
    Posts
    19
    Plugin Contributions
    0

    Default Re: Mysql error message on optimal payments

    ah, ok. i'm looking into it.

 

 

Similar Threads

  1. v150 Credit cards no longer processing with Optimal Payments
    By arrow in forum Addon Payment Modules
    Replies: 4
    Last Post: 21 Nov 2012, 03:40 PM
  2. optimal mysql privileges ?
    By boxes in forum General Questions
    Replies: 4
    Last Post: 12 Oct 2009, 07:11 PM
  3. Optimal Payments, Firepay, Fasthosts
    By IanEtche in forum Addon Payment Modules
    Replies: 1
    Last Post: 22 Aug 2008, 08:39 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