Welcome Guest!   Please Login or Register
Subscribe Today

You are not subscriber of DaDaNuke | Making PHP-Nuke Better!. You can subscribe from here now!

Sponsored Links




Search




Site Navigation

· Home
· About Us
· Advertise With Us
· Club
· CVS
· Downloads
· Feedback
· Forums
· Gallery
· Groups
· Journal
· Private Messages
· Search
· Stories Archive
· Submit News
· Top 10
· Topics
· Web Links
· Your Account

Survey

I Want This Addon:

SEO
Gaming
Commerce
Database
Security



Results
Polls

Votes 628

Advertisers





Who's Online

There are currently, 21 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here

Total Hits

We received
5573977
page views since September 2005




DaDaNuke :: View topic - Hosting Module v1.7 SQL problem
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log inLog in 

Hosting Module v1.7 SQL problem

 
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke Modules
View previous topic :: View next topic  
Author Message
eboyuk2004
dadaClub
dadaClub


Joined: Apr 28, 2006
Posts: 4


PostPosted: Sat Apr 29, 2006 2:30 pm    Post subject: Hosting Module v1.7 SQL problem Reply with quote

Hi every time i insert the sql i get this error

SQL query:

--
-- Table structure for table `nuke_host`
--
CREATE TABLE `nuke_host` (

`main` text NOT NULL ,
`conditions` text NOT NULL ,
`presentacion` text NOT NULL ,
`faq` text NOT NULL ,
`country` varchar( 255 ) NOT NULL default ''
) ENGINE = MYISAM DEFAULT CHARSET = latin1
MySQL said:

#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 'DEFAULT CHARSET=latin1' at line 11


i am running
phpMyAdmin 2.6.4-pl2
MySQL 4.0.25-standard running


Please help fix this probelm
Back to top
View user's profile Send private message
dadaBIT
General Manager
General Manager


Joined: Jun 23, 2005
Posts: 582
Location: United States

PostPosted: Sat Apr 29, 2006 9:43 pm    Post subject: Reply with quote

This indicates that you are running MySQL in a different language format to the default Hosting Module sql file. Use UTF8 (en) or Latin 1.

-dadaBIT
_________________

Visit the DaDaNuke Wish List
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
eboyuk2004
dadaClub
dadaClub


Joined: Apr 28, 2006
Posts: 4


PostPosted: Sat Apr 29, 2006 11:18 pm    Post subject: Reply with quote

So how can i fix this to make it work ??
im confused
Back to top
View user's profile Send private message
dadaBIT
General Manager
General Manager


Joined: Jun 23, 2005
Posts: 582
Location: United States

PostPosted: Mon May 01, 2006 12:35 am    Post subject: Reply with quote

Edit out all instances of "DEFAULT CHARSET = latin1" from sql file.
_________________

Visit the DaDaNuke Wish List
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
eboyuk2004
dadaClub
dadaClub


Joined: Apr 28, 2006
Posts: 4


PostPosted: Mon May 01, 2006 8:58 pm    Post subject: Reply with quote

Thanks bro it worked a treat

Only thing tht i can not do is edit these sections in the admin
[ Edit Main Page | Edit Presentation | Edit Terms and Conditions | Edit FAQ ]
Back to top
View user's profile Send private message
Mtwo
dadaClub
dadaClub


Joined: Mar 14, 2006
Posts: 42


PostPosted: Sat Jun 17, 2006 12:41 pm    Post subject: UTF-8 database Reply with quote

I would like to use a UTF-8 database for a fresh install of nuke. Do I simply have to replace all instances of CHARSET=latin1; to CHARSET=UTF-8; in nuke.sql? Then import the file?

Please let me know.
Back to top
View user's profile Send private message
Mtwo
dadaClub
dadaClub


Joined: Mar 14, 2006
Posts: 42


PostPosted: Mon Jun 19, 2006 1:13 pm    Post subject: Reply with quote

[quote="dadaBIT"]Edit out all instances of "DEFAULT CHARSET = latin1" from sql file.[/quote]


What do you mean by edit out all instances? I have tried to remove all charset instances but am still having trouble importing into a UTF-8 MySQL db? What am I doing wrong...How do I set up a UTF-8 nuke DB?
Back to top
View user's profile Send private message
readtodd876



Joined: Jul 02, 2006
Posts: -1


PostPosted: Mon Jul 03, 2006 2:17 am    Post subject: Reply with quote

I have found the easyest way to solve that problem is to replace this line:
ENGINE=MyISAM DEFAULT CHARSET=latin1;
with this one:
TYPE=MyISAM;
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DaDaNuke Forum Index -> PHP-Nuke Modules All times are GMT - 4 Hours
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
Powered by phpBB © 2001 phpBB Group Version 2.0.6 of PHP-Nuke Port by Tom Nitzschner © 2002 www.toms-home.com
Theme designed by Western Studios



Terms of Use | Privacy Policy © 1996-2007, DaDaNuke

Listed on FeedBurner

PHP-Nuke Copyright © 2006 by Francisco Burzi. This is free software, and you may redistribute it under the GPL.
PHP-Nuke comes with absolutely no warranty, for details, see the license.

Theme Designed by Western Studios