FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Upgrade Issues
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
icon9.gif  Upgrade Issues [message #18142] Tue, 11 May 2004 16:26 Go to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
I am having a problem upgrading from v2.3.6 to v2.6.2.

I ran the upgrade script and it seemed to finish completely but when I tried to log back into the admin section I do not get in, almost as if the login is invalid or the password was reset Sad

Any ideas?

Thanks in advance.
Kolerij
Re: Upgrade Issues [message #18143 is a reply to message #18142] Tue, 11 May 2004 16:28 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Have you tried logging in via the admin login link?

http://your_forum_url/adm/ ?

After running the upgrade script you should have been prompted to run the consistency checker, I am guessing that didn't run, which may explain the problem you are seeing.


FUDforum Core Developer
Re: Upgrade Issues [message #18144 is a reply to message #18143] Tue, 11 May 2004 16:37 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
Yes I tried login in via that link.

And yes the consistency checker didn't run. What went wrong? Neutral
Re: Upgrade Issues [message #18145 is a reply to message #18144] Tue, 11 May 2004 16:47 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Not sure, it is "unlikely" but possible that the admin flag did not get imported and the admin account does not classify as the admin account.

It is hard for me to say what is the problem without access to the forum itself.

You can try running the following query

SELECT login FROM fud23_users WHERE (users_opt & 1048576) > 0;

If your table prefix is not fud23_ replace it with the correct prefix inside the query.


FUDforum Core Developer
Re: Upgrade Issues [message #18146 is a reply to message #18145] Tue, 11 May 2004 17:01 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
Well that query worked and all the relevant admin users showed up fine.

I guess I can give you some more background info on how this all came about Embarassed

I have been running FUDForum v2.3.6 on one of my sites for the last couple years. However I'm in the process of switching hosting servers and went through the process of backing up the forum (which I had to do manually since the datadump didn't work Confused). Everything looked fine when I transferred the forum files and imported the mysql dump to the new server. I was able to access the forum without any issues.

Then I got ambitious and decided to upgrade to the latest version.

And here I am Smile Rolling Eyes

What other info do you need from me?
Re: Upgrade Issues [message #18147 is a reply to message #18146] Tue, 11 May 2004 17:07 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The fact that admin users show up under that query means that the admin users were in fact imported correctly, which is certainly a good thing.

That would imply that the problem resides somewhere in the authentication mechanism, which for some reason does not recognize you.

The next step is to verify that the forum is in fact sending the correct cookie for the purpose of user validation. I can check this, but you'd need to send me the login/pass to one admin account so I could try to login and analyze the headers sent by the forum and the browser.


FUDforum Core Developer
Re: Upgrade Issues [message #18148 is a reply to message #18147] Tue, 11 May 2004 17:21 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
Sent.

Let me know.

Thanks Smile
Re: Upgrade Issues [message #18149 is a reply to message #18148] Tue, 11 May 2004 17:24 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Looks like your cookie domain is incorrect.

FUDforum Core Developer
icon10.gif  Re: Upgrade Issues [message #18150 is a reply to message #18149] Tue, 11 May 2004 17:40 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
It worked Smile

As you suggested, I manually edited GLOBALS.PHP and changed the cookie domain. Was able to login fine.

One other question, can I always change it again when the DNS entries for the new server are udated?

Thanks again.

Kolerij Cool
Re: Upgrade Issues [message #18151 is a reply to message #18150] Tue, 11 May 2004 17:41 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
You can change this option @ any time, just be sure to rebuild the themes you are using (link on the theme manager) after doing so.

FUDforum Core Developer
Re: Upgrade Issues [message #18152 is a reply to message #18142] Tue, 11 May 2004 17:43 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
See below.

[Updated on: Tue, 11 May 2004 17:47]

Report message to a moderator

Re: Upgrade Issues [message #18153 is a reply to message #18142] Tue, 11 May 2004 17:46 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
Well it seems like my celebration was premature Neutral

I was able to login but there are not no messages/posts in the forum. Plus all the customized theme is gone.

The only thing there now is members.

Ideas?
Re: Upgrade Issues [message #18154 is a reply to message #18153] Tue, 11 May 2004 18:02 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Did you run the consistency checker?

FUDforum Core Developer
Re: Upgrade Issues [message #18155 is a reply to message #18142] Tue, 11 May 2004 18:07 Go to previous messageGo to next message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
Ok. I did some fiddling and got back the posts and such.

Here is what I did (Please let me know if there is a specific order to do these things Rolling Eyes):
- Rebuilt Theme
- Ran Forum Consistency check (I guess I should have done this first Rolling Eyes)
- Ran the SQL Opimizer

Everything is back, but a few strange things:
- The last registered now shows the first user that registered (Admin)
- My old theme is completely gone Sad

Thanks.
Kolerij
Re: Upgrade Issues [message #18156 is a reply to message #18155] Tue, 11 May 2004 18:10 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
The admin thing is a temporary bug, because the admin account had to be re-created.

The old theme was not entirely lost, your old .tmpl files back be found inside the errors/.backup/ directory, you can then port your changes manually. The new theme is not compatible with the old one, hence the change.


FUDforum Core Developer
Re: Upgrade Issues [message #18157 is a reply to message #18142] Tue, 11 May 2004 19:24 Go to previous message
kolerij is currently offline  kolerij   United States
Messages: 58
Registered: July 2002
Karma: 0
Member
Thanks alot for your help Ilia.

Kolerij
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Failed decompressing the archive
Next Topic: The URL of my forum is not working
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 04:05:04 GMT 2024

Total time taken to generate the page: 0.06845 seconds