gregvanbrug
Member
Posted 1 year ago #
Hello.
I've got a WordPress site running locally and on a live server. Problem is on the live site I'm getting this above the header:
���Mac OS X ���� ���2�������������������������������������������������ATTR� �j�����������-����������������������-��com.apple.quarantine�q/0000;4ca4801e;Firefox;|org.mozilla.firefox�
Not sure where it's coming from. It's not appearing locally or on another live test install, I've got up.
I'm developing on a Mac with Coda and made sure all the line endings are UNIX.
Anybody see this before? Any help would be much appreciated!
I experienced similar problem recently in tags and archive.
The cause in case was a snippet iadded to the loop.php, which worked but also hade sideeffects like this.
I removed the snippet and all was good.
gregvanbrug
Member
Posted 1 year ago #
thanks t-p for the quick response.
hmm.. this is a custom theme so i'm not using loop.php. could you give me a quick example of the snipit you inserted that caused this?
thisisedie
Member
Posted 1 year ago #
Did you copy and paste from anything other than a text based editor? Copying and pasting from something like Word can cause this to happen.
gregvanbrug
Member
Posted 1 year ago #
No. It was all either hand typed or copied from Coda or BBedit.
the snippet was WP Search Highlight which replaced <?php the_excerpt(); ?> in the loop.php
By trial error, when I put this back and removed the WP search highlight snippet, the problem went away.
you can also go back to the Twenty Ten theme to see if the problem goes away. If it does, then obviously the problem arises from your theme and/or modifications you made in it.
gregvanbrug
Member
Posted 1 year ago #
Hold on... Think I got it. Client's uploading files as binary instead of ascii...
gregvanbrug
Member
Posted 1 year ago #
Thanks! for all your help. That was a weird one.