[aur-dev] [PATCH] Workaround for xml tag

Andrea Scarpino andrea at archlinux.org
Wed Apr 8 20:37:04 EDT 2009

Hi again,
if you enable short_open_tags in your php.ini, when you try to start
AUR you will get an error:

"Parse error: syntax error, unexpected T_STRING in
../aur/web/template/header.php on line 1"

this because the server believes that <?xml is really <?php so it
elaborates the code as php.
A simple workaround for this problem is to add the xml code in a
print() instruction.

I'm sending this patch but I know probably this will be swerve because
few people enable short_open_tags, anyway why not try ;)

Andrea `BaSh` Scarpino
Arch Linux Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-workaround-for-xml-tag.patch
Type: application/octet-stream
Size: 723 bytes
Desc: not available
URL: <http://www.archlinux.org/pipermail/aur-dev/attachments/20090409/bc05d205/attachment-0001.obj>

More information about the aur-dev mailing list