You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 88 guest(s) and 1 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Problem with nuke.sql file [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
halflife28
Nuke Cadet
Nuke Cadet


Joined: Jan 12, 2004
Posts: 5


PostPosted: Sun Dec 18, 2005 2:40 pm Reply with quoteBack to top

I'm using the latest PHPNuke version which is 7.8, and i'm trying to import it using phpMyAdmin and I get this error:

Code:

Error

There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 457
STR: </
SQL:
INSERT INTO nuke_blocks VALUES (2, 'admin', 'Administration', '<strong><big>�</big></strong> <a href="admin.php">Administration</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=adminStory">NEW Story</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=create">Change Survey</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=content">Content</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=logout">Logout</a>', '', 'l', 2, 1, 0, '985591188', '', '', 2, '0', 'd', 0);


SQL query:

INSERT INTO nuke_blocks VALUES (2, 'admin', 'Administration', '� Administration
\r\n� NEW Story
\r\n� Change Survey
\r\n� Content
\r\n� Logout', '', 'l', 2, 1, 0, '985591188', '', '', 2, '0', 'd', 0);

MySQL said: Documentation
#1406 - Data too long for column 'content' at row 1
Find all posts by halflife28View user's profileSend private message
halflife28
Nuke Cadet
Nuke Cadet


Joined: Jan 12, 2004
Posts: 5


PostPosted: Sun Dec 18, 2005 2:55 pm Reply with quoteBack to top

Of course, my problems are always very unique and no one knows the answer to it.
Find all posts by halflife28View user's profileSend private message
Xyberian
Colonel
Colonel


Joined: Mar 14, 2004
Posts: 1921

Location: Behind you

PostPosted: Sun Dec 18, 2005 5:10 pm Reply with quoteBack to top

halflife28 wrote:
Of course, my problems are always very unique and no one knows the answer to it.
That's not one of your unique problems:

make the whole line to short and dump it again.

The following is my example for you.

Code:
INSERT INTO nuke_blocks VALUES (2, 'admin', 'Administration', '<b>-</b><a href="admin.php">Administration</a><br><b>-</b><a href="admin.php?op=adminStory">NEW Story</a><br><b>-</b><a href="admin.php?op=create">Change Survey</a><br><b>-</b> <a href="admin.php?op=content">Content</a><br><b>-</b><a href="admin.php?op=logout">Logout</a>', '', 'l', 2, 1, 0, '985591188', '', '', 2, '0', 'd', 0);
This will leveav you in peace.

_________________
NukeKorea Dev. Network.
NukeKorea Laboratories
Find all posts by XyberianView user's profileSend private messageVisit poster's website
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12394


PostPosted: Sun Dec 18, 2005 10:08 pm Reply with quoteBack to top

The problem is that you expect a response after only 15 minutes. Smile
This forum isn't checked on an 15 minute basis. We all have our real lives. So please wait 24 hours before bumping a thread. Thank you

- There are several problems with 7.8's nuke.sql file
I have a clean version you can download from my CVS repository

http://evaders.swrebellion.com/modules.php?name=NukeWrap&page=cvsrepos/../sql/phpNuke78_nuke.sql

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Smit
Nuke Soldier
Nuke Soldier


Joined: Jan 06, 2006
Posts: 18


PostPosted: Fri Jan 06, 2006 5:46 am Reply with quoteBack to top

Sorry to bump.

I'm having the same problem and Evaders99 fixed .sql file doesn't work either.

How would I be able to fix it?
Find all posts by SmitView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12394


PostPosted: Fri Jan 06, 2006 5:13 pm Reply with quoteBack to top

smit, what error are you getting?

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
Finn
Nuke Cadet
Nuke Cadet


Joined: Jan 06, 2006
Posts: 3


PostPosted: Fri Jan 06, 2006 8:34 pm Reply with quoteBack to top

I've got same problem and I too have tried the alternative nuke.sql file suggested by Evaders99 but that doesn't work.

My setup is;

Windows 2000 SP4
Apache 2.0.55
MySQL 5.0.18
PHP 5.1.1
phpMyAdmin 2.7.0-pl2

When importing the nuke.sql file the error reported is

Error

SQL query:


INSERT INTO nuke_blocks
VALUES ( 2, 'admin', 'Administration', '<strong><big>�</big></strong> <a href="admin.php">Administration</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=adminStory">NEW Story</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=create">Change Survey</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=content">Content</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=logout">Logout</a>', '', 'l', 2, 1, 0, '985591188', '', '', 2, '0', 'd', 0 ) ;

MySQL said: Documentation
#1406 - Data too long for column 'content' at row 1


Any help would be much appreciated. I've spent at 2 days trying to get this to to work Evil or Very Mad
Find all posts by FinnView user's profileSend private message
Evaders99
Site Admin
Site Admin


Joined: Aug 17, 2003
Posts: 12394


PostPosted: Fri Jan 06, 2006 9:03 pm Reply with quoteBack to top

Off the top, could be a problem with MySQL 5, PHP 5, or phpMyAdmin
I'm not sure why you are getting the squares in there. Could be a character set conflict

_________________
Helping those that help themselves
Read FIRST or DIE!

"Fighting is terrible, but not as terrible as losing the will to fight."
Star Wars Rebellion Network - Need Help? Evaders Squadron Coding
Find all posts by Evaders99View user's profileSend private messageVisit poster's websiteAIM Address
rooffian
Nuke Cadet
Nuke Cadet


Joined: Jan 10, 2006
Posts: 1


PostPosted: Tue Jan 10, 2006 6:58 am Reply with quoteBack to top

I think it is a problem with MySQL 5 character encoding. I had those errors too and fixed them by changing default character set. I've changed my.ini file like this:
..
[mysql]
character-sets-dir="D:/Progs/MySQL/MySQL Server 5.0/share/charsets/"
default-character-set=latin2
..
[mysqld]
..
default-character-set=latin2
Find all posts by rooffianView user's profileSend private message
freebs
Nuke Cadet
Nuke Cadet


Joined: Feb 18, 2007
Posts: 1


PostPosted: Sun Feb 18, 2007 12:04 am Reply with quoteBack to top

I too am having the same issue, output is as follows:
Code:
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem

ERROR: Unknown Punctuation String @ 457
STR: </
SQL:
INSERT INTO nuke_blocks VALUES (2, 'admin', 'Administration', '<strong><big>�</big></strong> <a href="admin.php">Administration</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=adminStory">NEW Story</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=create">Change Survey</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=content">Content</a><br>\r\n<strong><big>�</big></strong> <a href="admin.php?op=logout">Logout</a>', '', 'l', 2, 1, 0, '985591188', '', '', 2, '0', 'd', 0);


SQL query:

INSERT INTO nuke_blocks VALUES (2, 'admin', 'Administration', '� Administration
\r\n� NEW Story
\r\n� Change Survey
\r\n� Content
\r\n� Logout', '', 'l', 2, 1, 0, '985591188', '', '', 2, '0', 'd', 0);

MySQL said: 

#1406 - Data too long for column 'content' at row 1


I've searched and searched to no avail.
I know what I am overlooking is probably quite simple, but I apologise for being quite new to this.

nuke 7.8
mysql 5.0
PHP 5.1.4

None of the fixes mentioned in this thread have worked for me.
Find all posts by freebsView user's profileSend private message
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
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, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by · TOGETHER TEAM srl ITALY http://www.togetherteam.it · DONDELEO E-COMMERCE http://www.DonDeLeo.com
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.493 Seconds - 250 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::