Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 365

Hybrid View

  1. #1
    Join Date
    Mar 2006
    Posts
    57
    Plugin Contributions
    0

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

    Quote Originally Posted by hllight View Post
    After reading this message again, you didn't say how you fixed it. Did you use the files from the December version? If so which files?
    Correct. I never summarized how I got it to work. It is a frustrating problem some of us are facing.

    However if you do a search on this thread and break out all the "gogolf" posts and follow the steps I took and frustrating comments I posted .. that is how it got to work for me.

    In summary, thinking out loud:
    A) there "maybe" a problem in the sql patch such that there is a pre-existing field in the tables that the mod is trying to install and it can't; at least that is my understanding from reading the error report (comments welcome from guru's). There maybe a problem with syntax and there may not be for some installers.
    What I may not have posted was that after running the sql patch with the mod I did get tables and fields appear, they did get updated. So I went into my database, through mysql, and deleted the changes the mod sql patch created and located one field or table which for some reason the mod sql patch reported (in simple terms) "was already there guy, sorry can't do anything". I then cut and pasted the mod sql patch into myphp and it ran.
    B) after "A" above the referral was still not being posted to the database so I moved a file (see post 157 in this thread) and that solved my problem.

    That is how it got ITSELF to work. Is the problem in the sql patch? I don't know but I'm leaning toward that. Is the problem in the version of MySql or php is on your or my server, I don't know.

    C) In my opinion, as well as suggested in Zen, when a file is modded it should be noted in the top of the file or commented where the changes are line by line. Some of these files in the mod do not have any notes so you have to use a "compare" program often.

    D) The mod instructions could be more clear or concise. No offense to any mod authors however the best instructions are simple, concise and in laymens terms.
    I'm sure if you sift through various mod's for Zen you'll find some that anticipate that you know what you are doing and how things work, and then there those that go into detail for expert and newbie.

  2. #2
    Join Date
    Dec 2006
    Posts
    189
    Plugin Contributions
    0

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

    Thanks Gogolf for the reply. I believe one of my problems is that I have never been able to get the override system to work for me. So, I have no idea where to go from here.

  3. #3
    Join Date
    Mar 2006
    Posts
    57
    Plugin Contributions
    0

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

    Quote Originally Posted by Robbyn7 View Post
    Thanks Gogolf for the reply. I believe one of my problems is that I have never been able to get the override system to work for me. So, I have no idea where to go from here.
    I have never been able to figure it out, however somehow mine works.
    If you read my threads again you'll find a post discussing over-ride system of which confuses me ; depending upon which FAQ or Help article you read.

    Here it is again.
    https://www.zen-cart.com/tutorials/index.php?article=36

    Read it and search the FAQ's and Help sections of Zen to other articles.

  4. #4
    Join Date
    Dec 2006
    Posts
    189
    Plugin Contributions
    0

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

    Thanks again Gogolf for the reply. I don't know how many articles I've read on this subject. I thought I had all the folders/directories in their proper place, etc. but still can't get it to work. I'll check out the link you have here and give it another try.

    Thanks,
    Robyn

  5. #5
    Join Date
    Jan 2007
    Location
    The Netherlands
    Posts
    29
    Plugin Contributions
    0

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

    Quote Originally Posted by hllight View Post
    [FONT=Tahoma][FONT=Arial]I moved the create_account.php to the folder as suggested and that did not correct my problem. [/FONT][/FONT]

    [FONT=Tahoma][FONT=Arial]The displayed error message: [/FONT][/FONT]
    [FONT=Tahoma][FONT=Arial](Parse error: syntax error, unexpected T_CASE in /home/aaadi3/public_html/admin/orders.php on line 195) [/FONT][/FONT]
    [FONT=Tahoma][FONT=Arial]is a syntax error detected during php parsing. Such a syntax error must be corrected before a program can run. A syntax error could be wrong or missing punctuation, unrecognizable operators or statements, etc. The resulting code cannot execute. This contribution does not seem to be in a bug free condition.[/FONT][/FONT]
    [FONT=Tahoma][FONT=Arial][FONT=Tahoma][FONT=Arial]Is the author of the code available to assist in debugging?[/FONT][/FONT][/FONT][/FONT]
    [FONT=Tahoma][FONT=Arial]I use the applezen template and this contribution is not easy to uninstall. Any suggestions?[/FONT][/FONT]
    see attached file only when unexpected T_ error.
    Attached Files Attached Files

  6. #6
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

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

    Forgive my ignorance but...
    There are two orders.php files in the following directories:
    \admin
    \admin\includes\languages\english
    Do both get replaced?
    H. Light
    Florida

  7. #7
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

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

    Quote Originally Posted by importprijs.nl View Post
    see attached file only when unexpected T_ error.
    I think I finally got it. All errors are gone, I HOPE.

    Thank to everyone for your help!!!
    H. Light
    Florida

  8. #8
    Join Date
    May 2006
    Posts
    84
    Plugin Contributions
    0

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

    Hello

    I was also having this problem in /admin/order.php

    I ended up doing the following;

    1. Comment out lines 181 - 193

    PHP Code:
        }
      }

      if ((
    $action == 'edit') && isset($_GET['oID'])) {
        
    $oID zen_db_prepare_input($_GET['oID']);

        
    $orders $db->Execute("select orders_id from " TABLE_ORDERS "
                                where orders_id = '" 
    . (int)$oID "'");

        
    $order_exists true;
        if (
    $orders->RecordCount() <= 0) {
          
    $order_exists false;
          
    $messageStack->add(sprintf(ERROR_ORDER_DOES_NOT_EXIST$oID), 'error'); 
    2. Comment out line 253 as it's a second declaration

    PHP Code:
    include(DIR_WS_CLASSES 'order.php'); 
    Hope this helps someone - and if anyone thinks I'm wrong p[lease let me know...

    Thanks

    Andy

  9. #9
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

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

    We tried that too. Now try to create a new account now. I believe you will get a different error at the end of that process.

    I will have to check my notes, but I believe putting the create_account.php in its proper location was step one and the second part of my probem was a second occurance of the orders.php file.
    H. Light
    Florida

  10. #10
    Join Date
    Dec 2006
    Posts
    189
    Plugin Contributions
    0

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

    Just wanna thank everyone for their help. Whew! I finally got this mod to work.

    Referrals now appear in my Admin, Customers, Referred by and also my Admin, Extras, Referrals. After using winmerge to do a comparison, I noticed my create_account.php files weren't identical. Once I got a match, I uploaded it to my server and everything started working.

    Hope this helps someone else.

 

 
Page 2 of 3 FirstFirst 123 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

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