From: Dwayne H. <dho...@ha...> - 2006-03-07 18:41:31
|
Sirs, I have to move my phpwiki to a new server. Server is running FC 4 with php 5.0.4 and mysql 4.x. I did a dump on the database and imported it on my new server. when I go to my old wiki site I get ib/FileFinder.php:18: Fatal[2048]: var: Deprecated. Please use the public/private/protected modifiers. Which I know is an issue with php 5. but I dont quite know how to get around it. I Downloaded the new version of phpwiki and configured the config.ini file to point to my old mysql database and now I get ib/WikiDB/backend/PearDB.php:1024: Error: WikiDB_backend_PearDB_mysql: fatal database error * DB Error: no such table * (SELECT prefs FROM pref WHERE userid='dhottinger' [nativecode=1146 ** Table 'tech_wiki.pref' doesn't exist]). I really would like to keep all the data pages from the old wiki. Is there some way to get it to run on php 5? I tried the zend compatability setting to ON in my php.ini file, but then the old wiki complained that I was running php 5 in comp mode. thanks, ddh -- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools |
From: Reini U. <ru...@x-...> - 2006-03-07 19:08:48
|
Dwayne Hottinger schrieb: > Sirs, > > I have to move my phpwiki to a new server. Server is running FC 4 with php > 5.0.4 and mysql 4.x. I did a dump on the database and imported it on my new > server. when I go to my old wiki site I get ib/FileFinder.php:18: Fatal[2048]: > var: Deprecated. Please use the public/private/protected modifiers. Which I > know is an issue with php 5. but I dont quite know how to get around it. I > Downloaded the new version of phpwiki and configured the config.ini file to > point to my old mysql database and now I get ib/WikiDB/backend/PearDB.php:1024: > Error: WikiDB_backend_PearDB_mysql: fatal database error > > * DB Error: no such table > * (SELECT prefs FROM pref WHERE userid='dhottinger' [nativecode=1146 ** > Table 'tech_wiki.pref' doesn't exist]). Just add the pref table. And maybe apply the other needed SQL fixes for your SQL schema. See schemas/<databasetype>-initialize.sql Also read UPGRADING. -- Reini Urban http://phpwiki.org/ http://helsinki.at/ http://spacemovie.mur.at/ |