These pages are written by only Japanese.
|
Namazu for hns による簡易全文検索です。 詳細は 詳細指定/ヘルプをご参照下さい。 |
||||||||||||||||||||||||||||||||||||||||||||||
<br /> <b>Fatal error</b>: Cannot use object of type stdClass as array in <b>/var/www/sites/rhythm.kayac.com/lib/classes/MyTwitterOAuth.php</b> on line <b>19</b><br />えーっと…
[PropelException] [wrapped: connect failed [Native Error: Too many connections] [User Info: Array]] stack trace 1.at () in SF_ROOT_DIR/vendor/pear/php/symfony/vendor/propel/Propel.php line 489 ... 486. try { 487. $con = Creole::getConnection($dsn); 1. } catch (SQLException $e) { 1. throw new PropelException($e); 1. } 2. self::$connectionMap[$name] = $con; 1. }1.at Propel::getConnection('propel')in SF_ROOT_DIR/lib/model/om/BaseDataPeer.php line 197 ... public static function doSelectRS(Criteria $criteria, $con = null) { if ($con === null) { $con = Propel::getConnection(self::DATABASE_NAME); } if (!$criteria->getSelectColumns()) {1.at BaseDataPeer::doSelectRS(object('Criteria'))in SF_ROOT_DIR/lib/model/DataPeer.php line 125 ... $criteria->setLimit($limit); $criteria->setOffset($from); $resultSet = self::doSelectRS($criteria); $ranking = array(); while($resultSet->next()) {1.at DataPeer::getRanking('', '0', '10')in SF_ROOT_DIR/apps/frontend/modules/top/actions/actions.class.php line 35 ... // // テンプレート // $positiveRanking = DataPeer::getRanking(DataPeer::RANKING_GOOD, 0, sfConfig::get('app_top_limit')); $negativeRanking = DataPeer::getRanking(DataPeer::RANKING_BAD, 0, sfConfig::get('app_top_limit')); $this->oauthUrl = $twitterOAuth->getAuthorizeURL($token['oauth_token']); // 認証用URL1.at topActions->executeIndex()in SF_ROOT_DIR/vendor/pear/php/symfony/action/sfActions.class.php line 53 ... } // run action $ret = $this->$actionToRun(); return $ret; }1.at sfActions->execute()in SF_ROOT_DIR/vendor/pear/php/symfony/filter/sfExecutionFilter.class.php line 129 ... // execute the action $actionInstance->preExecute(); $viewName = $actionInstance->execute(); if ($viewName == '') { $viewName = sfView::SUCCESS;1.at sfExecutionFilter->execute(object('sfFilterChain'))in SF_ROOT_DIR/vendor/pear/php/symfony/filter/sfFilterChain.class.php line 43 ... } // execute the next filter $this->chain[$this->index]->execute($this); } } 1.at sfFilterChain->execute()in SF_ROOT_DIR/vendor/pear/php/symfony/filter/sfFlashFilter.class.php line 50 ... } // execute next filter $filterChain->execute(); // remove flash that are tagged to be removed $names = $userAttributeHolder->getNames('symfony/flash/remove');1.at sfFlashFilter->execute(object('sfFilterChain'))in SF_ROOT_DIR/vendor/pear/php/symfony/filter/sfFilterChain.class.php line 43 ... } // execute the next filter $this->chain[$this->index]->execute($this); } } 1.at sfFilterChain->execute()in SF_ROOT_DIR/vendor/pear/php/symfony/filter/sfCommonFilter.class.php line 29 ... public function execute($filterChain) { // execute next filter $filterChain->execute(); // execute this filter only once $response = $this->getContext()->getResponse();1.at sfCommonFilter->execute(object('sfFilterChain'))in SF_ROOT_DIR/vendor/pear/php/symfony/filter/sfFilterChain.class.php line 43 ... } // execute the next filter $this->chain[$this->index]->execute($this); } } 1.at sfFilterChain->execute()in SF_ROOT_DIR/vendor/pear/php/symfony/filter/sfRenderingFilter.class.php line 33 ... public function execute($filterChain) { // execute next filter $filterChain->execute(); if (sfConfig::get('sf_logging_enabled')) {1.at sfRenderingFilter->execute(object('sfFilterChain'))in SF_ROOT_DIR/vendor/pear/php/symfony/filter/sfFilterChain.class.php line 43 ... } // execute the next filter $this->chain[$this->index]->execute($this); } } 1.at sfFilterChain->execute()in SF_ROOT_DIR/vendor/pear/php/symfony/controller/sfController.class.php line 283 ... } // process the filter chain $filterChain->execute(); } else {1.at sfController->forward('top', 'index')in SF_ROOT_DIR/vendor/pear/php/symfony/controller/sfFrontWebController.class.php line 48 ... $actionName = $request->getParameter('action'); // make the first request $this->forward($moduleName, $actionName); } catch (sfException $e) {1.at sfFrontWebController->dispatch()in SF_ROOT_DIR/web/index.php line 10 ... require_once(SF_ROOT_DIR.DIRECTORY_SEPARATOR.'apps'.DIRECTORY_SEPARATOR.SF_APP.DIRECTORY_SEPARATOR.'config'.DIRECTORY_SEPARATOR.'config.php'); sfContext::getInstance()->getController()->dispatch(); symfony settings ... --- app_api_count: 200 app_batch_interval: 2 app_batch_reply: message <略>… debug mode (もしくは error display なんちゃら)は 本番サーバではやめた方がよいと思うんだ。うん。