Plugin Author
Arnan
(@adegans)
Please check your servers error_log file for anything that mentions AdRotate – Anything is interesting.
Hey Arnan. Unfotunately, my error_log doesn’t mention anything about AdRotate. I tested the plugin on other domains with WordPress installation under the same hosting, and this issue appears on all of them.
Just for the record, I used AdRotate like 1 year ago and it worked like a charm.
Plugin Author
Arnan
(@adegans)
I have no explanation for it and without further info I can’t say much about it either 🙁
That’s okay. Just to let you know what I’ve found so far:
— if I type a simple text in the AdCode field, such as adsgdsagdsgdagsdagdsgsdgd, I am successfully saving the ad.
— but if I type any code, such as <a href="http://SOME URL"><img src="%asset%" /></a> or <a href="http://SOME URL"><img src="DIRECT URL TO IMAGE" /></a>, the ad won’t let me save.
Voila! Problem solved. When I type <a href=http://SOME URL><img src=%asset% /></a>, without the "" the ad is saved!
Plugin Author
Arnan
(@adegans)
That’s odd :-/
Never heard of that before and I can’t reproduce it anywhere either.
What if you use single quotes (‘) ?
Single quotes work, too! It’s a crazy issue, maybe it’s just for me. Thanks, Arnan.
Plugin Author
Arnan
(@adegans)
Probably a setting in your php setup related to quotes or magic quotes.