Comments (3)
Same problem with mysql 5.5.43:
#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 '
KEY event
(event
),
KEY element
(element
),
KEY uid
(uid
)
)' at line 9
from rmcommon.
I don't have this problem with rmcommon 2.2.82:
http://github.com/bitcero/rmcommon/releases/tag/v2.2.82
The difference between latest version and 2.2.82 is on latest version, you added this code in rmcommon/sql/mysql.sql:
CREATE TABLE mod_rmcommon_notifications
(
id_notification
int(11) NOT NULL AUTO_INCREMENT,
event
varchar(50) NOT NULL,
element
varchar(50) NOT NULL,
params
varchar(50) NOT NULL,
uid
int(11) NOT NULL,
type
varchar(10) NOT NULL DEFAULT 'module',
date
datetime NOT NULL,
PRIMARY KEY id_notification
,
KEY event
(event
),
KEY element
(element
),
KEY uid
(uid
)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
from rmcommon.
Yes, this is an error. The correct code must be:
CREATE TABLE IF NOT EXISTS `mod_rmcommon_notifications` (
`id_notification` int(11) NOT NULL AUTO_INCREMENT,
`event` varchar(50) NOT NULL,
`element` varchar(50) NOT NULL,
`params` varchar(50) NOT NULL,
`uid` int(11) NOT NULL,
`type` varchar(10) NOT NULL DEFAULT 'module',
`date` datetime NOT NULL,
PRIMARY KEY (`id_notification`),
KEY `event` (`event`),
KEY `element` (`element`),
KEY `uid` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
I'm preparing the commit...
from rmcommon.
Related Issues (20)
- Can't Make or Update the image Thumbnails HOT 5
- Error with XOOPS 2.5.9
- I can not add menus in themes HOT 2
- Imágenes no se guardan en Common Utilities HOT 5
- XoopsEditorHandler::getList() should not be called statically HOT 5
- Groups Management does not Edit or Delete group HOT 1
- rmc-navigation-pages.php no funciona HOT 5
- error al ingresar al panel principal HOT 3
- RMcommon for Xoops 2.5.8? HOT 4
- In Block: User Group can't be selected
- Can't add any picture HOT 4
- NO se puede subir Imagenes HOT 4
- Gestor de imagenes no permite insertar en selección HOT 1
- Can't edit user HOT 2
- Can't Update Thumbnail in image menagement
- Just 3 minor notices & one unknown bug report. HOT 3
- Notice: Trying to get property of non-object HOT 1
- Problem after update to 2.3.6.2: Can't change the Mywords Author
- Problem after update to 2.3.6.2: Can't Edit the article in HTML view HOT 1
- Blank page for public web, and mywords admin HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rmcommon.