Moodle plugin "Sharing Cart" installation error
来源:互联网 发布:wifi广告软件 编辑:程序博客网 时间:2024/06/05 13:28
download latest version (2009040600) sharing cart and install it, following error may occurs:
1101: BLOB/TEXT column 'data' can't have a default value
ADOConnection._Execute(CREATE TABLE mdl_sharing_cart_plugins (
...
install_from_xmldb_file(D:/iis7/public/Sandbox/blocks/sharing_cart/db/install.xml) % line 1374, file: blocklib.php
----------------------------------------------------------------------------
(mysql): ALTER TABLE mdl_sharing_cart_plugins COMMENT='table to store sharing cart plugins data'
--------------------------------------------------------------------------------
1146: Table 'xxxxxx.mdl_sharing_cart_plugins' doesn't exist
....
Solution is:
1. modify file "install.xml" (under sharing_cart/db).
find the following line:
<FIELD NAME="data" TYPE="text" NOTNULL="true" DEFAULT="" SEQUENCE="false" ENUM="false" PREVIOUS="user"/>
and delete the text that says Default='', so the line ends looking like this:
<FIELD NAME="data" TYPE="text" NOTNULL="true" SEQUENCE="false" ENUM="false" PREVIOUS="user"/>
2. drop table 'mdl_sharing_cart' (and 'mdl_sharing_cart', though it should not exist).
3. do the 'administration > notifications' process again.
- Moodle plugin "Sharing Cart" installation error
- Eclipse plugin -- Maven Installation
- IntelliJ genymotion plugin installation
- plugin installation in eclipse
- Error: Installation error: INSTALL_FAILED_UID_CHANGED
- Plugin Error
- Moodle
- Moodle
- Installation/Update the JSEclipse plugin
- TestNG Eclipse Plugin Installation - Offline
- Installation error: INSTALL_FAILED_UPDATE_INCOMPATIBLE
- Android Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- Android Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- MySQL Installation Error
- ANDROID Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER
- ANDROID Installation error: INSTALL_FAILED_CONFLICTING_PROVIDER
- Installation error: INSTALL_FAILED_INSUFFICIENT_STORAGE
- js取得路径参数的值
- 人不知而不愠
- 软件SAAS模式发展需行业大融合
- Oracle EBS常用数据表
- DOS命令大全,黑客的水平
- Moodle plugin "Sharing Cart" installation error
- 字符串哈希函数
- 无法读源文件或磁盘怎么办?
- 层模拟下拉框,弹出的层中多个复选框
- VC中的一些常用方法(20条)
- 转载:C#路径/文件/目录/I/O常见操作汇总
- Hi,to me
- 字符数组与字符串异同
- png透明问题解决方法(png图片ie6不兼容问题)