Problem z pobraniem danych pogodowychCDbCommand nie zdołał wykonać instrukcji SQL: SQLSTATE[42703]: Undefined column: 7 ERROR: column d.adsrc does not exist LINE 1: ...ER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a... ^. The SQL statement executed was: SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull, a.atthasdef FROM pg_attribute a LEFT JOIN pg_attrdef d ON a.attrelid = d.adrelid AND a.attnum = d.adnum WHERE a.attnum > 0 AND NOT a.attisdropped AND a.attrelid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname = :schema)) ORDER BY a.attnum (/var/www/clients/client1/web422/web/yii/framework/db/CDbCommand.php:528) #0 /var/www/clients/client1/web422/web/yii/framework/db/CDbCommand.php(390): CDbCommand->queryInternal() #1 /var/www/clients/client1/web422/web/yii/framework/db/schema/pgsql/CPgsqlSchema.php(177): CDbCommand->queryAll() #2 /var/www/clients/client1/web422/web/yii/framework/db/schema/pgsql/CPgsqlSchema.php(110): CPgsqlSchema->findColumns() #3 /var/www/clients/client1/web422/web/yii/framework/db/schema/CDbSchema.php(104): CPgsqlSchema->loadTable() #4 /var/www/clients/client1/web422/web/yii/framework/db/ar/CActiveRecord.php(2263): CDbSchema->getTable() #5 /var/www/clients/client1/web422/web/yii/framework/db/ar/CActiveRecord.php(379): CActiveRecordMetaData->__construct() #6 /var/www/clients/client1/web422/web/protected/models/User.php(24): CActiveRecord::model() #7 /var/www/clients/client1/web422/web/protected/components/UserIdentity.php(22): User::model() #8 /var/www/clients/client1/web422/web/protected/controllers/WarunkiController.php(225): UserIdentity->authenticate() #9 [internal function]: WarunkiController->login() #10 /var/www/clients/client1/web422/web/yii/framework/web/services/CWebService.php(176): SoapServer->handle() #11 /var/www/clients/client1/web422/web/yii/framework/web/services/CWebServiceAction.php(104): CWebService->run() #12 /var/www/clients/client1/web422/web/yii/framework/web/actions/CAction.php(75): CWebServiceAction->run() #13 /var/www/clients/client1/web422/web/yii/framework/web/CController.php(309): CAction->runWithParams() #14 /var/www/clients/client1/web422/web/yii/framework/web/CController.php(287): CController->runAction() #15 /var/www/clients/client1/web422/web/yii/framework/web/CController.php(266): CController->runActionWithFilters() #16 /var/www/clients/client1/web422/web/yii/framework/web/CWebApplication.php(276): CController->run() #17 /var/www/clients/client1/web422/web/yii/framework/web/CWebApplication.php(135): CWebApplication->runController() #18 /var/www/clients/client1/web422/web/yii/framework/base/CApplication.php(162): CWebApplication->processRequest() #19 /var/www/clients/client1/web422/web/index.php(14): CApplication->run() #20 {main}