[PropelException]
Unable to execute INSERT statement. [wrapped: Could not execute update [Native Error: Duplicate entry '287197' for key 'PRIMARY'] [User Info: INSERT INTO access_log_mst (ENTRY_ID,HIT,REGIST_DATE) VALUES (3077,1,'2012-02-23')]]
stack trace
- at ()
in SF_SYMFONY_LIB_DIR/vendor/propel/util/BasePeer.php line 308 ...
- } catch (Exception $e) {
- Propel::log($e->getMessage(), Propel::LOG_ERR);
- throw new PropelException("Unable to execute INSERT statement.", $e);
- }
- // If the primary key column is auto-incremented, get the id
- at BasePeer::doInsert(object('Criteria'), object('MySQLConnection'))
in SF_ROOT_DIR/lib/model/om/BaseAccessLogMstPeer.php line 224 ...
- try {
- $con->begin();
- $pk = BasePeer::doInsert($criteria, $con);
- $con->commit();
- } catch(PropelException $e) {
- $con->rollback();
- at BaseAccessLogMstPeer::doInsert(object('AccessLogMst'), object('MySQLConnection'))
in SF_ROOT_DIR/lib/model/om/BaseAccessLogMst.php line 224 ...
- if ($this->isModified()) {
- if ($this->isNew()) {
- $pk = AccessLogMstPeer::doInsert($this, $con);
- $affectedRows += 1;
- $this->setLogId($pk);
- $this->setNew(false);
- at BaseAccessLogMst->doSave(object('MySQLConnection'))
in SF_ROOT_DIR/lib/model/om/BaseAccessLogMst.php line 206 ...
- try {
- $con->begin();
- $affectedRows = $this->doSave($con);
- $con->commit();
- return $affectedRows;
- } catch (PropelException $e) {
- at BaseAccessLogMst->save()
in SF_ROOT_DIR/lib/model/AccessLogMstPeer.php line 36 ...
- $log_mst->setHit(1);
- }
- $log_mst->setRegistDate(date("Ymd"));
- $log_mst->save();
- }
-
- public static function getHitByNow($person_id){
- at AccessLogMstPeer::addEntry('3077')
in SF_ROOT_DIR/lib/model/RemoteMstPeer.php line 40 ...
-
- public static function checkByEntryId($entry_id,$add){
- if(is_null(self::existAddressByEntryId($entry_id,$add))){
- AccessLogMstPeer::addEntry($entry_id);
- $remote_mst = new RemoteMst();
- $remote_mst->setEntryId($entry_id);
- $remote_mst->setAddress($add);
- at RemoteMstPeer::checkByEntryId('3077', '38.107.179.214')
in SF_ROOT_DIR/apps/frontend/modules/equip/actions/actions.class.php line 42 ...
- echo "そんな機材はないでゲス";
- exit;
- }
- RemoteMstPeer::checkByEntryId($equip->getEntryId(),$_SERVER['REMOTE_ADDR']);
- $pcRelations = PersonCategoryRelationPeer::getByPersonId($equip->getAuthor());
- $relation_array = "";
- $hasPlayerHtml = array();
- at equipActions->executeShow()
in SF_SYMFONY_LIB_DIR/action/sfActions.class.php line 53 ...
- }
- // run action
- $ret = $this->$actionToRun();
- return $ret;
- }
- at sfActions->execute()
in SF_SYMFONY_LIB_DIR/filter/sfExecutionFilter.class.php line 115 ...
- // execute the action
- $actionInstance->preExecute();
- $viewName = $actionInstance->execute();
- if ($viewName == '')
- {
- $viewName = sfView::SUCCESS;
- at sfExecutionFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/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');
- at sfFlashFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfCommonFilter.class.php line 29 ...
- public function execute($filterChain)
- {
- // execute next filter
- $filterChain->execute();
- // execute this filter only once
- $response = $this->getContext()->getResponse();
- at sfCommonFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/filter/sfRenderingFilter.class.php line 33 ...
- public function execute($filterChain)
- {
- // execute next filter
- $filterChain->execute();
- if (sfConfig::get('sf_logging_enabled'))
- {
- at sfRenderingFilter->execute(object('sfFilterChain'))
in SF_SYMFONY_LIB_DIR/filter/sfFilterChain.class.php line 43 ...
- }
- // execute the next filter
- $this->chain[$this->index]->execute($this);
- }
- }
- at sfFilterChain->execute()
in SF_SYMFONY_LIB_DIR/controller/sfController.class.php line 276 ...
- }
- // process the filter chain
- $filterChain->execute();
- }
- else
- {
- at sfController->forward('equip', 'show')
in SF_SYMFONY_LIB_DIR/controller/sfFrontWebController.class.php line 48 ...
- $actionName = $request->getParameter('action');
- // make the first request
- $this->forward($moduleName, $actionName);
- }
- catch (sfException $e)
- {
- at sfFrontWebController->dispatch()
in /virtual/h13e33/public_html/kizai.net/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();
-
- sfConfig::add(array(
- 'sf_web_dir_name' => $sf_web_dir_name = 'kizai',
symfony settings ...
---
CHART_DIR_SAVE: >
/virtual/h13e33/public_html/kizai.net/chart
DATE: Y.m.d
DEF_TOP_URL: http://kizai.net/
IMAGEUTILS_DIR_SAVE: >
/virtual/h13e33/public_html/kizai.net/image
IMAGEUTILS_URL_SAVE: http://kizai.net/image
ITUNES_LIBRARY_ID_PC: 151F476EB23A83DA
UPDATE_DATE: m/d h:i
app_imageutils_dir_save: C:\workspace\kizai\web\image
app_imageutils_url_save: image
mod_equip_enabled: 1
mod_equip_is_internal:
mod_equip_view_class: sfPHP
sf_admin_web_dir: /sf/sf_admin
sf_app: frontend
sf_app_config_dir: >
/virtual/h13e33/kizai/apps/frontend/config
sf_app_config_dir_name: config
sf_app_dir: /virtual/h13e33/kizai/apps/frontend
sf_app_i18n_dir: /virtual/h13e33/kizai/apps/frontend/i18n
sf_app_i18n_dir_name: i18n
sf_app_lib_dir: /virtual/h13e33/kizai/apps/frontend/lib
sf_app_lib_dir_name: lib
sf_app_module_action_dir_name: actions
sf_app_module_config_dir_name: config
sf_app_module_dir: >
/virtual/h13e33/kizai/apps/frontend/modules
sf_app_module_dir_name: modules
sf_app_module_i18n_dir_name: i18n
sf_app_module_lib_dir_name: lib
sf_app_module_template_dir_name: templates
sf_app_module_validate_dir_name: validate
sf_app_module_view_dir_name: views
sf_app_template_dir: >
/virtual/h13e33/kizai/apps/frontend/templates
sf_app_template_dir_name: templates
sf_apps_dir_name: apps
sf_autoloading_functions:
sf_available: 1
sf_base_cache_dir: /virtual/h13e33/kizai/cache/frontend
sf_bin_dir: /virtual/h13e33/kizai/batch
sf_bin_dir_name: batch
sf_cache:
sf_cache_dir: >
/virtual/h13e33/kizai/cache/frontend/prod
sf_cache_dir_name: cache
sf_calendar_web_dir: /sf/calendar
sf_charset: utf-8
sf_check_lock:
sf_check_symfony_version:
sf_compressed:
sf_config_cache_dir: >
/virtual/h13e33/kizai/cache/frontend/prod/config
sf_config_dir: /virtual/h13e33/kizai/config
sf_config_dir_name: config
sf_data_dir: /virtual/h13e33/kizai/data
sf_data_dir_name: data
sf_debug: 1
sf_default_action: index
sf_default_module: default
sf_doc_dir: /virtual/h13e33/kizai/data/doc
sf_doc_dir_name: doc
sf_enabled_modules:
- default
sf_environment: prod
sf_error_404_action: error404
sf_error_404_module: default
sf_error_reporting: 341
sf_escaping_method: ESC_ENTITIES
sf_escaping_strategy: bc
sf_etag: 1
sf_i18n:
sf_i18n_cache_dir: >
/virtual/h13e33/kizai/cache/frontend/prod/i18n
sf_lib_dir: /virtual/h13e33/kizai/lib
sf_lib_dir_name: lib
sf_log_dir: /virtual/h13e33/kizai/log
sf_log_dir_name: log
sf_logging_enabled:
sf_logging_history: 10
sf_logging_level: err
sf_logging_period: 7
sf_logging_purge:
sf_logging_rotate: 1
sf_login_action: login
sf_login_module: default
sf_max_forwards: 5
sf_model_dir_name: model
sf_model_lib_dir: /virtual/h13e33/kizai/lib/model
sf_module_cache_dir: >
/virtual/h13e33/kizai/cache/frontend/prod/modules
sf_module_disabled_action: disabled
sf_module_disabled_module: default
sf_no_script_name: 1
sf_orm: propel
sf_path_info_array: SERVER
sf_path_info_key: PATH_INFO
sf_plugins_dir: /virtual/h13e33/kizai/plugins
sf_plugins_dir_name: plugins
sf_prototype_web_dir: /sf/prototype
sf_rich_text_js_dir: js/tiny_mce
sf_root_cache_dir: /virtual/h13e33/kizai/cache
sf_root_dir: /virtual/h13e33/kizai
sf_routing_defaults:
sf_culture: en
sf_secure_action: secure
sf_secure_module: default
sf_standard_helpers:
- Partial
- Cache
- Form
sf_strip_comments: 1
sf_suffix: .
sf_symfony_data_dir: /usr/local/lib/php/data/symfony
sf_symfony_lib_dir: /usr/local/lib/php/symfony
sf_template_cache_dir: >
/virtual/h13e33/kizai/cache/frontend/prod/template
sf_test:
sf_test_cache_dir: >
/virtual/h13e33/kizai/cache/frontend/prod/test
sf_test_dir: /virtual/h13e33/kizai/test
sf_test_dir_name: test
sf_timeout: 604800
sf_timer_start: 1329976853.9593
sf_unavailable_action: unavailable
sf_unavailable_module: default
sf_upload_dir: /virtual/h13e33/kizai/web/uploads
sf_upload_dir_name: uploads
sf_url_format: PATH
sf_use_database: 1
sf_use_flash: 1
sf_use_process_cache: 1
sf_use_security: 1
sf_validation_error_class: form_error
sf_validation_error_id_prefix: error_for_
sf_validation_error_prefix: ↓
sf_validation_error_suffix: ↓
sf_web_debug:
sf_web_debug_web_dir: /sf/sf_web_debug
sf_web_dir: /virtual/h13e33/kizai/web
sf_web_dir_name: web
request ...
---
parameterHolder:
symfony/default:
action: show
e: 3077
module: equip
attributeHolder:
symfony/default:
response ...
---
cookies:
httpHeaders:
parameterHolder:
helper/asset/auto/meta:
content-language: ja
copyright: kizai.net
description: >
ニコニコ動画に投稿している奏者達の機材をまとめたサイトです
keywords: >
演奏してみた,機材,ニコニコ,楽器
language: Japanese
title: >
ニコニコ奏者機材まとめサイト
global vars ...
---
cookie:
symfony: e3b83ab4459547a95a71f1831a93e467
env:
DOCUMENT_ROOT: /virtual/h13e33/public_html/kizai.net
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: >
text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
HTTP_CACHE_CONTROL: no-cache
HTTP_CONNECTION: close
HTTP_COOKIE: symfony=e3b83ab4459547a95a71f1831a93e467
HTTP_HOST: kizai.net
HTTP_PRAGMA: no-cache
HTTP_USER_AGENT: >
CCBot/1.0
(+http://www.commoncrawl.org/bot.html)
HTTP_X_CC_ID: ccc01-02
PATH: >
/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
QUERY_STRING:
REDIRECT_STATUS: 200
REDIRECT_URL: /e/3077
REMOTE_ADDR: 38.107.179.214
REMOTE_PORT: 55318
REQUEST_METHOD: GET
REQUEST_URI: /e/3077
SCRIPT_FILENAME: >
/virtual/h13e33/public_html/kizai.net/index.php
SCRIPT_NAME: /index.php
SERVER_ADDR: 202.172.25.3
SERVER_ADMIN: admin@coreserver.jp
SERVER_NAME: kizai.net
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE:
SERVER_SOFTWARE: Apache
files:
get:
post:
server:
DOCUMENT_ROOT: /virtual/h13e33/public_html/kizai.net
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT: >
text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CHARSET: ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING: gzip
HTTP_ACCEPT_LANGUAGE: en-us,en;q=0.5
HTTP_CACHE_CONTROL: no-cache
HTTP_CONNECTION: close
HTTP_COOKIE: symfony=e3b83ab4459547a95a71f1831a93e467
HTTP_HOST: kizai.net
HTTP_PRAGMA: no-cache
HTTP_USER_AGENT: >
CCBot/1.0
(+http://www.commoncrawl.org/bot.html)
HTTP_X_CC_ID: ccc01-02
PATH: >
/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
PHP_SELF: /index.php
QUERY_STRING:
REDIRECT_STATUS: 200
REDIRECT_URL: /e/3077
REMOTE_ADDR: 38.107.179.214
REMOTE_PORT: 55318
REQUEST_METHOD: GET
REQUEST_TIME: 1329976853
REQUEST_URI: /e/3077
SCRIPT_FILENAME: >
/virtual/h13e33/public_html/kizai.net/index.php
SCRIPT_NAME: /index.php
SERVER_ADDR: 202.172.25.3
SERVER_ADMIN: admin@coreserver.jp
SERVER_NAME: kizai.net
SERVER_PORT: 80
SERVER_PROTOCOL: HTTP/1.1
SERVER_SIGNATURE:
SERVER_SOFTWARE: Apache
argc: 0
argv:
session:
symfony/user/sfUser/attributes:
symfony/user/sfUser/authenticated:
symfony/user/sfUser/credentials:
symfony/user/sfUser/culture: en
symfony/user/sfUser/lastRequest: 1329976823