I get this error when try to run the .mysql file..

-----------------
ERROR: Unknown Punctuation String @ 1
STR: //
SQL: // $Id: sidecontent.mysql,v 1.1 2005/01/02 01:46:39 MegaGrunt Exp $
#
# Table structure for table `sidecontent`
#

CREATE TABLE `sidecontent` (
`nid` int(10) NOT NULL default '0',
`sidecontent` longtext NOT NULL
) TYPE=MyISAM

SQL-query:

// $Id: sidecontent.mysql,v 1.1 2005/01/02 01:46:39 MegaGrunt Exp $ # # Table structure for table `sidecontent` # CREATE TABLE `sidecontent` ( `nid` int(10) NOT NULL default '0', `sidecontent` longtext NOT NULL ) TYPE=MyISAM

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 '// $Id: sidecontent.mysql,v 1.1 2005/01/02 01:46:39 MegaGrunt E
---

Help please!

Ed

~~~~
Fruit Vegetable Vitamin - A community of health conscious people.

Comments

robert castelo’s picture

Hi sgtaw,
you should post bug reports of modules on the project page of that module.

In this case the Side Content module page:

http://drupal.org/node/15039

Also add which version of Drupal/MySQL/PHPMyAdmin you are using.

The more info you give the more of a chance there is to fix the problem ;-)

[MegaGrunt]

------------------------------------------
Drupal Specialists: Consulting, Development & Training

Robert Castelo, CTO
Code Positive
London, United Kingdom
----

ezheidtmann’s picture

Lines beginning with // are not valid comments in SQL. Remove them before you run the script and you should be fine.

sgtaw’s picture

I figured it out!

Ed
***

Fruit Vegetable Vitamin - A community of health conscious people.