We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • Quote from: PaulGregory at Aug 08, 2006, 06:36 PM

    Firstly, I just noticed that snippets in 0.9.5 have <%php markup around them. Is this now required or is it filtered out to make life easier for people developing in certain editors?

    The PHP tags are automatically added/removed on save/retrieval now, so that if they are included or not, it is not a problem anymore.
    • The most peculiar thing just happened, I was cruising along playing with the templates in the new svn revision (reported as 1197) when suddenly I was logged out, and it won’t let me log in again. No errors, just returns the login page. But I can log in just fine in Safari and IE 6. huh
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 12943
        • 97 Posts
        Hi people, so more than 6 years later I encounter kind of the same bug as Susan did. A php error in the frontend , while I was trying to do a weblink on a document with Yams. I am in Evo 1.0.6.

        PHP error debug
        Error: 	Header may not contain more than a single header, new line detected.	 
        Error type/ Nr.: 	Warning - 2	 
        File: 	/home/.sites/93/site37/web/assets/modules/yams/class/yams.class.inc.php	 
        Line: 	1964	 
        Line 1964 source: 	); 
        


        So I looked up the code, and it showed a Header( $resolvedURL,true,301 ) So I guess I get this error because I already use header in a selfmade init-script. This isn't right at all, like it's not the way to do it, I think, because it forbids the user to do own headering. Even more weird, this is the first time it pops up, even though I use weblinks on the same website on several other occasions.
        This is my first website with Yams and for sure it is my last. If you can't trust the code simply leave it. I've seen more glitches in Yams, but this one is front-end and my client complains. I know, I should probably upgrade to Revolution and forget about all things Evolution. I can work around this one, but I think problems might be severe here..

        Regards from Amsterdam
          Accelerate your Windows system with 9.8 m/s2.