I've been using this module successfully on a site for some time, just moved the site to a new server and now the module has mysteriously stopped working. Views seems to be trying to parse my php code as HTML, treating the <? as the opening of an html tag.

Is there any PHP config setting on my new server that would cause this? What should I be looking for?

Thanks for any clues.

- Lucy

Comments

lucyp’s picture

Title: stops working after I move site to new server, parses <? as html tag » FIXED: stops working after I move site to new server, parses <? as html tag
Status: Active » Closed (fixed)

Hi, I figured out that the problem was that I had been using <? ?> to enclose my PHP code instead of

The correct way is given in the instructions, and I had just not been doing it correctly. But somehow on my previous server the <? ?> had been working fine, and now on this new server I have to do it the "right" way.

I'm curious to understand what settings on a server could cause this difference in behavior, but mostly I'm just relieved that this module does actually work for me now!