Reini Urban schrieb:
> Anyone seen this before:
> Fatal error: Call to undefined function: trigger_warning() in
> /home/groups/p/ph/phpwiki/htdocs/test/lib/WikiUserNew.php on line 579
sorry, found my error.
I still don't understand the problem above, but it's not reproducable
anymore, since I fixed the offending code.
pref_select and pref_update work okay now.
> Reproduce:
> http://phpwiki.sourceforge.net/test/index.php
> Enter a value at "Sign in" and press enter.
>
> Strange strange strange. Probably a error in this php 4.1.2.
> But how to workaround?
>
> First I saw that on the sf.net php $dbh->_backend->prepare (for the
> PearDB backend) does not work. I thought, well oh well, maybe is the
> backend class as reference not allowed. (lib/WikiDB/SQL.php:17)
$dbh->_backend->_dbh->prepare was the right object chain.
> but then even the standard function trigger_warning() is lost.
> I use php 4.2.2 in my windows test machine and there it works ok.
--
Reini Urban
http://xarch.tu-graz.ac.at/home/rurban/
|