Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2006
    Posts
    35
    Plugin Contributions
    0

    Default How Did You Hear About Us - Not working!

    Greetings, I recently installed the How Did You Hear About Us mod, now I have an unchanged zen cart install (latest) So it was a simple matter of running the sql commands and pasting in the files and away I go right?

    Wrong At 1st I thought it was all working due to it all appeared correctly in the front page it would show the drop down box of our selectable types and then the submit would appear to work

    It would create a new entry in customers_info table but the issue is with the customers_info_source_id. its ALWAYS 0. No matter what. Now I'm a c++ coder so this whole not being able to debug drives me nuts. Is there a way to debug this?

    Code:
    customers_info_source_id 	
     	0
    the site is www.cushietushies.com.au

    check the login it appears to work fine, but then the reports are all "unknown" which isn't all that useful.

    I'm quite desperate as time is running out till its going to be very pertinent we have this working for upcomming competitions...

    thanks in advance
    Chris

  2. #2
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: How Did You Hear About Us - Not working!

    I have a similar issue where it *always* reports that "Other" was selected.

    I would like to get rid of the whole thing but there were no uninstall instructions supplied with the mod.

  3. #3
    Join Date
    Jun 2006
    Posts
    35
    Plugin Contributions
    0

    Default Re: How Did You Hear About Us - Not working!

    anyone? Is the author around?

  4. #4
    Join Date
    Mar 2006
    Location
    Australia
    Posts
    289
    Plugin Contributions
    3

    Default Re: How Did You Hear About Us - Not working!

    Hi there
    I don't know the mod at all, however from what you say it seems that the HTML select is not assigning the proper value. There would be a table in the DB that contains the select options and their IDs. Eg 0 = Unknown. To start debugging:
    1. ensure that the the selected option is actually in the page request
    place die(var_dump($customers_info_source_id)) in the appropiate place in the code to see if the value changes as different selection
    2. once step one is working ensure info gets written to DB

  5. #5
    Join Date
    Sep 2007
    Posts
    21
    Plugin Contributions
    1

    Default Re: How Did You Hear About Us - Not working!

    I had the same trouble, the cause for me was that the template file
    [FONT="Courier"]/includes/modules/my_template/create_account.php[/FONT] was overriding the default [FONT="Courier"]/includes/modules/create_account.php[/FONT]
    so the new referral sources were not being checked or inserted into the database.

    note: if this applies to you, you shouldn't just copy the [FONT="Courier"]/includes/modules/create_account.php[/FONT] to [FONT="Courier"]/includes/modules/my_template/create_account.php[/FONT] because is it is very likely the latter has changes to it. you will need to merge the changes marked rmh into the override. if you don't know how, pay your web developer to do this!

  6. #6
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: How Did You Hear About Us - Not working!

    Quote Originally Posted by emupilot View Post
    I had the same trouble, the cause for me was that the template file
    [FONT="Courier"]/includes/modules/my_template/create_account.php[/FONT] was overriding the default [FONT="Courier"]/includes/modules/create_account.php[/FONT]
    so the new referral sources were not being checked or inserted into the database.
    Got it working at last. Thanks.

  7. #7
    Join Date
    Jan 2008
    Location
    Scotland
    Posts
    33
    Plugin Contributions
    0

    Default Re: How Did You Hear About Us - Not working!

    Quote Originally Posted by Steven300 View Post
    I have a similar issue where it *always* reports that "Other" was selected.
    I've tried all sorts to fix this but I'm getting nowhere fast. I have the same bug as above.

    Does anyone out there know how to fix this?

    Any help is greatly appreciated.

  8. #8
    Join Date
    Jun 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: How Did You Hear About Us - Not working!

    I just attempted to install this mod, and I'm getting the following error on the sign-up page:


    1146 Table 'photoedi_zen.sources' doesn't exist
    in:
    [select sources_id, sources_name from sources order by sources_name] (You can also see a screen shot below)

    I didn't run the SQL file. Would this be what is causing the issue? How can I resolve this?


  9. #9
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: How Did You Hear About Us - Not working!

    Quote Originally Posted by holritzphotography View Post
    I didn't run the SQL file. Would this be what is causing the issue?
    Most definitely.

  10. #10
    Join Date
    Jun 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: How Did You Hear About Us - Not working!

    Quote Originally Posted by Steven300 View Post
    Most definitely.
    Thanks!

    I'm not a programmer and I'm on a Mac. Is there a specific way to handle the SQL file? I've just been using an FTP program to drag and drop files to add these mods to my Zen. What do I need to do with the SQL files?

    And when I run into mods that work on the same file (orders.php for example), is there a good app that will allow me to combine code?

    Thanks so much!

    :)

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v150 How did you hear about us? Anyone working on an update for 1.5?
    By CnTGifts in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 17 Aug 2012, 02:22 PM
  2. How Did you hear about us Add on not working
    By irishshopper in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 22 May 2011, 02:09 PM
  3. How Did you hear about us Add on not working
    By irishshopper in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 18 Oct 2010, 12:00 PM
  4. how did you hear about us - is it working? how to use?
    By cowspot in forum All Other Contributions/Addons
    Replies: 14
    Last Post: 13 Aug 2010, 12:11 PM
  5. How Did You Hear Did You About Us -- I want to install it correctly
    By johnd in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 3 Feb 2008, 03:21 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