Page 2 of 6 FirstFirst 1234 ... LastLast
Results 11 to 20 of 54
  1. #11
    Join Date
    Aug 2004
    Posts
    1,590
    Plugin Contributions
    1

  2. #12

    Default Re: Additional contact us fields

    THanks for your kind mod.

    But when i try to add a field from admin panel ..


    I got the error

    Unknown column 'customer_id' in 'field list'

    What is the problems.

    Thanks body.

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

    Default Re: Additional contact us fields

    Very vague description. Please provide more details on how this is happening.

    - PHP Version.
    - mySQL Version
    - Zen-Cart Version.
    - From which action this is happening ?
    - Do you still have readings inside your TABLE_CUSTOMERS table (by looking into phpmyadmin) ?

  4. #14

    Default Re: Additional contact us fields

    Quote Originally Posted by TheOracle View Post
    Very vague description. Please provide more details on how this is happening.

    - PHP Version.
    - mySQL Version
    - Zen-Cart Version.
    - From which action this is happening ?
    - Do you still have readings inside your TABLE_CUSTOMERS table (by looking into phpmyadmin) ?
    Thanks and my

    PHP version is Version 5.1.2

    Mysql is MySQL 5.0.18

    Zen-Cart Version. is 1.3.5

    after i fill the two fields and click the submit,

    The error happens

    1054 Unknown column 'customer_id' in 'field list'
    in:
    [INSERT INTO ec_contact_us_additional (field_id, customer_id, field_name, field_description, field_created_date, field_created_time, field_edit_date, field_edit_time, field_status) VALUES (NULL, '', 'dd', 'dd', '2007-06-11', '13:55:53', '', '', '1')]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

    I have deleted the exsited information in Table customers..
    But it cannot solve the problem!!

  5. #15

    Default Re: Additional contact us fields

    It is weird !

    I have only "field_id, field_name, field_description, field_created_date, field_created_time, field_edit_date, field_edit_time, field_status" in my TABLE contact_us_additional..

    But the error says

    Unknown column 'customer_id' in the field list .......

    what happens....

  6. #16

    Default Re: Additional contact us fields

    In your

    additional_contact_us.php

    at arround 260 line

    $sql_insert = "INSERT INTO " . TABLE_ADDITIONAL_CONTACT_US . " (field_id, customer_id, field_name, field_description, field_created_date, field_created_time, field_edit_date, field_edit_time, field_status) VALUES (NULL, '', '" . $contact_us_field_name . "', '" . $contact_us_field_description . "', '" . $date . "', '" . $time . "', '', '', '1')";

    But where is the custome_ID field in Contact_us_additional table.......

    After i remove the customer_id from the above sentence...
    I got another error..

    1136 Column count doesn't match value count at row 1
    Last edited by adam9110; 11 Jun 2007 at 03:21 PM.

  7. #17

    Default Re: Additional contact us fields

    ok ,Now i 've added the customer_id to the Table contact_us_additional artificially

    After click the submit...

    I got the error.

    Warning: Cannot modify header information - headers already sent by (output started at D:\2spy\ecgadget\2spymanager\additional_contact_us.php:42) in D:\2spy\ecgadget\2spymanager\includes\functions\general.php on line 34

    Has anyone succeeded in this mod??

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

    Default Re: Additional contact us fields

    Confirmed bugs. I have now refreshed the package from my site.

    In the mean time, please do not post 5 topics in a row. If you're expecting more than a single issue with this MOD, post under a thread or two.

    Empty (not just delete - but "empty") your additional contact us table and create new contact us fields again from the admin section.

  9. #19

    Default Re: Additional contact us fields

    Hi Oracle,,

    Did you updated ?

    I still have interest to test it .

    THanks.

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

    Default Re: Additional contact us fields

    Like I said on my previous post ... I updated the package on my site ...

 

 
Page 2 of 6 FirstFirst 1234 ... LastLast

Similar Threads

  1. Attributes Additional Fields
    By jsarwar in forum Customization from the Admin
    Replies: 7
    Last Post: 13 Aug 2016, 11:08 PM
  2. Additional Customers Fields
    By TheOracle in forum All Other Contributions/Addons
    Replies: 490
    Last Post: 9 Dec 2010, 06:17 PM
  3. Additional registration fields
    By richard.rodriguez in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 17 Nov 2009, 11:51 AM
  4. "Contact Us" page. Add additional fields?
    By MagicMan in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Jan 2008, 02:27 PM
  5. Contact Us Fields
    By KADesign in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2007, 09:04 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