Zen Cart Logo
Forums / All Other Contributions/Addons / How Did You Hear About Us? Referrals Mod [Support Thread]

How Did You Hear About Us? Referrals Mod [Support Thread]

Views: 88,367

Results 181 to 200 of 365
07 Sep 2007, 21:56
#181
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

How Did You Hear About Us? Referrals Mod [Support Thread]

Robbyn7:

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.

09 Sep 2007, 04:37
#182
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

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

10 Sep 2007, 15:22
#183
importprijs_nl avatar

importprijs_nl

New Zenner

Join Date:
Jan 2007
Location:
The Netherlands
Posts:
36
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

hllight:

I moved the create_account.php to the folder as suggested and that did not correct my problem.

The displayed error message:
(Parse error: syntax error, unexpected T_CASE in /home/aaadi3/public_html/admin/orders.php on line 195)
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.
Is the author of the code available to assist in debugging?
I use the applezen template and this contribution is not easy to uninstall. Any suggestions?

see attached file only when unexpected T_ error.

12 Sep 2007, 20:19
#184
hllight avatar

hllight

Zen Follower

Join Date:
May 2007
Location:
Port Charlotte, FL
Posts:
125
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

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

12 Sep 2007, 22:22
#185
hllight avatar

hllight

Zen Follower

Join Date:
May 2007
Location:
Port Charlotte, FL
Posts:
125
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

importprijs.nl:

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!!!

13 Sep 2007, 11:46
#186
thieving_gypsy avatar

thieving_gypsy

New Zenner

Join Date:
May 2006
Posts:
87
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Hello

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

I ended up doing the following;

  1. Comment out lines 181 - 193
    }
  }

  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');
  1. Comment out line 253 as it's a second declaration
include(DIR_WS_CLASSES . 'order.php');

Hope this helps someone - and if anyone thinks I'm wrong p[lease let me know...

Thanks

Andy

14 Sep 2007, 04:20
#187
hllight avatar

hllight

Zen Follower

Join Date:
May 2007
Location:
Port Charlotte, FL
Posts:
125
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

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.

20 Sep 2007, 02:25
#188
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

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. :clap:

20 Sep 2007, 12:14
#189
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Hip Hip Hooray!

Robbyn,
Do you think you can remember all the steps you took to get the mod to work?

Robbyn7:

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. :clap:

20 Sep 2007, 13:54
#190
lankeeyankee avatar

lankeeyankee

Totally Zenned

Join Date:
Jan 2007
Posts:
1,514
Plugin Contributions:
1

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Robbyn7:

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. :clap:
Were you able to get the "other" referral to show the text entered into the "other" textbox on customer signup? When I click the "other" link in admin/extras/referral sources it shows 0 of 0 even though there are 8 "other" referrals.

Also, you mention it appearing in admin/customers/referred by but I don't have anything like that, only 2 links in extras - referrals and referral sources. Have I missed something?

Thanks,

Matt

20 Sep 2007, 15:03
#191
pcdesigns avatar

pcdesigns

New Zenner

Join Date:
Feb 2007
Posts:
76
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Also got it working, just uploaded the create_account.php file again and this time my referral showed in the admin customers section.

21 Sep 2007, 18:45
#192
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Hip Hip Hooray!

Robbyn,
Do you think you can remember all the steps you took to get the mod to work?

Hello Gogolf,

I went back to one of your post where you put the create_account.php into a custom folder. Well, after no success with this I thought hmm...let me compare the files(again). So I downloaded this module again, compared it to what I already had, copy and pasted the .sql file(again). This time everything works! I can even see what someone puts in for "other" on my Referral Sources page. So I'm good to go.

Not for certain but I think the problem is in the create_account.php file. Try comparing it or uploading it again.
How far did you get?

Look Hot for Less!
Foxxy Diva Fashions

21 Sep 2007, 19:02
#193
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Hello Lankeeyankee,

Yes, I am now able to see the "Other" text entered upon signup. All I have to do now is double click "Other" from the Referral Source screen and Voila'.

If you click on Admin, Customers, you should see it as a header. At first I got --none--. Now I'm getting the actual results.

Did you copy and paste your .sql file?

Look Hot for Less!
Foxxy Diva Fashions

29 Nov 2007, 04:08
#194
trvlfox avatar

trvlfox

Zen Follower

Join Date:
Aug 2007
Location:
Fort Worth, Texas, United States
Posts:
156
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

I just download this and I can't seem to get it to work. I have the same problem that everyone else is having. Can someone who got this to work do a step by step instruction on how to make the fix? I see bits and pieces but not one complete "ok do this to fix the problem.."

That would be so appreciated.

29 Nov 2007, 13:13
#195
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

TrvlFox:

I just download this and I can't seem to get it to work. I see bits and pieces but not one complete "ok do this to fix the problem.."

That would be so appreciated.

Here is the best I can offer you today, if it helps.

  1. Read over my posts. Cut and paste them into wordpad or something and see if I was onto to something. I'd do this for you but it takes me about a dozen cups of coffee to turn on the pc.
  2. Read the latest posts here from Robbyn7 who seems to have made it work as well.

I wish I could give you the magic pill here. However. I can tell you that many of the problems I run into with mods involve not having the right parts in the right places, such as having a "custom" folder and not putting things there or having a mod that is not looking there.

01 Dec 2007, 07:42
#196
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

TrvlFox:

I just download this and I can't seem to get it to work. I have the same problem that everyone else is having. Can someone who got this to work do a step by step instruction on how to make the fix? I see bits and pieces but not one complete "ok do this to fix the problem.."

That would be so appreciated.

Hi TrvlFox,
Are you getting an error message?

Robyn
Foxxy Diva Fashions

10 Jan 2008, 01:45
#197
dreamz avatar

dreamz

New Zenner

Join Date:
Oct 2007
Posts:
52
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

I installed 1.37 and the front end is working fine, but I don't see any orders in the admin area. I do see the order in the database and if I put in the order id. When I click on Orders a blank page comes up.

I then upgraded my ZC install to 1.3.8 and also this mod to 1.3.8a. Now I can see the Orders page, but I can't see any orders on it! I can still get to them by entering id.

In my modules, Order Total ot_total is installed.
The only active payment module is - Credit Card - Offline Processing

I went through this entire post and some others multiple times but can't fix this issue.

Could this be a php 5.x issue?


Zen Cart 1.3.8a (upgraded from 1.3.7)
Database Patch Level: 1.3.8
PHP Version 5.0.4
Mods: fual slimbox v0.1.4, How did you hear about us 1.3.8.a, image handler 2.0

10 Jan 2008, 13:42
#198
gogolf avatar

gogolf

New Zenner

Join Date:
Mar 2006
Posts:
57
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

I had considered my initial problem with getting the mod to work was a server, php or mysql issue. I don't think that was the case. If you read my posts you maybe be able to determine what I did to get it to work.

I can tell you however that in many cases the problem can be something as simple as having all right files in the proper folders or directories ;>)

dreamz:

Could this be a php 5.x issue?


Zen Cart 1.3.8a (upgraded from 1.3.7)
Database Patch Level: 1.3.8
PHP Version 5.0.4
Mods: fual slimbox v0.1.4, How did you hear about us 1.3.8.a, image handler 2.0

15 Jan 2008, 18:57
#199
wigum avatar

wigum

New Zenner

Join Date:
Jan 2008
Posts:
3
Plugin Contributions:
0

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

I just installed this module that i received from ranger lp for zencart 1.2.7

Everything installed fine - from a customer point of view it looks fine. However in the admin side i get a number of errors

On the admin referral sources page i receive this error
Fatal error: Cannot use object of type queryFactoryResult as array in /home/directory/public_html/shop/admin/stats_referral_sources.php on line 86

on the admin referral page i receive this error:
Fatal error: Cannot use object of type queryFactoryResult as array in /home/directory/public_html/shop/admin/referrals.php on line 112

Also I created a test account and it didnt seem to take the referral source i put in.

The server is using PHP version 4.4.4
Thanks in advance for your help!

15 Jan 2008, 19:21
#200
ranger_lp avatar

ranger_lp

Zen Follower

Join Date:
Feb 2004
Location:
New York
Posts:
269
Plugin Contributions:
1

Re: How Did You Hear About Us? Referrals Mod [Support Thread]

Try to use these files instead. These are the ones I use on my 1.2.7 site.

Tony