df main menu module database error on install
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAdd-Ons & Blocks
Author Message
warden
Silver Supporter


Joined: Dec 16, 2004
Posts: 196
Location: North Carolina

PostPost subject: df main menu module database error on install
Posted: Wed Aug 22, 2007 1:44 am
Reply with quote

I get the following database error when trying to install the 9.1.0.8 version of the df main menu module located in the downloads here.

Quote:
includes/db/db.php

* CMS Warning line 75: On /admin.php?op=modules&install=df_main_menu While executing query "CREATE TABLE cms_main_menu ( id int(11) NOT NULL auto_increment, pid int(11) NOT NULL default "0", title varchar(255) NOT NULL default "", path varchar(255) NOT NULL default "", active tinyint(1) NOT NULL default "0", type tinyint(3) NOT NULL default "0", target tinyint(3) NOT NULL default "0", weight int(11) NOT NULL default "1", access int(11) NOT NULL default "0", image varchar(255) NOT NULL default "", mid int(11) NOT NULL default "0", PRIMARY KEY (id)) TYPE=MyISAM DEFAULT CHARSET=null" the following error occured: 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 'null' at line 13 In: /home/myaccount/public_html/includes/classes/installer.php on line: 61

Can anyone with sql knowledge enlighten me on how to correct this error so that this module will install? I am using DF v.9.1.2.1 upgraded from 9.0.6.1 and this is not a module upgrade. The only change that I have made is to replace the "utf8" collation in the config.php file to "null" to correct other errors.

Thanks.

_________________


warden's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Phoenix
Site Admin


Joined: Apr 19, 2004
Posts: 8729
Location: Netizen

PostPost subject: Re: df main menu module database error on install
Posted: Wed Aug 22, 2007 2:05 am
Reply with quote

You will get that error with any module you try to install.

You have incorrectly edited your config file and used quotes around the NULL.

Aside from that, I'm not sure why you would want to add out of date software when the core DF menu works perfectly fine.

_________________
DonationsPro for DragonflyCMS, SMF, MyBB, vBulletin

Phoenix's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
warden
Silver Supporter


Joined: Dec 16, 2004
Posts: 196
Location: North Carolina

PostPost subject: Re: df main menu module database error on install
Posted: Wed Aug 22, 2007 2:38 am
Reply with quote

Thanks for the information about the quotes. It installed just fine.
_________________


warden's server specs (Server OS / Apache / MySQL / PHP / DragonflyCMS)
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   Printer Friendly Page     Forum IndexAdd-Ons & Blocks All times are GMT
Page 1 of 1


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Dedicated Server & Bandwidth Sponsored by DedicatedNOW
User Info [x]

Welcome Anonymous

Nickname
Password
(Register)

Last CVS commits [x]

Languages [x]

Community [x]

Support for DragonflyCMS in a other languages:

Deutsch
Español

X-links [x]
UltraEdit Browse Happy logo Firefox MySQL PostgreSQL Valid CSS! Valid XHTML 1.0! Unicode Encoded Badge NukeBiz Resources Raven DragonflyCMS Dedicated Now InsideSupport Lampe Berger

Preview theme [x]
Each user can view the site with a different theme.
Themes marked with a * also change the forum look.


You are seeing squares or questionmarks on this page?

All content of this website is copyrighted by the Creative Commons NC-SA
The logos and trademarks used on this site are the property of their respective owners
We are not responsible for comments posted by our users, as they are the property of the poster.
Our server runs on a P3 1.2GHz with 512MB RAM with no accelerators
Support GoPHP5.org
This page generated in 0.5886 seconds with 16 DB Queries in 0.0629 seconds
Memory Usage: 2.87 MB
Interactive software released under GNU GPL, Code Credits, Privacy Policy