Update from EE 1.0 to 1.1 problem
Posted: 10 October 2004 02:29 AM   [ Ignore ]  
Summer Student
Total Posts:  26
Joined  05-16-2004

I uploaded all required files, checked permissions and began the update as instructed. The wizard returned this message:

MySQL ERROR:

Error Number: 1060

Description: Duplicate column name ‘comment_expiration’

Query: ALTER TABLE exp_weblogs ADD COLUMN comment_expiration int(4) unsigned NOT NULL default ‘0’

What gives?

Simon

Profile
 
 
Posted: 10 October 2004 02:32 AM   [ Ignore ]   [ # 1 ]  
Summer Student
Total Posts:  26
Joined  05-16-2004

BTW this is a different upgrade (and different problem) to the one I posted previously. However the hosting company and hence the servers are the same.

Simon

Profile
 
 
Posted: 10 October 2004 09:08 AM   [ Ignore ]   [ # 2 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  06-19-2002

It sounds like the update script has already been run on that database.  “comment_expiration” is the first column/field that the update script tries to add, so it’s choking because the column already exists.

Are you positive you’re trying to run the update on the correct database/installation?  Are you sure you haven’t already run the update?

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 10 October 2004 09:45 AM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  26
Joined  05-16-2004

No - it was indeed version 1.0 - I’ve just run the entire update process again - and this time it worked flawlessly. Now it’s version 1.1

Simon

Profile
 
 
Posted: 09 November 2004 08:06 AM   [ Ignore ]   [ # 4 ]  
Lab Assistant
RankRank
Total Posts:  168
Joined  01-08-2004

I’m encountering a very similar problem. I just tried to update from version 1.0 to 1.1. I carefully did everything as listed. Made sure to upload the appropriate files in ascii or binary, etc. Then I go to run the upload script and it tells me that I’m running Public Beta 2 and would I like to upgrade to version 1.0. Huh? I was definitely running version 1.0.

So I hit the update button, and I get this error message:

MySQL ERROR:

Error Number: 1060

Description: Duplicate column name ‘exclude_from_moderation’

Query: ALTER TABLE exp_member_groups ADD COLUMN exclude_from_moderation char(1) NOT NULL default ‘n’

I can still access the control panel (which now, incidentally, says I’m using version 1.1), but the entire weblog is just a blank white page when I try to pull it up. Help!!!

 Signature 

Alex Boese - Museum of Hoaxes

Profile
 
 
Posted: 09 November 2004 09:14 AM   [ Ignore ]   [ # 5 ]  
Lab Assistant
RankRank
Total Posts:  168
Joined  01-08-2004

Would there be any way to simply get the weblog to appear again? The sql database is intact. The control panel works fine. But the weblog has become the blank white page of nothingness. I remember that this happened to me a couple of times when I was using pMachine, and I had to reset the sql database somehow. Would something similar be required here?

 Signature 

Alex Boese - Museum of Hoaxes

Profile
 
 
Posted: 09 November 2004 09:26 AM   [ Ignore ]   [ # 6 ]  
Lab Assistant
RankRank
Total Posts:  168
Joined  01-08-2004

Discovered why the weblog is blank. All the templates have been erased. The code is still in the sql database, but it’s not appearing in the control panel. Must be something to do with the incomplete update process. Maybe I’ll try uploading the version 1.1 files again and trying the update again, though I don’t see why it would work this time.

 Signature 

Alex Boese - Museum of Hoaxes

Profile
 
 
Posted: 09 November 2004 10:36 AM   [ Ignore ]   [ # 7 ]  
Lab Assistant
RankRank
Total Posts:  168
Joined  01-08-2004

Hello. Anyone there? Maybe I should post this in the technical support forum instead. Anyway, I’ve hit a wall, so to speak. I’ve checked and double-checked that I uploaded all the version 1.1 files correctly, and that they’re all set to correct permissions. But still the update script insists on saying that I was running the public beta and then tries to update me to version 1.0, only to yield a MYSQL error.

I guess I could manually copy all the templates from the mysql database back into the control panel. But I’m worried that even if that worked, it would leave some underlying update issue unresolved.

 Signature 

Alex Boese - Museum of Hoaxes

Profile
 
 
Posted: 09 November 2004 11:08 AM   [ Ignore ]   [ # 8 ]  
Lab Assistant
RankRank
Total Posts:  168
Joined  01-08-2004

Tried pasting the correct code back into the templates. When I hit update it just reverted to blank again.

So evidently the update process has messed up something. I can’t figure out what. In the meantime, my site is down, so I’m panicking a little bit because I can’t think of anything else to do to fix it.

Could there have been a problem with the update script itself?

 Signature 

Alex Boese - Museum of Hoaxes

Profile
 
 
Posted: 09 November 2004 11:54 AM   [ Ignore ]   [ # 9 ]  
Lab Assistant
RankRank
Total Posts:  168
Joined  01-08-2004

Well, I figured out what was wrong. Thank god. In the config.php file (which, of course, I had been very careful not to overwrite) it was incorrectly listing my application version as being public beta 2:
$conf[‘app_version’] = “009”;

This was confusing the upgrade program, since the version on my server was 1.0.

So I manually changed the config.php file so that it listed the correct version (100). And then, hey presto, the upgrade script ran without any problems, and all my templates and category groups magically reappeared.

The config.php file now lists the correct version (110).

I have no idea why it wasn’t listing the correct version before.

 Signature 

Alex Boese - Museum of Hoaxes

Profile
 
 
Posted: 09 November 2004 12:26 PM   [ Ignore ]   [ # 10 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  06-19-2002

Glad you got it all figured out, Alex.  I hope your one-sided conversation wasn’t too frustrating for you.

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
   
 
 
‹‹ PHP 5.02      everything but the blog 2 ››
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 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64978 Total Logged-in Users: 22
Total Topics: 82015 Total Anonymous Users: 19
Total Replies: 440812 Total Guests: 196
Total Posts: 522827    
Members ( View Memberlist )