Current time: 05-24-2012, 06:06 AM Hello There, Guest! (LoginRegister)


Permisson when upgrading
08-06-2008, 12:56 AM
Post: #11
Not Solved RE: Permisson when upgrading
(08-05-2008 01:14 PM)ahmed1 Wrote:  
(08-05-2008 03:53 AM)Tikitiki Wrote:  I'm sorry, I'm a bit confused. What exactly can't you do? Did you follow the instructions in the post MrDoom linked you too?

i am guessing he has the same problem as mine

i can't access the front end, because the files were replaced and the upgrade not completed (still didn't execute upgrade script) and the upgrade script just refreshes on using any member name, and gets an error abt wrong credentials when typing a completely non-existent name

thanks for your help in advance Shy

Ah,

Ok in that case what you can do is clear your cookies. This will allow you to log in via upgrade script again. Make sure your logging in with Admin credentials.
Visit this user's website Find all posts by this user
08-06-2008, 02:29 PM
Post: #12
Not Solved Question RE: Permisson when upgrading
Followed the upgrade steps...

Downloaded
unziped
copy the contents over to the server
chmod all the files and dir's
went to http://mydomain/forum/myBB/install/upgrade.php via my browser.

This brings up a login screen asking for admin login and password... cool no problem I used to log in all the time as admin...

When admin login and password are entered it gives me this error:

Error
The username you have entered appears to be invalid.


ok... so after many refreshes and attempts, even clearing my cookies... I still can't login as admin...

not really important that I get a quick answer or solution... I will probably just restore the back up... I would like it to work though, I just can't see what I did was wrong... I followed the steps correctly... or so I think I did anyhow... Confused
Visit this user's website Find all posts by this user
08-06-2008, 03:28 PM
Post: #13
Not Solved RE: Permisson when upgrading
The error says what it means. Your entering the wrong username.
Visit this user's website Find all posts by this user
08-06-2008, 08:06 PM
Post: #14
Not Solved RE: Permisson when upgrading
(08-06-2008 12:56 AM)Tikitiki Wrote:  
(08-05-2008 01:14 PM)ahmed1 Wrote:  
(08-05-2008 03:53 AM)Tikitiki Wrote:  I'm sorry, I'm a bit confused. What exactly can't you do? Did you follow the instructions in the post MrDoom linked you too?

i am guessing he has the same problem as mine

i can't access the front end, because the files were replaced and the upgrade not completed (still didn't execute upgrade script) and the upgrade script just refreshes on using any member name, and gets an error abt wrong credentials when typing a completely non-existent name

thanks for your help in advance Shy

Ah,

Ok in that case what you can do is clear your cookies. This will allow you to log in via upgrade script again. Make sure your logging in with Admin credentials.

well i tried clearing cache and cookies, didn't work on firefox 3.0.1
worked on Opera just fine Confused
Find all posts by this user
08-07-2008, 07:04 AM (This post was last modified: 08-07-2008 07:06 AM by msupport.)
Post: #15
Not Solved Question RE: Permisson when upgrading
hmmm... Great idea ahmed1.... Cool

However, after restoring the backup I gave another try using Opera, Firefox, Explorer, Flock & Netscape... all of which give me the same error message about wrong admin login & password... Undecided

Also Tikitiki, after restoring my forums from backup I did in fact logged in using my admin login and password just to make certian I knew what they were before attempting the upgrade... Shy

After running the upgrade.php script... I tryed multipule times to enter login and password in case I was miss typing it and no caps lock was not on nor should have it had been cuz its all lower case.... Dodgy
Visit this user's website Find all posts by this user
08-07-2008, 07:54 AM (This post was last modified: 08-07-2008 07:58 AM by CinciBearFan.)
Post: #16
Not Solved Can't log in as admin
(08-07-2008 07:04 AM)msupport Wrote:  hmmm... Great idea ahmed1.... Cool

However, after restoring the backup I gave another try using Opera, Firefox, Explorer, Flock & Netscape... all of which give me the same error message about wrong admin login & password... Undecided

Also Tikitiki, after restoring my forums from backup I did in fact logged in using my admin login and password just to make certian I knew what they were before attempting the upgrade... Shy

After running the upgrade.php script... I tryed multipule times to enter login and password in case I was miss typing it and no caps lock was not on nor should have it had been cuz its all lower case.... Dodgy

I've tried everything as well, IE6, IE7, FF3, even though I had logged in only moments prior as admin, I can't get in anymore. Deleting all cookies, cache files, etc does not help.

I'm totally dead in the water here. I've even done a restore of the DB and no help.
Find all posts by this user
08-07-2008, 08:11 AM
Post: #17
Not Solved Smile RE: Permisson when upgrading
Hello, CinciBearFan...

If you are at the same stage as I... where you have just coppied the upgrade files over and then went to run the upgrade.php script... Then this would not have affected your database at all at this point...

Did you make a backup of your directory where your forums are kept? Its these files that would need to be restored to have your old working forum back...
Visit this user's website Find all posts by this user
08-07-2008, 11:53 AM (This post was last modified: 08-07-2008 09:06 PM by CinciBearFan.)
Post: #18
Not Solved RE: Permisson when upgrading
(08-07-2008 08:11 AM)msupport Wrote:  Hello, CinciBearFan...

If you are at the same stage as I... where you have just coppied the upgrade files over and then went to run the upgrade.php script... Then this would not have affected your database at all at this point...

Did you make a backup of your directory where your forums are kept? Its these files that would need to be restored to have your old working forum back...


OK I'm trying to re-upload those backup copies....but did that fix your not being admin? And then you relaunched?
(08-07-2008 11:53 AM)CinciBearFan Wrote:  
(08-07-2008 08:11 AM)msupport Wrote:  Hello, CinciBearFan...

If you are at the same stage as I... where you have just coppied the upgrade files over and then went to run the upgrade.php script... Then this would not have affected your database at all at this point...

Did you make a backup of your directory where your forums are kept? Its these files that would need to be restored to have your old working forum back...


OK I'm trying to re-upload those backup copies....but did that fix your not being admin? And then you relaunched?

Reloading the backup files allowed me to re-establish my old database. However, given the way the first updgrade failed, I had to also go to a backup copy of the database.

Now I'm back to where I started, and will re-try another upgrade this weekend probably.
I believe part of the source of this problem is Old install files being mixed in with new ones.

Might be worth making sure the old INSTALL directory is completely deleted before uploading the new files.

That seemed to help me out a bit with the re-upgrade.
Find all posts by this user
08-26-2008, 09:44 PM
Post: #19
Not Solved Bug RE: Permisson when upgrading
Finally fixed my upgrade problem with the admin login not working.

In the upgrade script I removed these lines:

if(!username_exists($mybb->input['username']))
{
$output->print_error("The username you have entered appears to be invalid.");
}


And these lines:

{
$output->print_error("The password you entered is incorrect. If you have forgotten your password, click <a href=\"../member.php?action=lostpw\">here</a>. Otherwise, go back and try again.");
}
else


And all seems to have worked just fine with the upgrade.

Not sure this is the best approch or method to solve the problem but it did seem to work for me...
Visit this user's website Find all posts by this user


Forum Jump:


User(s) browsing this thread: 1 Guest(s)

Contact Us | MyBB | Return to Top | Return to Content | Lite (Archive) Mode | RSS Syndication