Interesting that must mean that the issue is the variable that I was storing 16 in as that is the only difference. I will hard code in all numbers even for constant variables. In theory this should fix the problem.
--------------- Added [DATE]1306176320[/DATE] at [TIME]1306176320[/TIME] ---------------
Yea the issue is that when running in paidsub_build it randomly decides on its own if it is going to use constant variables or not.
I will now just hard code in all constant values in place of variables and hopefully that will then work.
--------------- Added [DATE]1306176915[/DATE] at [TIME]1306176915[/TIME] ---------------
Ok it appears to be working now. The issue is that for what ever reason within the paidsub_build hook you can not use any global variables other than $db so anything you want to use variable wise must be defined within the function. This is only the case with the paidsub_ hooks.
I now can move on to programing the rest which should be easy now that it is clear what the rules are for these functions.
Thank you all so much for you help, I could not have gotten this working without you!
|