Hello,

Are you planning to upgrade it to D6?
If so, when?

Best regards,
Gabor

CommentFileSizeAuthor
#1 affiliate.d6.patch21.84 KBobsidiandesign

Comments

obsidiandesign’s picture

Status: Active » Needs review
StatusFileSize
new21.84 KB

As part of a client project, I've upgraded affiliate to Drupal 6. This is a first working version, which will need some testing, but I am able to use it on a Drupal 6 site. Please let me know if any issues come up & I'll re-roll.

Bryan O'Shea
Obsidian Design

thierry_gd’s picture

Status: Needs review » Fixed

Just upgraded the module to drupal 6

eranglr’s picture

Version: 5.x-1.x-dev » 6.x-1.0
Category: support » bug
Priority: Normal » Critical

I get this Sql error when trying to enable on Drupal 6 (ver 6.8):

user warning: 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 'DEFAULT NULL ) /*!40100 DEFAULT CHARACTER SET UTF8 */' at line 7 query: CREATE TABLE affiliate_counts ( `aid` INT unsigned NOT NULL, `time` INT unsigned NOT NULL, `keyword` VARCHAR(255) NOT NULL DEFAULT '', `clicks` INT unsigned NOT NULL, `users` INT NOT NULL, `primary key` DEFAULT NULL ) /*!40100 DEFAULT CHARACTER SET UTF8 */ in C:\wamp\www\234\includes\database.inc on line 515.

thierry_gd’s picture

Just a little problem of matching brackets : fixed in 6.1.2

eranglr’s picture

Status: Fixed » Active

I get this error when trying to view affiliated users:

warning: Missing argument 1 for affiliate_admin_users() in C:\wamp\www\234\sites\all\modules\affiliate\affiliate.module on line 246.

thierry_gd’s picture

Status: Active » Fixed

Fixed in 6.1.3

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

segfaultvicta’s picture

Version: 6.x-1.0 » 6.x-1.3
Status: Closed (fixed) » Active

I am using 6.1.3 and still getting:

warning: Missing argument 1 for affiliate_admin_users() in sites/all/modules/affiliate/affiliate.module on line 248.

when I navigate to the following:

/admin/settings/affiliate/users

If I go to a particular user (i.e. /affiliate/users/4) it works as intended; looking at the code...

function affiliate_admin_users($aid) {
...
}

There doesn't seem to be any handling of the case wherein $aid is -not- passed along, but that's exactly the case encoded by /affiliate/users/. I'm not strong enough with Drupal yet to know how to handle this case. Has anyone found a workaround to this problem?

Thanks,

-Jon

jerdiggity’s picture

Assigned: Unassigned » jerdiggity
Status: Active » Closed (cannot reproduce)