00811: http://wtwiki.com/

Created: 2006-10-05 05:46
Status: Closed
Category: Bug
From: peter d?
Assigned:
Priority: 3
Version: 2.2.0 beta 13
OS: linux/apache/php4

Description: [(approve links) edit diff]

Since upgrading to the latest version I get either "Parse error: parse error, unexpected T_DNUMBER in /home/wtwiki/public_html/pmwiki.php on line 1029" or a lot of code displayed as text. The site had been working fine under a previous version of pmwiki (but had been subject to severe spam which necessitated the upgrade).

Apologies if this is a mistake on my part rather than a bug

It's this line of code that is causing the problem in various versions I've tried re-installing since having this probelm:

 $ipage = RetrieveAuthPage($iname, 'read', false, READPAGE_CURRENT);

Closer investigation reveals that the problem is that $ip is being replaced with an ip address when I save a file on the web host. It's an issue with the editing software, not with pmwiki.