Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 2006
    Posts
    55
    Plugin Contributions
    0

    Default Database field order - where is that file?

    I added fields to a database at one time and the data would not go in. Then I found a file that had all the fields for the databases with a number next to the fields that showed the order in which the data was entered. Adding the fields to this file fixed my problem.

    Now I have the same problem again. But I cannot find FOR THE LIFE OF ME which file it was!

    Anyone out there have a clue as to what I'm talking about...

    Thanks,
    K

  2. #2
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

    Default Re: Database field order - where is that file?

    I found a file that had all the fields for the databases
    The core file you're referring to is from your: includes/database_tables.php file. Althought, you're not suppose to edit this file since the includes/extra_definitions folder can already support your additional table definition names (without being affected in the upgrade).

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

    Default Re: Database field order - where is that file?

    Thanks for your reply...

    But, I checked the database_tables.php file it looks more like a 'language' file. It has a lot of defines in it.

    The one I was looking for had something like

    orders_id --> orders_id [1]
    customer_id --> customer_id [2]
    customers_name --> customers_name [3]
    customers_company --> customers_company [4]

    and so on. And it had it for all the tables. The number represented the field input order. But, obviously, this is not the exact wording, otherwise I would have been able to find it! lol

    AND... after all that is said and done... just to put a PS on the story, I was able to get my data into the database without it. My original question was to help me figure out how to get my eCheck data in the database: http://www.zen-cart.com/forum/showthread.php?p=393949

 

 

Similar Threads

  1. File that has database password
    By karine in forum Installing on a Linux/Unix Server
    Replies: 3
    Last Post: 8 Nov 2014, 07:40 PM
  2. Where is the code that sends order data to the database?
    By bparker in forum General Questions
    Replies: 1
    Last Post: 15 May 2013, 05:37 PM
  3. v139a Round path for admin file dir_ws_admin where is that coming from
    By cshart in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 1 Jun 2012, 07:16 AM
  4. Where to find the file that changes headings? Trying to undo some addons
    By luvstoxstitch in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 3 Aug 2011, 04:17 AM
  5. Replies: 6
    Last Post: 11 Aug 2007, 09:44 AM

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