[PHPTAL] PHPTAL shows blank page

Laurent Bedubourg lbedubourg at motion-twin.com
Wed Aug 9 12:08:49 CEST 2006


Ján Bátora wrote:
> alright, I tested it and on windows it works as long as 
> zend.ze1_compatibility_mode is Off. I'm using the default windows binaries.
> however, on linux, it doesn't work even with the 
> zend.ze1_compatibility_mode = Off, but I compiled the php myself, with 
> these configure parameters:
> ./configure --prefix=/usr/local/php5' '--enable-force-cgi-redirect' 
> '--enable-safe-mode' '--enable-cgi' 
> '--with-exec-dir=/usr/local/php5/bin' '--with-mysql' '--with-zlib' 
> '--enable-xml' '--enable-wddx' '--enable-shared' '--with-gd=shared' 
> '--with-openssl' '--enable-ftp' '--enable-gd-native-ttf' '--with-imap' 
> '--with-kerberos' '--with-imap-ssl' '--enable-mbstring' 
> '--with-apxs2=/usr/sbin/apxs' '--with-pgsql=shared' 
> '--with-jpeg-dir=/usr/' '--with-freetype-dir=/usr

The PHPTAL_XmlParser is really simple and have no dependency, simplexml 
and spl are not used by PHPTAL and shouldn't be involved.

The problem *may* comes from mbstring, this extension overloads basic 
string functions like strlen(), substr(), etc... which are used by the 
XMLParser.

Can you try without this extension (just a guess) ?

Laurent



More information about the PHPTAL mailing list