I've followed the tutorial on your page and I'm getting this error:
Any idea?
- Code: Select all
ERROR! ATTRIB_NAME: Invalid char "<" (line: 0 char: 43)
Any idea?
ERROR! ATTRIB_NAME: Invalid char "<" (line: 0 char: 43)
cheesypoof wrote: That is a generic couch syntax error. There is an improper use of a "<" character on line 0 character 43. If you can't find where the problem is, I'm sure I could help you if you post some of the code.
<?php require_once( 'couch/cms.php' ); ?>
<cms:content_type 'text/xml' /><cms:concat '<' '?xml version="1.0" encoding="' k_site_charset '"?' '>' />
<rss version="2.0">
<channel>
<title>Blog</title>
<link><cms:show k_site_link /></link>
<description>Articles and Discussions posted from</description>
<language>en-us</language>
<pubDate><cms:date format='D, d M Y H:i:s' gmt='1'/> EST</pubDate>
<generator>Couch CMS</generator>
<item>
<cms:pages masterpage='blog/blog.php' limit="10">
<title><cms:show k_page_title /></title>
<link><cms:show k_page_link /></link>
<description>
<cms:html_encode>
<cms:excerptHTML><cms:show blog_content /></cms:excerptHTML>
</cms:html_encode>
</description>
<pubDate><cms:date k_page_date format='D, d M Y H:i:s' gmt='1'/> EST</pubDate>
</item>
</cms:pages>
</channel>
</rss>
<?php COUCH::invoke(); ?>
<cms:pages masterpage='blog/blog.php' limit="10">
<?php require_once( 'couch/cms.php' ); ?>
<cms:content_type 'text/xml' /><cms:concat <' '?xml version="1.0" encoding="' k_site_charset '"?' '>' />
<rss version="2.0">
<channel>
<title>Blog</title>
<link><cms:show k_site_link /></link>
<description>Articles and Discussions posted from Clayton Nichols.</description>
<language>en-us</language>
<pubDate><cms:date format='D, d M Y H:i:s' gmt='1'/> EST</pubDate>
<generator>Couch CMS</generator>
<cms:pages masterpage='blog/blog.php' limit="10">
<item>
<title><cms:show k_page_title /></title>
<link><cms:show k_page_link /></link>
<description>
<cms:html_encode>
<cms:excerptHTML><cms:show blog_content /></cms:excerptHTML>
</cms:html_encode>
</description>
<pubDate><cms:date k_page_date format='D, d M Y H:i:s' gmt='1'/> EST</pubDate>
</item>
</cms:pages>
</channel>
</rss>
<?php COUCH::invoke(); ?>
<cms:concat <' '?xml version="1.0" encoding="' k_site_charset '"?' '>' />
<cms:concat '<' '?xml version="1.0" encoding="' k_site_charset '"?' '>' />