問題点 #5759

アップローダーのカテゴリーを削除しようとするとエラーになり削除できない

Added by - komomoray over 6 years ago. Updated almost 6 years ago.

Status:終了Start date:04/23/2014
Priority:通常Due date:
Assignee:ナカエ -% Done:

100%

Category:アップローダー
Target version:3.0.6

Description

エラーメッセージ
処理に失敗しました。(500)
Database Error

エラー: SQLSTATE42000: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'del' at line 1

SQL Query: del

注意: このエラーメッセージをカスタマイズしたい場合は、 app/View/Errors/pdo_error.ctp を作成してください

Stack Trace

CORE/Baser/Model/Datasource/DboSource.php line 473 → PDOStatement->execute(array)
CORE/Baser/Model/Datasource/DboSource.php line 439 → DboSource->execute(string, array)
CORE/Baser/Model/Datasource/DboSource.php line 679 → DboSource->execute(string, array, array)
CORE/Baser/Model/Datasource/DboSource.php line 624 → DboSource->fetchAll(string, array, array)
CORE/Cake/Model/Model.php line 800 → DboSource->query(string, array, UploaderCategory)
APP/Plugin/Uploader/Controller/UploaderCategoriesController.php line 213 → Model->
_call(string, array)
APP/Plugin/Uploader/Controller/UploaderCategoriesController.php line 213 → UploaderCategory->del(string)
APP/Plugin/Uploader/Controller/UploaderCategoriesController.php line 175 → UploaderCategoriesController->_del(string)
[internal function] → UploaderCategoriesController->admin_ajax_delete(string)
CORE/Cake/Controller/Controller.php line 490 → ReflectionMethod->invokeArgs(UploaderCategoriesController, array)
CORE/Cake/Routing/Dispatcher.php line 185 → Controller->invokeAction(CakeRequest)
CORE/Cake/Routing/Dispatcher.php line 160 → Dispatcher->_invoke(UploaderCategoriesController, CakeRequest, CakeResponse)
ROOT/index.php line 146 → Dispatcher->dispatch(CakeRequest, CakeResponse)

スクリーンショット 2014-04-19 2.13.53.png (91.4 KB) - komomoray, 04/23/2014 07:57 PM

956

History

#1 Updated by - komomoray over 6 years ago

  • Category set to アップローダー

#2 Updated by 江頭 竜二 about 6 years ago

  • Target version set to 4.0.1

#3 Updated by ナカエ - almost 6 years ago

  • Status changed from 担当 to 終了
  • Assignee set to 渕上 将和
  • Target version changed from 4.0.1 to 3.0.6
  • % Done changed from 0 to 100

fixed アップローダーカテゴリが削除できない点を修正
https://github.com/baserproject/uploader/commit/d85cf1c507cf19214e215ae6b25b15f84fa5b028

#4 Updated by 江頭 竜二 almost 6 years ago

  • Assignee changed from 渕上 将和 to ナカエ -

ナカエさん、チェックありがとうございます!

Also available in: Atom PDF