Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1
    Join Date
    Nov 2006
    Posts
    28
    Plugin Contributions
    0

    Default Old finnish module contribution to 1.3.6

    Hi! I tried to intall finnish bank gateways to my zencart v 1.3.6. That contribution is really old, but I decided to test if I could somehow get it work. Everything else goes fine, but I get error

    1146 Table 'mydatabase.MOD_FI_BANK_ID' doesn't exist
    in:
    [SELECT id FROM MOD_FI_BANK_ID WHERE referid="0" AND session_id="fea02e9f7e9f7b82ae5902c616965d36"]

    Does someone get any ideas is there something I can do to correct this?

    The error occures at index.php?main_page=checkout_confirmation

    thanks

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

    Default Re: Old contribution to 1.3.6

    With this older module was there also a mysql update to create this table? and did you try to apply it?
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Nov 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Old contribution to 1.3.6

    Yes there was and I applied it from the admin. I also tried to apply it throug phpMyadmin, but the same error occures both ways. Prefix is also ok.

  4. #4
    Join Date
    Nov 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Old contribution to 1.3.6

    Anyone have any ideas? It seems that many have had this same 1146 -error with other modules too. What confuses me is that I have the table installed with right prefix but still the mod doesn't find it....

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

    Default Re: Old contribution to 1.3.6

    Please post the contents of the SQL update that you used to install the table.

    Tables are case-sensitive, and are VERY SELDOM in all uppercase. It suggests that either you've incorrectly installed the SQL, or perhaps you're missing a constant defined to point to the actual table name.
    .

    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.

  6. #6
    Join Date
    Nov 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Old contribution to 1.3.6

    The content of the sql file is:

    CREATE TABLE `zenmod_fi_bank_id` (
    `id` int(5) unsigned zerofill NOT NULL auto_increment,
    `orders_id` int(11) NOT NULL default '0',
    `referid` bigint(20) NOT NULL default '0',
    `session_id` varchar(32) default NULL,
    PRIMARY KEY (`id`)
    ) TYPE=MyISAM


    My database shows that I have a table there called: kauppa_zenmod_fi_bank_id

    kauppa_ is my prefix

  7. #7
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Old contribution to 1.3.6

    looks like the cart is missing the define statement for the database table name. In the folder includes/extra_datafiles/ is there a file that has the database table definition in it?
    Code:
    define('MOD_FI_BANK_ID', DB_PREFIX . 'zenmod_fi_bank_id');
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  8. #8
    Join Date
    Nov 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Old contribution to 1.3.6

    Hi there and sorry that I haven't answered earlier... i have been really busy and on the road for 6 weeks now...

    In the folder includes/extra_datafiles/ I do not have any file with that definition. There's only database_tables.php -file with this line define('TABLE_MOD_FI_BANK_ID', DB_PREFIX . 'zenmod_fi_bank_id');

  9. #9
    Join Date
    Nov 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Old contribution to 1.3.6

    I haven't been able to make this work yet. Anyone have any ideas?

  10. #10
    Join Date
    Nov 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Old contribution to 1.3.6

    My last cry for help, 'cause nobody seems to know the solution and I got no answer myself...

    Still stuck with this thing. Anyone?

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Luottokunta module for Finnish shops
    By pasi in forum Addon Payment Modules
    Replies: 2
    Last Post: 5 Jun 2011, 07:51 AM
  2. Finnish payment module, postiennakko
    By Hertta in forum Addon Payment Modules
    Replies: 0
    Last Post: 19 Dec 2009, 02:50 PM
  3. Deleting an old version of a contribution
    By gob33 in forum Contribution-Writing Guidelines
    Replies: 2
    Last Post: 30 Mar 2009, 10:16 AM
  4. Old quickbooks contribution?
    By Reesy in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 26 May 2006, 08:36 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