- Posts: 4
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Strict Standards: Only variables should be passed by reference in /opt/limesurveytst/framework/i18n/gettext/CGettextMoFile.php on line 76 Strict Standards: Only variables should be passed by reference in /opt/limesurveytst/framework/i18n/gettext/CGettextMoFile.php on line 234 Strict Standards: Only variables should be passed by reference in /opt/limesurveytst/framework/i18n/gettext/CGettextMoFile.php
PHP warning
Cannot modify header information - headers already sent by (output started at /opt/limesurveytst/framework/i18n/gettext/CGettextMoFile.php:234)
/opt/limesurveytst/application/core/Survey_Common_Action.php(241)
229 if (!empty($sAction))
230 {
231 $sViewPath .= $sAction . '/';
232 }
233
234
235
236 // Header
237 ob_start();
238 if(!isset($aData) || $aData !== false)
239 {
240 // Send HTTP header
241 header("Content-type: text/html; charset=UTF-8"); // needed for correct UTF-8 encoding
242 Yii::app()->getController()->_getAdminHeader();
243 }
244
245
246 // Menu bars
247 if (!isset($aData) || ($aData !== false && (!is_array($aData) || !in_array('browse', array_keys($aData)))))
248 {
249 if(!isset($aData))
250 {
251 $this->_updatenotification();
252 Yii::app()->getController()->_showadminmenu(!empty($aData) ? $aData : null);
253 }
Stack Trace
#0
–
/opt/limesurveytst/application/core/Survey_Common_Action.php(241): header("Content-type: text/html; charset=UTF-8")
236 // Header
237 ob_start();
238 if(!isset($aData) || $aData !== false)
239 {
240 // Send HTTP header
241 header("Content-type: text/html; charset=UTF-8"); // needed for correct UTF-8 encoding
242 Yii::app()->getController()->_getAdminHeader();
243 }
244
245
246 // Menu bars
#1
–
/opt/limesurveytst/application/controllers/admin/update.php(415): Survey_Common_Action->_renderWrappedTemplate("update", array("output" => "<div class="messagebox"><div class='header'>Database upgrade</di..."), array("display" => array("header" => true), "updatedbaction" => true))
410 $aViewUrls = CheckForDBUpgrades();
411 }
412
413 $aData = true;
414
415 $this->_renderWrappedTemplate('update', $aViewUrls, $aData);
416 }
417
418 /**
419 * For updates from the old updater.
420 */
#2
unknown(0): update->db(null)
#3
+
/opt/limesurveytst/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(update, array(null))
#4
–
/opt/limesurveytst/application/core/Survey_Common_Action.php(99): CAction->runWithParamsInternal(update, ReflectionMethod, array("sa" => "db"))
094 $oMethod = new ReflectionMethod($this, $sDefault);
095 }
096
097 // We're all good to go, let's execute it
098 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
099 return parent::runWithParamsInternal($this, $oMethod, $params);
100 }
101
102 /**
103 * Some functions have different parameters, which are just an alias of the
104 * usual parameters we're getting in the url. This function just populates
#5
+
/opt/limesurveytst/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("sa" => "db"))
#6
+
/opt/limesurveytst/framework/web/CController.php(286): CController->runAction(update)
#7
+
/opt/limesurveytst/framework/web/CController.php(265): CController->runActionWithFilters(update, array())
#8
+
/opt/limesurveytst/application/controllers/AdminController.php(164): CController->run("update")
#9
+
/opt/limesurveytst/framework/web/CWebApplication.php(282): AdminController->run("update")
#10
+
/opt/limesurveytst/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/update/sa/db")
#11
+
/opt/limesurveytst/framework/base/CApplication.php(184): CWebApplication->processRequest()
#12
+
/opt/limesurveytst/index.php(211): CApplication->run()
2015-08-18 16:30:56 Apache Yii Framework/1.1.15
Profiling Summary Report (Time: 0.24682s, Memory: 17,543KB)
Procedure Count Total (s) Avg. (s) Min. (s) Max. (s)
system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey FROM ( SELECT conname, CASE WHEN contype='f' THEN pg_catalog.pg_get_constraintdef(oid) ELSE 'CHECK (' || consrc || ')' END AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid=pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p') ) ) AS sub WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema)). Bound with :table='lime_settings_global', :schema='public') 1 0.00783 0.00783 0.00783 0.00783
system.db.CDbCommand.query(SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment 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. Bound with :table='lime_settings_global', :schema='public') 1 0.00701 0.00701 0.00701 0.00701
system.db.CDbCommand.query(SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment 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. Bound with :table='lime_surveys', :schema='public') 1 0.00343 0.00343 0.00343 0.00343
system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey FROM ( SELECT conname, CASE WHEN contype='f' THEN pg_catalog.pg_get_constraintdef(oid) ELSE 'CHECK (' || consrc || ')' END AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid=pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p') ) ) AS sub WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema)). Bound with :table='lime_surveys', :schema='public') 1 0.00198 0.00198 0.00198 0.00198
system.db.CDbCommand.query(SELECT conname, consrc, contype, indkey FROM ( SELECT conname, CASE WHEN contype='f' THEN pg_catalog.pg_get_constraintdef(oid) ELSE 'CHECK (' || consrc || ')' END AS consrc, contype, conrelid AS relid, NULL AS indkey FROM pg_catalog.pg_constraint WHERE contype IN ('f', 'c') UNION ALL SELECT pc.relname, NULL, CASE WHEN indisprimary THEN 'p' ELSE 'u' END, pi.indrelid, indkey FROM pg_catalog.pg_class pc, pg_catalog.pg_index pi WHERE pc.oid=pi.indexrelid AND EXISTS ( SELECT 1 FROM pg_catalog.pg_depend d JOIN pg_catalog.pg_constraint c ON (d.refclassid = c.tableoid AND d.refobjid = c.oid) WHERE d.classid = pc.tableoid AND d.objid = pc.oid AND d.deptype = 'i' AND c.contype IN ('u', 'p') ) ) AS sub WHERE relid = (SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace = (SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema)). Bound with :table='lime_plugins', :schema='public') 1 0.00183 0.00183 0.00183 0.00183
system.db.CDbCommand.query(SELECT a.attname, LOWER(format_type(a.atttypid, a.atttypmod)) AS type, d.adsrc, a.attnotnull, a.atthasdef, pg_catalog.col_description(a.attrelid, a.attnum) AS comment 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. Bound with :table='lime_plugins', :schema='public') 1 0.00135 0.00135 0.00135 0.00135
system.db.CDbCommand.query(SELECT * FROM "lime_settings_global" "t") 1 0.00065 0.00065 0.00065 0.00065
system.db.CDbCommand.query(SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE attrelid=( SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace=( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema ) ) AND attnum IN (1). Bound with :table='lime_settings_global', :schema='public') 1 0.00057 0.00057 0.00057 0.00057
system.db.CDbCommand.query(SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE attrelid=( SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace=( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema ) ) AND attnum IN (1). Bound with :table='lime_surveys', :schema='public') 1 0.00038 0.00038 0.00038 0.00038
system.db.CDbCommand.query(SELECT attnum, attname FROM pg_catalog.pg_attribute WHERE attrelid=( SELECT oid FROM pg_catalog.pg_class WHERE relname=:table AND relnamespace=( SELECT oid FROM pg_catalog.pg_namespace WHERE nspname=:schema ) ) AND attnum IN (1). Bound with :table='lime_plugins', :schema='public')