Ticket #228 (new defect)

Opened 6 months ago

Last modified 6 months ago

Create new database doesn't produce complete db

Reported by: flack Assigned to: piotras
Priority: major Milestone:
Component: Midgard Data Version:
Keywords: Cc:

Description

When you create a new database in datagard and try to log into sitewizard for the first time, you get the following error:

( ! ) Warning: (pid:16377): QUERY FAILED: Unknown column 'guid' in 'field list' in /usr/share/php/midcom/lib/midcom/services/auth/sessionmgr.php on line 116
Call Stack
#	Time	Memory	Function	Location
1	0.0048	54108	{main}( )	../7-82-14-0.php:0
2	0.0067	60028	require( '/usr/share/php/midcom/lib/midcom.php' )	../7-82-14-0.php:51
3	0.0250	168996	midcom_services_auth->initialize( )	../midcom.php:126
4	0.0305	207784	midcom_services_auth->_check_for_new_login_session( )	../auth.php:497
5	0.0308	208160	midcom_services_auth_backend->create_login_session( )	../auth.php:527
6	0.0309	208288	midcom_services_auth_sessionmgr->create_login_session( )	../backend.php:103
7	0.0416	221864	midcom_core_login_session_db->create( )

After running datagard update, this disappears, but normally, if you create a new database, it should be ready to run, no normal user would think about running update when he sees an error like this, I guess

Change History

03/20/08 17:49:23 changed by flack

I just noticed that this only happens when you choose "No" for installing PEAR packages (which you generally only do once anyways). So the first create on a new host will succeed, all others will produce the above result.