Part of the EllisLab Network
pMachine Pro has been replaced by ExpressionEngine, our full featured web publishing solution. Please consider upgrading.
You can download pMachine Pro here: Download pMachine Pro  |  Download Language Packs
   
 
MySQL error 1064 only at pm_events on brand new install
Posted: 10 March 2006 03:27 PM   [ Ignore ]  
Summer Student
Avatar
Total Posts:  19
Joined  2005-11-10

I’ve seen many comments on 1064 but this question hasn’t been answered (at least not so I can understand it)…

When I run the install file I get this:

MySQL Error: 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 ‘repeat char(2) not null, t_stamp int unsigned not null, year char(4) not null,’ at line 4
Query: create table pm_events ( id int unsigned not null auto_increment primary key, link_id varchar(50) not null, repeat char(2) not null, t_stamp int unsigned not null, year char(4) not null, month char(2) not null, day char(2) not null, show_time char(1) not null, title tinytext not null, description text not null )
Error.  Unable to create table: pm_events

I’ve looked at the MySQL 5.0 manual.  I’m assuming that the error is in one of those three lines listed.  I don’t see anything that I can change in the install file, I’m not very good with MySQL and don’t see the problem.  All other tables are coming in perfectly.

Please help!

Debbie

Profile
 
 
Posted: 10 March 2006 04:20 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  10898
Joined  2002-04-29

Debbie, since you’re just starting to use pMachine, I recommend you use ExpressionEngine Core instead. pMachine PRO is no longer being updated. I remember this being an issue in pMachine, but I’ve stopped using it two years ago.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Most recent build notes - 20080808

Profile
 
 
Posted: 10 March 2006 04:23 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Avatar
Total Posts:  19
Joined  2005-11-10

Sue -

I’m not a new user of PMP - I’ve installed it with no issues on three sites in the past few months.  This install is to a host selected by my client with whom I’ve been wrangling out database access and permissions for the past few days.

I’m thinking it must be some issue with the MySQL version they’re using, but I have no idea what it might be.

Debbie

Profile
 
 
Posted: 10 March 2006 04:35 PM   [ Ignore ]   [ # 3 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  10898
Joined  2002-04-29

Possibly. You could do an install on a different machine and import the database over.

But I’d try EECore first on that server.

 Signature 

Quick Reference - EE Trial Options - EE Wiki - Docs for updating a build

Most recent build notes - 20080808

Profile
 
 
Posted: 24 May 2006 08:15 AM   [ Ignore ]   [ # 4 ]  
Summer Student
Total Posts:  3
Joined  2006-01-27

Yes, this is an issue with the MySQL version.

The only way to fix this (that I know of) is to manually create the table in MySQL. I create pm_events using MySQL administrator, copy the output syntax, and paste it into the config.php file. Works like a charm.

Profile
 
 
Posted: 13 January 2007 04:54 PM   [ Ignore ]   [ # 5 ]  
Summer Student
Total Posts:  1
Joined  2007-01-13

to fix this:
repalce line 1380 install.php from:

repeat char(2) not null,

to

`repeat` char(2) not null,

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 233, on December 18, 2007 12:04 AM
Total Registered Members: 60703 Total Logged-in Users: 0
Total Topics: 73141 Total Anonymous Users: 0
Total Replies: 394473 Total Guests: 56
Total Posts: 467614    
Members ( View Memberlist )
Active Members: