Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#18 Nonfatal errors when loading pages during install

Database
closed
Postgresql (18)
4
2012-10-11
2001-02-01
Steve Wainstead
No

When doing an install with Postgresql, the first four pages loaded generate errors as PhpWiki tries to update the wikiscores table. The output is appended below. From the command line I get the same error when the database is empty. The sql INSERT statement was copied right out of the mysql.php file. However the Wiki is loaded correctly and appears to test out OK.

Inserting page AddingPages, version 1 from text file

Warning: PostgresSQL query failed: ERROR: ExecAppend: Fail to add null value in not null attribute pagename in lib/pgsql.php on line 417
Inserting page ConvertSpacesToTabs, version 1 from text file

Warning: PostgresSQL query failed: ERROR: ExecAppend: Fail to add null value in not null attribute pagename in lib/pgsql.php on line 417
Inserting page EditText, version 1 from text file

Warning: PostgresSQL query failed: ERROR: ExecAppend: Fail to add null value in not null attribute pagename in lib/pgsql.php on line 417
Inserting page FindPage, version 1 from text file

Warning: PostgresSQL query failed: ERROR: ExecAppend: Fail to add null value in not null attribute pagename in lib/pgsql.php on line 417
Inserting page FrontPage, version 1 from text file
Inserting page GoodStyle, version 1 from text file
Inserting page HowToUseWiki, version 1 from text file
Inserting page MoreAboutMechanics, version 1 from text file
Inserting page MostPopular, version 1 from text file
Inserting page PhpWiki, version 1 from text file
Inserting page PhpWikiAdministration, version 1 from text file
Inserting page RecentChanges, version 1 from text file
Inserting page RecentVisitors, version 1 from text file
Inserting page ReleaseNotes, version 1 from text file
Inserting page SandBox, version 1 from text file
Inserting page SteveWainstead, version 1 from text file
Inserting page TestPage, version 1 from text file
Inserting page TextFormattingRules, version 1 from text file
Inserting page WabiSabi, version 1 from text file
Inserting page WikiWikiWeb, version 1 from text file

Discussion