Closed (fixed)
Project:
Ubercart Affiliate v2
Version:
6.x-2.6
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2011 at 14:38 UTC
Updated:
16 Jul 2011 at 18:02 UTC
Hi everyone,
Commissions are not being applied with any settings in the admin.
Also orders don't have affiliates associated with them.
I tried all possible combinations.
Are there any known incompatibilities with other modules?
Any ideas how to debug this and where to look for error?
Thanks anyway
IH
Comments
Comment #1
Ivanhoe123 commentedHi everyone,
I investigated this further and hook_init function is not called upon every request.
I added watchdog message to see if the function is called always and it isn't.
Some of the orders/clicks are registered and some of them are not.
Apache logs are empty and watchdog doesn't say anything.
Any ideas how to find the issue?
Thanks!
Comment #2
Ivanhoe123 commentedIssue found - it's a server related one.
If you experience the same issue replace both $_REQUEST with $_GET in uc_affiliate2.module on lines 1173 and 1177.
Also try turning off caching.
Hope this helped someone!