I needed more chars in the anchor field of the database because 100 is not enough for multisite installations

I would suggest changing it to 256
ALTER TABLE `affiliates_ads` CHANGE `anchor` `anchor` VARCHAR( 256 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL

Comments

hedac’s picture

also have to change maxlength in affiliates.module for anchor
it was 120, now 256

$form['affiliate']['anchor'] = array(
'#type' => 'textfield',
'#title' => t('Hosted button URL'),
'#default_value' => $affiliate->anchor,
'#size' => 40,
'#maxlength' => 256,
'#description' => t('If your button is hosted elsewhere, enter the URL here.')
);

Anonymous’s picture

Assigned: Unassigned »

I made the change for 'anchor' and also for 'redirect' and 'referer'.

Ill get these changes committed to the development branch later today.

Thanks for your help :-)

Best, Paul

Anonymous’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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