Warning: Creating default object from empty value in /library/Koli/Controller/Ignition.php on line 150

error!

SQLSTATE[HY000] [1045] Access denied for user 'zaproszenia_itd5'@'localhost' (using password: YES)

trace:

1 plik /library/Zend/Db/Adapter/Pdo/Abstract.php w linijce 144 :
138: ...
139:         } catch (PDOException $e) {
140:             /**
141:              * @see Zend_Db_Adapter_Exception
142:              */
143:             require_once 'Zend/Db/Adapter/Exception.php';
144: throw new Zend_Db_Adapter_Exception($e->getMessage(), $e->getCode(), $e);
145: } 146: 147: } 148: 149: /** 150: ...


2 plik /library/Zend/Db/Adapter/Pdo/Mysql.php w linijce 96 :
90: ...
91:         if (!empty($this->_config['charset'])) {
92:             $initCommand = "SET NAMES '" . $this->_config['charset'] . "'";
93:             $this->_config['driver_options'][1002] = $initCommand; // 1002 = PDO::MYSQL_ATTR_INIT_COMMAND
94:         }
95: 
96: parent::_connect();
97: } 98: 99: /** 100: * @return string 101: */ 102: ...


3 plik /library/Zend/Db/Adapter/Abstract.php w linijce 459 :
453: ...
454:      * @return Zend_Db_Statement_Interface
455:      */
456:     public function query($sql, $bind = array())
457:     {
458:         // connect to the database if needed
459: $this->_connect();
460: 461: // is the $sql a Zend_Db_Select object? 462: if ($sql instanceof Zend_Db_Select) { 463: if (empty($bind)) { 464: $bind = $sql->getBind(); 465: ...


4 plik /library/Zend/Db/Adapter/Pdo/Abstract.php w linijce 238 :
232: ...
233:                 }
234:             }
235:         }
236: 
237:         try {
238: return parent::query($sql, $bind);
239: } catch (PDOException $e) { 240: /** 241: * @see Zend_Db_Statement_Exception 242: */ 243: require_once 'Zend/Db/Statement/Exception.php'; 244: ...


5 plik /library/Zend/Db/Adapter/Pdo/Mysql.php w linijce 156 :
150: ...
151:         if ($schemaName) {
152:             $sql = 'DESCRIBE ' . $this->quoteIdentifier("$schemaName.$tableName", true);
153:         } else {
154:             $sql = 'DESCRIBE ' . $this->quoteIdentifier($tableName, true);
155:         }
156: $stmt = $this->query($sql);
157: 158: // Use FETCH_NUM so we are not dependent on the CASE attribute of the PDO connection 159: $result = $stmt->fetchAll(Zend_Db::FETCH_NUM); 160: 161: $field = 0; 162: ...


6 plik /library/Zend/Db/Table/Abstract.php w linijce 834 :
828: ...
829:         // If $this has no metadata cache or metadata cache misses
830:         if (null === $this->_metadataCache || !($metadata = $this->_metadataCache->load($cacheId))) {
831:             // Metadata are not loaded from cache
832:             $isMetadataFromCache = false;
833:             // Fetch metadata from the adapter's describeTable() method
834: $metadata = $this->_db->describeTable($this->_name, $this->_schema);
835: // If $this has a metadata cache, then cache the metadata 836: if (null !== $this->_metadataCache && !$this->_metadataCache->save($metadata, $cacheId)) { 837: trigger_error('Failed saving metadata to metadataCache', E_USER_NOTICE); 838: } 839: } 840: ...


7 plik /library/Zend/Db/Table/Abstract.php w linijce 856 :
850: ...
851:      * @return array
852:      */
853:     protected function _getCols()
854:     {
855:         if (null === $this->_cols) {
856: $this->_setupMetadata();
857: $this->_cols = array_keys($this->_metadata); 858: } 859: return $this->_cols; 860: } 861: 862: ...


8 plik /library/Zend/Db/Table/Abstract.php w linijce 896 :
890: ...
891:         } else if (isset($this->_primary[0])) {
892:             array_unshift($this->_primary, null);
893:             unset($this->_primary[0]);
894:         }
895: 
896: $cols = $this->_getCols();
897: if (! array_intersect((array) $this->_primary, $cols) == (array) $this->_primary) { 898: require_once 'Zend/Db/Table/Exception.php'; 899: throw new Zend_Db_Table_Exception("Primary key column(s) (" 900: . implode(',', (array) $this->_primary) 901: . ") are not columns in this table (" 902: ...


9 plik /library/Zend/Db/Table/Abstract.php w linijce 980 :
974: ...
975:      * @param  string $key The specific info part to return OPTIONAL
976:      * @return mixed
977:      */
978:     public function info($key = null)
979:     {
980: $this->_setupPrimaryKey();
981: 982: $info = array( 983: self::SCHEMA => $this->_schema, 984: self::NAME => $this->_name, 985: self::COLS => $this->_getCols(), 986: ...


10 plik /library/Zend/Db/Table/Select.php w linijce 100 :
94: ...
95:      * @return Zend_Db_Select This Zend_Db_Select object.
96:      */
97:     public function setTable(Zend_Db_Table_Abstract $table)
98:     {
99:         $this->_adapter = $table->getAdapter();
100: $this->_info = $table->info();
101: $this->_table = $table; 102: 103: return $this; 104: } 105: 106: ...


11 plik /library/Zend/Db/Table/Select.php w linijce 78 :
72: ...
73:      */
74:     public function __construct(Zend_Db_Table_Abstract $table)
75:     {
76:         parent::__construct($table->getAdapter());
77: 
78: $this->setTable($table);
79: } 80: 81: /** 82: * Return the table that created this select object 83: * 84: ...


12 plik /library/Zend/Db/Table/Abstract.php w linijce 1016 :
1010: ...
1011:      * @return Zend_Db_Table_Select
1012:      */
1013:     public function select($withFromPart = self::SELECT_WITHOUT_FROM_PART)
1014:     {
1015:         require_once 'Zend/Db/Table/Select.php';
1016: $select = new Zend_Db_Table_Select($this);
1017: if ($withFromPart == self::SELECT_WITH_FROM_PART) { 1018: $select->from($this->info(self::NAME), Zend_Db_Table_Select::SQL_WILDCARD, $this->info(self::SCHEMA)); 1019: } 1020: return $select; 1021: } 1022: ...


13 plik /library/Koli/Model/Catalogs.php w linijce 481 :
475: ...
476:         }
477:         return $menuCatalogs;
478:     }
479: 
480:     public function getCatalogByLinkName($link_name){
481: $select = $this->select()
482: ->from($this, array("id", "title", "link_name", "width", "height") ) 483: ->where("link_name = ?", $link_name); 484: return $this->fetchRow($select)->toArray(); 485: } 486: 487: ...


14 plik /application/modules/default/controllers/IndexController.php w linijce 24 :
18: ...
19:     $fileName = $this->_request->getParam("catalogname", false );
20:     $catalogModel = new Catalogs();
21:     if($fileName==false){
22:         $catalog = $catalogModel->getFirstCatalog();
23:     }else{
24: $catalog = $catalogModel->getCatalogByLinkName($fileName);
25: } 26: $fileName = $catalogModel->getCatalogFileName($catalog); 27: if($fileName == FALSE){ 28: $this->view->setContent("catalognotexists"); 29: $catalog = $catalogModel->getFirstCatalog(); 30: ...


15 plik /library/Zend/Controller/Action.php w linijce 513 :
507: ...
508:             // preDispatch() didn't change the action, so we can continue
509:             if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
510:                 if ($this->getInvokeArg('useCaseSensitiveActions')) {
511:                     trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
512:                 }
513: $this->$action();
514: } else { 515: $this->__call($action, array()); 516: } 517: $this->postDispatch(); 518: } 519: ...


16 plik /library/Zend/Controller/Dispatcher/Standard.php w linijce 295 :
289: ...
290:         if (empty($disableOb)) {
291:             ob_start();
292:         }
293: 
294:         try {
295: $controller->dispatch($action);
296: } catch (Exception $e) { 297: // Clean output buffer on error 298: $curObLevel = ob_get_level(); 299: if ($curObLevel > $obLevel) { 300: do { 301: ...


17 plik /library/Zend/Controller/Front.php w linijce 954 :
948: ...
949: 
950:                 /**
951:                  * Dispatch request
952:                  */
953:                 try {
954: $dispatcher->dispatch($this->_request, $this->_response);
955: } catch (Exception $e) { 956: if ($this->throwExceptions()) { 957: throw $e; 958: } 959: $this->_response->setException($e); 960: ...


18 plik /html/index.php w linijce 79 :
73: ...
74: 
75: function __($str){
76:     return $str;
77: }
78: 
79: $front->dispatch();