Another error I've seen is the wiki admin upgrade not working.  I believe that is due to me already having applied the schema changes by hand.  I don't know if it's possible to check for that, but here is the error messages anyway :-)
 
 
Thanks,
 
John Cole
 
 
 
 check for page.id auto_increment flag ...ADDING ...

lib\WikiDB\backend\PearDB.php:778: Fatal[256]: wikidb_backend_mysql: fatal database error

  • DB Error: already exists
  • (ALTER TABLE page CHANGE id id INT NOT NULL AUTO_INCREMENT [nativecode=1062 ** Duplicate entry '1380' for key 1])


Fatal PhpWiki Error

lib\WikiDB\backend\PearDB.php:778: Fatal[256]: wikidb_backend_mysql: fatal database error

  • DB Error: already exists
  • (ALTER TABLE page CHANGE id id INT NOT NULL AUTO_INCREMENT [nativecode=1062 ** Duplicate entry '1380' for key 1])

Warning: mysql_real_escape_string(): 32 is not a valid MySQL-Link resource in c:\php\PEAR\DB\mysql.php on line 650

Warning: mysql_real_escape_string(): 32 is not a valid MySQL-Link resource in c:\php\PEAR\DB\mysql.php on line 650

Warning: mysql_real_escape_string(): 32 is not a valid MySQL-Link resource in c:\php\PEAR\DB\mysql.php on line 650

Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in c:\php\PEAR\DB\mysql.php on line 179

Fatal error: wikidb_backend_mysql: fatal database error DB Error: no database selected (UPDATE session SET sess_data='', sess_date=1085772701, sess_ip='' WHERE sess_id='' [nativecode= ** ]) in C:\Program Files\Apache Group\Apache2\htdocs\phpwiki\lib\WikiDB\backend\PearDB.php on line 778

Warning: mysql_real_escape_string(): 32 is not a valid MySQL-Link resource in c:\php\PEAR\DB\mysql.php on line 650

Warning: mysql_real_escape_string(): 32 is not a valid MySQL-Link resource in c:\php\PEAR\DB\mysql.php on line 650

Warning: mysql_real_escape_string(): 32 is not a valid MySQL-Link resource in c:\php\PEAR\DB\mysql.php on line 650

Warning: mysql_close(): supplied argument is not a valid MySQL-Link resource in c:\php\PEAR\DB\mysql.php on line 179

Fatal error: wikidb_backend_mysql: fatal database error DB Error: no database selected (UPDATE session SET sess_data='', sess_date=1085772701, sess_ip='' WHERE sess_id='' [nativecode= ** ]) in C:\Program Files\Apache Group\Apache2\htdocs\phpwiki\lib\WikiDB\backend\PearDB.php on line 778

Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0