PHP Web Host - Quality Web Hosting For All PHP Applications $35/month $250/year (Unlimited) - $25/month - 200,000 impressions - Your Ad Could be Here - Click For Details
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Blues
Regular
Regular


Joined: Jun 17, 2006
Posts: 81
Location: MD

PostPosted: Sun Dec 23, 2007 4:05 pm Reply with quote Back to top

Not sure if anyone else is running this, but I thought I would ping you all and see if you have any idea how to resolve. I am trying to install Acronyms V2.0 and in importing the acronyms.sql code

Code:

CREATE TABLE nuke_acronyms (
  id int(11) NOT NULL auto_increment,
  acronym varchar(20) NOT NULL default '',
  meaning` text NOT NULL,
  UNIQUE KEY id (id)
)


in mysqladmin I receive the following 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: Unclosed quote @ 119
STR: `
SQL: CREATE TABLE nuke_acronyms (
  id int(11) NOT NULL auto_increment,
  acronym varchar(20) NOT NULL default '',
  meaning` text NOT NULL,
  UNIQUE KEY id (id)
)


SQL query:

CREATE TABLE nuke_acronyms ( id int(11) NOT NULL auto_increment, acronym varchar(20) NOT NULL default '', meaning` text NOT NULL, UNIQUE KEY id (id) )

MySQL said: Documentation
#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 '` text NOT NULL,
  UNIQUE KEY id (id)
)' at line 4


I am running phpnuke 8.0 with phpbb 2.0.20 and MySQL - 5.0.45-log and phpMyAdmin - 2.8.0.1

I already moved all the files to the appropriate location and I suspect this is a simple table format issue that I am just missing. Any feedback and assistance would be appreciated.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14943
Location: Kansas

PostPosted: Mon Dec 24, 2007 2:40 am Reply with quote Back to top

Modify
CREATE TABLE nuke_acronyms (
id int(11) NOT NULL auto_increment,
acronym varchar(20) NOT NULL default '',
meaning` text NOT NULL,
UNIQUE KEY id (id)
)

To
CREATE TABLE `nuke_acronyms` (
`id` int(11) NOT NULL auto_increment,
`acronym` varchar(20) NOT NULL default '',
`meaning` text NOT NULL,
UNIQUE KEY id (`id`)
)
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Blues
Regular
Regular


Joined: Jun 17, 2006
Posts: 81
Location: MD

PostPosted: Mon Dec 24, 2007 7:53 am Reply with quote Back to top

Thanks Raven, worked like a champ. I was even able to add some acronyms via the Module and phpmyadmin.

However, even as "GOD" admin it wont let me access the Admin Section of it from the Admin Panel. One step at a time though.

Thanks again.
View user's profile Send private message Visit poster's website
Blues
Regular
Regular


Joined: Jun 17, 2006
Posts: 81
Location: MD

PostPosted: Mon Dec 24, 2007 8:11 am Reply with quote Back to top

Looks like it doesn't actually work though in the sense that when entering an acronym and posting that acronym in the forums it doesn't display the typical pop-up of what that acronym stands for. Confused

I think maybe I am trying to install the wrong one. In looking at another site I implemented this on, it's table is nuke_bbacronyms where this is nuke_acronyms
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14943
Location: Kansas

PostPosted: Mon Dec 24, 2007 10:53 am Reply with quote Back to top

I am not familiar with the mod so I can't really advise on that part. However, if it is using a table prefixed with _bb then that sounds like a Forum mod. If so, as you probably know, most Forum mods need some tweaking to be used in nuke.

Have a great Christmas!
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Blues
Regular
Regular


Joined: Jun 17, 2006
Posts: 81
Location: MD

PostPosted: Mon Dec 24, 2007 11:07 am Reply with quote Back to top

Well, I downloaded this off an Air Force Communications Career Field web site (not AF sponsored!) and the webmaster at that site had updated it for Nuke specifically with a block an all. But the previous one I had installed was for a nuke site, but correlates to the forums.

Basically, you enter the acronym and meaning in a table/database and when it is in a forum posting if you hover your mouse over it a mouseover identifies the definition.

In the case of this new one I am trying to install, either it needs the tweaking or it is meant as a static location for looking them up manually with no forum integration.

Thanks for your help though.
View user's profile Send private message Visit poster's website
Raven
Site Admin/Owner


Joined: Aug 27, 2002
Posts: 14943
Location: Kansas

PostPosted: Mon Dec 24, 2007 11:20 am Reply with quote Back to top

Then it is a Forum mod. It sounds like you are missing the changes to the forum code to link it to the table.
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous 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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum