Closed GoogleCodeExporter closed 9 years ago
Hi keldym:
PHP 5.2.x doesn't support namespaces. It looks like you are using the wrong
download.
There are two downloads for version 2.0.2:
1. mediawiki-page-attachment-2.0.2.zip <-- Runs only on 5.3.x
2. mediawiki-page-attachment-2.0.2-php-5.2-b4.zip <-- Runs on PHP 5.2.x & PHP
5.3.x
* Note that releases for PHP 5.2.x are "beta" versions.
Please, use the download for PHP 5.2.x and kindly report back if you encounter
any issues.
Sincerely yours,
Aldrin
Original comment by Aldrin.Baroi@gmail.com
on 22 Jan 2012 at 5:00
Thanks very much for the quick answer. That mostly fixed the problem. I
installed the 2.0.2-php-5.2-b4 version.
Ran into:
Parse error: syntax error, unexpected T_STRING, expecting ')' in
extensions/PageAttachment/messages/Messages_DE.php on line 49
Similar error in the Messages_DE-formal.php on that same line:
'viewUserPage' => 'Zeige $1_'s Seite',
I escaped the single apostrophe after the $1_ in both files and it looks like I
am in business.
Thanks again for your help!
Original comment by keld...@gmail.com
on 22 Jan 2012 at 5:24
Hi Keldym:
I am glad that it is working for you. Closing this report as invalid report.
By the way, it looks like you did encounter a bug. PHP 5.2.x releases are
built by transforming the PHP 5.3.x compatible code using a script. The script
is removing the needed backslash. Created a separate bug report (issue# 36) to
track & fix this.
Original comment by Aldrin.Baroi@gmail.com
on 24 Jan 2012 at 4:38
Original issue reported on code.google.com by
keld...@gmail.com
on 22 Jan 2012 at 2:10