Ticket #2322 (closed バグ指摘: 修正済)

Opened 7 years ago

Last modified 7 years ago


Reported by: Seasoft Owned by: Seasoft
Priority: Milestone: EC-CUBE2.13.0
Component: その他 Version: 2.12.5
Keywords: Cc:
修正済み: yes

Description (last modified by Seasoft) (diff)


Fatal error(E_USER_ERROR): DB処理でエラーが発生しました。
SQL: [DELETE FROM "dtb_session" WHERE update_date < '2013-08-02 10:45:22' ]
MDB2 Error: unknown error
prepare: [Error message: Unable to create prepared statement handle]
[Last executed query: DEALLOCATE PREPARE mdb2_statement_pgsql_1eac5fdae3a9287c4f7cb5d1d804ba37381ae6ba3]
[Native message: ERROR: "timestamp"型の入力構文が無効です: "2013-08-02 10$1$2"
LINE 1: DELETE FROM "dtb_session" WHERE update_date < '2013-08-02 10...
on [****\data\class\SC_Query.php(1087)] from
customer_id =
****\html\shopping\index.php(23): require_once
****\html\require.php(35): require_once
****\data\require_base.php(45): SC_SessionFactory_UseCookie->initSession
****\data\class\sessionfactory\SC_SessionFactory_UseCookie.php(53): session_start
(): SC_Helper_Session->sfSessGc
****\data\class\helper\SC_Helper_Session.php(138): SC_Query->delete
****\data\class\SC_Query.php(791): SC_Query->query
****\data\class\SC_Query.php(859): SC_Query->prepare
****\data\class\SC_Query.php(1015): SC_Query->error
****\data\class\SC_Query.php(1087): trigger_error


r23022 MDB2 のバージョンアップで改善した。PHP < 5.2 で動作しない懸念があるが検証できていない。

Change History

comment:1 Changed 7 years ago by Seasoft

  • Owner changed from somebody to Seasoft
  • 修正済み set
  • Status changed from new to assigned
  • Description modified (diff)

comment:2 Changed 7 years ago by nanasess

PHP < 5.2 で動作しない懸念があるが検証できていない。

PHP5.1.6 + PostgreSQL8.1 では、おおむね問題なさそうです。MySQL では未確認。

comment:3 Changed 7 years ago by nanasess

PHP5.1.6 + MySQL 5.0.95 でも、おおむね問題なさそうです。

comment:4 Changed 7 years ago by h_yoshimoto

  • Status changed from assigned to closed
  • Resolution set to 修正済


Note: See TracTickets for help on using tickets.