From: Reini U. <ru...@x-...> - 2006-04-13 18:43:41
|
Reini Urban schrieb: > 2006/3/22, Thomas Haws <tom...@gm...>: >> The list has been very quiet. I guess that is a good thing. > > Not really. There are outstanding bugs. > I'm full-time involved with our local filmfestival here this week, > so I have no time at all. > >> I installed version 1.3.12p2 on a remote PHP 5/MySQL 5 server and I >> can't get it to run. >> http://hawsedc.com/thomas >> >> I understand that this error >> phpwiki/lib/main.php:20: Fatal[2048]: Assigning the return value of >> new by reference is deprecated >> is solved for the time being by setting register_globals on. > > Nope. This is enterily register_globals independent. > This php 5 fatal should be solved by allow_call_time_pass_reference = On > I thought I fixed all issues, but didn't test with php-5.1 lately > >> In perusing the support wiki, I see that somebody claims to have >> installed with register_globals off. (That claim turned up on the >> Recent Changes page in a search for "register globals", but I couldn't >> find it on the Recent Changes page itself.) > > register_globals off is default for a long time now and I do all the > testing with register_globals off. > >> The question I have is how close you are to getting phpwiki fully >> (whatever that may mean) compliant with PHP 5 and MySQL 5. I have >> decided to just wait, and I am wondering if there will be some kind of >> announcement, or if there is some version number you are pushing >> toward for compliance. > > php-5.0 was tested ok. php-5.1 not fully tested. php-5.1.2 just tested okay. apache-1.3.33, mysql-4.1.8 PHP_SAPI=apache PHP_OS=WINNT PHP_VERSION=5.1.2 test=InlineParserTest,HtmlParserTest,PageListTest,ListPagesTest,SetupWiki,AllPagesTest,AllUsersTest,OrphanedPagesTest,WantedPagesTest,TextSearchTest,IncludePageTest,DumpHtml db=file,dba,PearDB_mysql,ADODB_mysql PHPWIKI_VERSION=1.3.12p2 USECACHE=1 WIKIDB_NOCACHE_MARKUP=false ENABLE_USER_NEW=1 ENABLE_PAGEPERM=1 php.ini: zend.ze1_compatibility_mode = Off allow_call_time_pass_reference = Off register_globals = Off register_long_arrays = Off auto_globals_jit = On You must be using a version before 1.3.11, something like 1.3.7 Up to 1.3.11 phpwiki was not allow_call_time_pass_reference safe. phpwiki/lib/main.php:20: Fatal[2048]: Assigning the return value of new by reference is deprecated There's no function call at 20 in any main.php version from 1.3.11 on I have around here. 1.3.7: $this->_dbsession = & new DB_Session($this->getDbh(), |