The content blocks wanished.

Permalink 1 user found helpful
Hello,

I just started to work on a project, where I need to transfer the site from Apache to IIS. It went along well enough, but I hit the wall when I view the site loaded from the new server. ...It's missing all the blocks and instead it displays just [setBlockLimit(1); $a->display($c); ?>].
site:http://duffhouse.metadigital.co.uk/...

Did anyone came across this issue before?

Thanks for any advice.

 
Remo replied on at Permalink Best Answer Reply
Remo
That probably happens because the new server doesn't support short tags.

Replace <? with <?php and it should work again..

Or configure php to process short tags but I wouldn't recommend that. I'd rather recommend to avoid short tags whenever possible.
vlad0panek replied on at Permalink Reply
Hello Remo,

Thanks for the reply.

I just got trough all the php files in the root folder.
No "<?" found. All php tags are proper "<?php".

What files did you have in mind in particular?

I thought that this might be issue with the theme, but the code seems to be sound.
Remo replied on at Permalink Reply 1 Attachment
Remo
They are there, probably in your theme! Check the attachment.
vlad0panek replied on at Permalink Reply
Hi Remo,

You'r right. I must have made mistake with the search.
I replaced the php short tags and it's working fine.

Cheers.