Re: bx_helpers_simplecache::staticHttpReadAsDom

Christian Stocker <[email protected]> Thu, 28 Jan 2010 11:27:42 +0100
Newsgroups gmane.comp.cms.bitflux.general
Organization Liip AG
Message-ID <[email protected]>
Hi

Looks like it's not allowed to call the php:function.

Did you define the xmlns:php="http://php.net/xsl" on top of that xsl file?

and what's in your
    <xslt_allowed_phpfunctions>
section in conf/config.xml

If it's:
    <xslt_allowed_phpfunctions>__all__</xslt_allowed_phpfunctions>
then that should be ok

greetings

chregu

On 23.01.10 23:00, list.fluxcms wrote:
> Hi all,
> 
> how can 'bx_helpers_simplecache::staticHttpReadAsDom' been included in
> the xsl-files?
> 
> If I use
> 
> <ul>
> <xsl:for-each
> select="php:function('bx_helpers_simplecache::staticHttpReadAsDom','http://twitter.com/statuses/user_timeline/14918598.atom',600)/atom:feed/atom:entry[position()
> &lt; 6]"> -->
>   <li>
>    <a href="{atom:link[@type='text/html']/@href}"><xsl:value-of
> select="substring(atom:content[@type='html'],7)"/></a>
>   </li>
> </xsl:for-each>
> </ul>
> 
> the XSL for-each is not executed, and the html rendering is stopped so
> that the rest of page is not produced. I set
> 
> #E_STRICT | E_ALL
> php_value error_reporting 16383
> 
> in .htaccess but no error is shown.
> 
> How could this debugged? Maybe am I missing some files?
> 
> I use 1.6-dev/9.9.27.
> 
> Thanks for your hints and reply in advance.
> 
> By the way - there a spam entries in the liip wiki.
> 
> Grretings
> 
> - thomas
> 
> 

-- 
Liip AG  //  Feldstrasse 133 //  CH-8004 Zurich
Tel +41 43 500 39 81 // Mobile +41 76 561 88 60
www.liip.ch // blog.liip.ch // GnuPG 0x0748D5FE

-- 
bitflux-cms mailing list
[email protected]
http://lists.bitflux.ch/cgi-bin/listinfo/bitflux-cms