Topic: Possible Bug
hello i see this in my "Install extension"
Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /web/htdocs/www.mysite.com/home/admin/extensions.php(742) : eval()'d code on line 62
You are not logged in. Please login or register.
PunBB Forums → PunBB 1.2 bug reports → Possible Bug
hello i see this in my "Install extension"
Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /web/htdocs/www.mysite.com/home/admin/extensions.php(742) : eval()'d code on line 62
did you solve it?
what extensions (and versions) do you have installed?
try to disable them one by one. which one was the reason?
It's obviously the same error as here: http://punbb.informer.com/forums/topic/ … tall-page/
did you solve it?
what extensions (and versions) do you have installed?
try to disable them one by one. which one was the reason?
yes i have try few extension maybe the problem is it
not resolve, maybe it's a php 4 problem?
Yes, this error appears in PHP 4. But you can fix it. I've written how to do it in the topic: http://punbb.informer.com/forums/topic/ … all-page/.
You can fix this (http://punbb.informer.com/trac/changeset/299) or download 'pun_repository/manifest.xml' from SVN (http://punbb.informer.com/svn/extension … nifest.xml).
Update: Don't forget to reinstall pun_repository after changing manifest.xml.
With fix do not function
yes i know that in my host work the php 4 but fix no cure it.
any idea?
There is another foreach() in manifest.xml (line 125) that works only on PHP 5:
foreach ($pun_repository_ext['dependencies']['dependency'] as &$pun_repository_ext_dep)
This is definitely a bug. The makeshift solution is to remove '&' symbol from this line.
Thanks for reports.
I'll check out pun_repository and update it in extensions repository soon.
There is another foreach() in manifest.xml (line 125) that works only on PHP 5:
foreach ($pun_repository_ext['dependencies']['dependency'] as &$pun_repository_ext_dep)
This is definitely a bug. The makeshift solution is to remove '&' symbol from this line.
ok work fine!
PunBB Forums → PunBB 1.2 bug reports → Possible Bug
Powered by PunBB, supported by Informer Technologies, Inc.