Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Monday, May 20 2013 @ 05:13 AM EDT


 Forum Index > Support > Installation Support New Topic Post Reply
 Upgrade problem
   
micahmj11
 02/05/06 03:18PM (Read 1233 times)  
++---
Junior

Status: offline


Registered: 10/11/02
Posts: 20
I am trying to upgrade my site from 1.3.11 to 1.4. After I backed up my db and files and uploaded the new files, I ran install.php. I selected upgrade databes in the first step and selected 1.3.11 in the second step. The next screen simply says:

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 '( cid int(10) unsigned NOT NULL auto_increment, sid varcha

and I am stuck. Anyone able to help?

 
Profile Email Website
 Quote
Dirk
 02/05/06 03:28PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
Make sure you've uploaded all the new files. Specifically, system/lib-database.php

bye, Dirk

 
Profile Email Website
 Quote
micahmj11
 02/05/06 03:51PM  
++---
Junior

Status: offline


Registered: 10/11/02
Posts: 20
Thanks, Dirk. That was apparently part of the problem. I reuploaded they system folder and it must not have all uploaded before. When I ran the install script again, after reinstalling the backup db, the database seems to update (a few new tables have been added), but I now get this message:

1060: Duplicate column name 'status'

What do you think?

 
Profile Email Website
 Quote
Dirk
 02/05/06 03:56PM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
'status' is a new field for the gl_users table. It shouldn't exist in your old database. Can you check that, please? Did you install any hacks/add-ons that may have introduced such a field?

bye, Dirk

 
Profile Email Website
 Quote
micahmj11
 02/05/06 04:33PM  
++---
Junior

Status: offline


Registered: 10/11/02
Posts: 20
It does seem that there is a status field in my original users table. I don't know what it is for, but the value for all the records is null. Should I delete it and try the install script again.

EDIT: I went ahead and deleted the field...and it works now. As always, thank you Dirk for your help!

 
Profile Email Website
 Quote
Content generated in: 3.39 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to post 
Filtered HTML Allowed 
Censored Content