What could interfere with changing iframe contents with href?

Ah ha: by searching the rendered page for target I discovered that the site was running a plugin called “Open external links in a new window.” Disabling that plugin solved the problem.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)