Thread: Add new field

Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Add new field

    Quote Originally Posted by J#xx View Post
    Hi, I thought I described it as it is, Log-in, enter data, data stored, go to admin/account, data appears, edit it's lost, go to edit my account information, edit a field, data lost ....
    go to admin/customer edit a data field, data lost !

    For some reason, every time the initial data is changed from the initial register account, the data get's lost ! does that help ?
    Sounds like wherever you're reading the POST field data you're either wiping it out or you're not actually storing the collected updates and it's storing blank data instead.
    So either your parsing of POST inputs is wrong, or whatever variables you're passing to the code that stores the data to the database are wrong or blank. Maybe you need to check all the data to see what you're collecting and what you're writing, and figure out what's causing the difference.


    Quote Originally Posted by J#xx View Post
    If we can get this thing working exactly it could be an excellent mod for zencart in general.
    Have fun supporting it!
    .

    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.

  2. #12
    Join Date
    Dec 2008
    Location
    Uk
    Posts
    79
    Plugin Contributions
    0

    Default Re: Add new field

    Hi, So far so good, I've got the admin side working and the login side working, they both exchange information correctly but its just the my account/edit my account details section that's causing the trouble.

    The data apprears in the relevant fields as entered from either login or admin, but if I edit a field from the my account sectionand click update, it blanks the fields in every section including the DB.

    I've checked the code a million times and looked at every page that references the "fax" field from the DevToolKit but it won't have it. any ideas as to a cure for the fields becoming blank ?

    Cheers
    J#xx
    (Scott Perry)

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. should I add new table to store new field?
    By linjuming in forum General Questions
    Replies: 4
    Last Post: 21 Feb 2013, 06:35 PM
  2. v151 Add a new field to Customers Information
    By jazzyman in forum General Questions
    Replies: 3
    Last Post: 17 Jan 2013, 01:32 PM
  3. Add new product field
    By dannyd in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 29 Mar 2009, 10:14 AM
  4. add new field to products_table
    By webhie in forum Setting Up Categories, Products, Attributes
    Replies: 14
    Last Post: 5 Sep 2006, 02:29 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