1
feniceaf
Error in installation of modules
  • 2005/11/29 20:10

  • feniceaf

  • Just popping in

  • Posts: 1

  • Since: 2005/11/26


Hello! I have a problem when I try to install some modules in xoops. The error is generated because the syntax IF NOT EXISTS is not rightly interpreted. The complete message is the following:

CREATE TABLE xoops_IF NOT EXISTS `oremensili_commesse` ( `ncom` varchar(10) NOT NULL default '0', `descr` varchar(50) default NULL, `cliente` varchar(20) default NULL, `refsd` varchar(15) default NULL, `refcli` varchar(15) default NULL, `note` varchar(255) default NULL, `DTapertura` date NOT NULL default '0000-00-00', `DTchiusura` date NOT NULL default '0000-00-00', PRIMARY KEY (`ncom`), UNIQUE KEY `ncom` (`ncom`) ) TYPE=MyISAM
Error number: 1064
Error message: 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 'NOT EXISTS `oremensili_commesse` ( `ncom` varchar(10) NOT NULL default '0', ' at line 1
( 0.000511)

The prefix xoops_ of the tables is inserted before IF NOT EXISTS, not before the name of the table oremensili_commesse.
The characteristics of the system are the following:

XOOPS Version: 2.2.3.a
Module Name/Version:
PHP Version: 5.1.0
MySQL Version: 5.0.16-nt
Web Server Software (Apache/IIS/Other): Apache
Operating System: MS Windows XP Home Edition
Custom template: (Yes/No) Yes
MySQL characterset (of server, db, client, connection): latin1

Is there anybody who can help me with this topic?
Thanks!
FA

2
erzon
Re: Error in installation of modules
  • 2005/12/19 10:42

  • erzon

  • Quite a regular

  • Posts: 211

  • Since: 2005/1/1 3


what module your trying to install? i think theres a problem with .sql file in your module

Login

Who's Online

166 user(s) are online (91 user(s) are browsing Support Forums)


Members: 0


Guests: 166


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits