Page 9 of 36 FirstFirst ... 789101119 ... LastLast
Results 81 to 90 of 355
  1. #81
    Join Date
    May 2007
    Posts
    20
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Wow, well I finally overcame my fear of mysql and actually LOOKED at the coding. It does clearly tell you which table and values are being created.

    Anyway, the code I had already was the modified version of 'zen_cfg_select_option(array(\'true\', \'false\'), ', now());

    However.... I solved the problem

    I had stupidly uploaded all the files in the folder Cart>admin>includes, BUT I had forgotten to do the ones for Cart>includes

    As soon as they were uploaded (most are the same as the admin>includes files), it worked like a charm.

    Thanks Diva Vocals, for all of your suggestions. When my programmer (!) husband comes home tonight I shall impress him by telling him that I know know how to find the values in a mysql table, how to delete and drop them etc. Maybe he will take me out to dinner


  2. #82
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Can't get "referrals " mod working

    I'm glad you decided to give it a try, and that it all worked out for you.. Good luck with your site..

  3. #83
    Join Date
    Jun 2005
    Location
    Pittsburgh
    Posts
    174
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Quote Originally Posted by ttalk View Post
    it's working for me, just merge orders.php carefully as the core file was touched in 1.3.7. Note that in 1.3.6 location of an include file was in the middle of the file but in 1.3.7 it was moved to the top of the file, make sure you remove the one in the middle in your modified orders.php otherwise you'll hit a fatal error trying to declare a class twice.
    I've run into this problem too, using the latest download on V1.3.7. I've made the changes as suggested -- no success. Any ideas??

  4. #84
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: Can't get "referrals " mod working

    What error exactly are you getting? Can you copy and paste the error here?

    Also... you said you used the latest download and made changes... but the post you quoted I believe was referring to changes to the old files... so I guess we also need to know what changes you made..

    Quote Originally Posted by rnet View Post
    I've run into this problem too, using the latest download on V1.3.7. I've made the changes as suggested -- no success. Any ideas??

  5. #85
    Join Date
    Jun 2005
    Location
    Pittsburgh
    Posts
    174
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Quote Originally Posted by stellarweb View Post
    What error exactly are you getting? Can you copy and paste the error here?

    Also... you said you used the latest download and made changes... but the post you quoted I believe was referring to changes to the old files... so I guess we also need to know what changes you made..

    I'm using the latest download, but when selecting any order from admin - I get a blank page. I tried to make the orders.php edits listed in prior posts without success. If I substitute the original (stock) orders.php file, it works -- however I do not see the referrals listed, except in the column under admin>Customers (column title Referred By).
    Last edited by rnet; 13 Jun 2007 at 11:10 PM.

  6. #86
    Join Date
    May 2006
    Location
    Montana
    Posts
    291
    Plugin Contributions
    20

    Default Re: Can't get "referrals " mod working

    Ideally you should not have to edit the latest download at all - at least not the orders.php file.

    A couple of things to do....

    1. Make sure you are using the 1.3.7 version and you have not made any changes to it.

    2. Make sure you are uploading the install referrals sql file via your admin area (Tools / Install SQL Patches)

    3. Double check and make sure that you have all the files put in their proper order / folders, etc.

    4. If all that fails, in the sql file try changing

    'zen_cfg_select_option(array('true', 'false'), ', now()); to

    'zen_cfg_select_option(array(\'true\', \'false\'), ', now());

    and see if that helps.

    That is about all the advise I know to give. If you have modified your orders.php file with another mod.... that may be causing a problem ... you would have to use something like WinMerge to compare the two files.

    Quote Originally Posted by rnet View Post
    I'm using the latest download, but when selecting any order from admin - I get a blank page. I tried to make the orders.php edits listed in prior posts without success. If I substitute the original (stock) orders.php file, it works -- however I do not see the referrals listed, except in the column under admin>Customers (column title Referred By).

  7. #87
    Join Date
    Jun 2005
    Location
    Pittsburgh
    Posts
    174
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    I've confirmed that I'm using the correct versions.

    The LOG file shows: PHP Parse error: parse error, unexpected T_CASE in /var/www/html/admin/orders.php on line 195

    Suggestions?

  8. #88
    Join Date
    Feb 2006
    Location
    Seattle.WA
    Posts
    17
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Hi,
    I am on zencart v1.3.7 and have been trying to install the How Did You Hear About Us Version 1.3.7 mod -- I was also getting the 1064 SQL syntax error message. I tried several of the suggestions here with no luck through the zencart sql patch screen. So, I went to my phpmyadmin screen on my hosting site and pasted in:

    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Display "Other" Referral option', 'DISPLAY_REFERRAL_OTHER', 'true', 'Display "Other - please specify" with text box in referral source in account creation', '1', '22', 'zen_cfg_select_option(array(\'true\', \'false\'), ', now());
    INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Require Referral', 'REFERRAL_REQUIRED', 'true', 'Require the Referral Source in account creation', '5', '6', 'zen_cfg_select_option(array(\'true\', \'false\'), ', now());


    The error message that came up on their screen which said I needed to check the syntax indicated a difference in the word "now" just before the ()); and displayed that word in CAPS. Knowing nothing about SQL, I left everything else the same in the above sql patch, except I changed the "now" to "NOW" and submitted the sql again. I got a success message. I went back to my store, and now I have the two options showing up under the configuration for My Store and Customer Details. I just checked my "Online Catalog" and so far, the screen where customers can create an account looks correct with the "Other" option showing up as well as the text box where they can type.
    [FONT="Arial"]j. becker[/FONT]
    [FONT="Arial"]the oma project[/FONT]
    http://omaproject.com

  9. #89
    Join Date
    Dec 2005
    Location
    colorado
    Posts
    108
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    I also get the error:

    1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'true', 'false'),'now())' at line 1
    in:
    [INSERT INTO configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Display "Other" Referral option', 'DISPLAY_REFERRAL_OTHER', 'true', 'Display "Other - please specify" with text box in referral source in account creation', '1', '22', 'zen_cfg_select_option(array('true', 'false'),'now());]
    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.


    when i import the SQL file i get this error:
    Error

    SQL query:
    ALTER TABLE customers_info ADD customers_info_source_id int NOT NULL AFTER customers_info_date_account_last_modified;


    MySQL said:
    #1060 - Duplicate column name 'customers_info_source_id'

    Here is some info:
    Server version: 4.1.22-standard-log
    phpMyAdmin - 2.10.0.2



    I have modified the code 'zen_cfg_select_option(array('true', 'false'),'now());
    and changed it several different ways. and no luck. Is there another solution?

  10. #90
    Join Date
    Jan 2006
    Posts
    420
    Plugin Contributions
    0

    Default Re: Can't get "referrals " mod working

    Quote Originally Posted by rnet View Post
    I've confirmed that I'm using the correct versions.

    The LOG file shows: PHP Parse error: parse error, unexpected T_CASE in /var/www/html/admin/orders.php on line 195

    Suggestions?

    I get the same error too . I have a suspicion that the Paypal updates may muck it up. as when i installed this Paypal stoped working ! may be coincedence.

    Hope someone can suggest a fix.
    Various Zen cart sites !

 

 
Page 9 of 36 FirstFirst ... 789101119 ... LastLast

Similar Threads

  1. How Did You Hear About Us? mod
    By yeah! in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 28 Dec 2011, 06:28 PM
  2. Database Errors - Duplicate Entries - How Did You Hear About Us Mod
    By limelites in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 7 Sep 2010, 08:59 PM
  3. How Did You Hear About Us Mod...2 Instances Possible??
    By jdw1979 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 26 Mar 2010, 02:14 PM
  4. 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
  5. Error in admin - PayPal - when using How Did You Hear About us mod
    By TrvlFox in forum PayPal Express Checkout support
    Replies: 3
    Last Post: 23 Nov 2007, 03:23 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