Previous Thread
Next Thread
Print Thread
Rating: 5
#212418 10/13/2001 10:14 AM
Joined: Sep 2001
Posts: 17
alr
Offline
Newbie
Newbie
Offline
Joined: Sep 2001
Posts: 17
Just installed 5.4.4 PHP.

Registered, got my password, logged in.

Who's online shows me with a status of Administrator.

Here is the problem.

When I click on Admin I get the following:

You must login first.
To access this section you must first be logged in. You will be taken to the login screen shortly.

It then sends me to my control panel.

Ideas?

tia

..

Sponsored Links
hsz #212419 10/13/2001 10:46 AM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Are you running in cookie or session mode? Do you have the $thispath variable set properly in the main.inc.php file?


UBB.threads Developer
Sally #212420 10/13/2001 11:11 AM
Joined: Sep 2001
Posts: 17
alr
Offline
Newbie
Newbie
Offline
Joined: Sep 2001
Posts: 17
Fixed it, but don't know how.

Out of frustration I RAPID-clicked on admin, it went thru that time.

Must be my imagination :)

thanks 4 the reply

hsz #212421 10/13/2001 11:19 AM
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
Great! Let me know if it acts up again.


UBB.threads Developer
Joined: Sep 2001
Posts: 17
alr
Offline
Newbie
Newbie
Offline
Joined: Sep 2001
Posts: 17
This occured to me, it may be helpful if someone else runs into this.

I installed the Perl version first, all was fine. My browser (IE5.5) would then have a cookie.

I then installed the PHP version. Different database, different directories. I had it set to use cookies.

I used the SAME USER NAME both times.

I then had the Admin problem with PHP where I was logged in but it thought I was not.

While the PHP version was up in my browser, I opened a second browser, went to the Perl version and logged in.

I then went back to the PHP browser window, clicked Admin, and it worked.

My guess is that there was someting goofy going on with the cookie?

Most probably won't see it as they probably only install one version.

out

..

Sponsored Links
Joined: May 2002
Posts: 3
Lurker
Lurker
Offline
Joined: May 2002
Posts: 3
After upgrading to Threads 6 br2, I have the same problem.

I had the Zlib compression error handled like described by disabeling the display_errors to Off.
But now, when logging on with my admin account, I come at the main index page. There it shows that I'm loged in as my admin account. I also have the ADMIN button on top.
But everytime when I click it, Ill get:

To access this section you must first be logged in. You will be taken to the login screen shortly.

And I CAN't find a solution to get into the ADMIN part anymore.

Now i have changed from cookie into session, ill be able again to access as an admin.

It must be in the cookie settings.
What can be the problem of it??

Last edited by BarrierMan; 05/09/2002 11:43 AM.
Joined: May 1999
Posts: 3,039
Guru
Guru
Offline
Joined: May 1999
Posts: 3,039
It could be your cookiepath setting in the config file. You might want to check this and make sure that it if it isn't empty then it is an absolute path like "/".

Also, if you need to change this you'll probably want to close your browser and manually delete your cookies before trying to login again.


UBB.threads Developer
Joined: May 2002
Posts: 3
Lurker
Lurker
Offline
Joined: May 2002
Posts: 3
I tried this.......

Unfortunatly this did NOT resolved my problem.....

Joined: Apr 2002
Posts: 206
Member
Member
Offline
Joined: Apr 2002
Posts: 206
I'm now having this happen, on UBBT 5.4.6 as well. I have a new v6 forum installed on another subdomain, and a very altered 5.5 forum on yet another subdomain...


beatdown #212427 05/26/2002 1:04 AM
Joined: Apr 2001
Posts: 45
Power User
Power User
Offline
Joined: Apr 2001
Posts: 45
Same-same. 5.4.6 to 5.5.1 to 6.0 br5. cookie mode and the $thispath variable is set properly. Definetely makes things ockward.



Sponsored Links
med2004 #212428 08/23/2002 7:04 AM
Joined: Aug 2002
Posts: 39
User
User
Offline
Joined: Aug 2002
Posts: 39
Currently i have exactly the same problem...

All internal paths ( like /home/blablabla... ) was changed,
while the URL is the same,
and i simply copied few days old backup,
with changing configuration;
first i did the update 6.02 to 6.03 but now it's the same
with all old files too ( 6.02 )

The path in main.inc.php is correct,
i already deleted all cookies related to the forum,
even deleted the U_SessionId of the admin user
at the same time after closing browser,
but i still get the same
"You must login first.
To access this section you must first be logged in. You will be taken to the login screen shortly."

It also is not connected especially to Admin link,
whereever i click after login
( i'm on "Home" page after login ) -
i got the "Login" not "Logout" link on the top,
what means the forum counts me as not logged in

The issue seems to be quite old,
is there any solution already ?


hougie #212429 08/23/2002 7:34 AM
Joined: Aug 2002
Posts: 39
User
User
Offline
Joined: Aug 2002
Posts: 39
An addition...
There was a preview domain before the server was changed,
so you could see how the new server is working
before the main domain was linked to it.
Currently the preview domain is still available
( like http://<my_own_domain>.de.preview.<provider_domain>.de )
I tested with replacing the the donain with preview domain again,
and it works.
I went to the Admin section, and changed both URL input boxes to the real domain -
i can not login again
( so it is not possible that i messed up something with config files,
i used admin section of the forum to change configuration )
I have access to everything in Forum, just as anonymous user,
by clicking on any link after logging in ( and being in "Home" ),
i'm not logged in anymore !
....................

I'm in office, here i can log in, no problems,
so may be somehow i did not deleted all cookies ?
I sorted them for date...
But anyway, it is not so good solution to tell users
"delete all your cookies" or "try to find and delete all cookies regarding my forum"...
Is there any way to fix it on the server side ?
( withoult asking users to delete thier cookies )

Last edited by Burns; 08/23/2002 10:00 AM.
hougie #212430 08/23/2002 10:05 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
When I switched hosts.... I had to move my .com address and during the transition we used .net.

Well after the conversion and I switched everything over to .com, my users had nightmares.... it seems the cookies from .com and .net are different.

All was fixed on our end by having the users trash their cookies. But before they did that, they could not remain logged in.

Also... make sure it's using the same domain everywhere. Watch the URL bar. If it changes to a different domain, you won't have the cookie anymore.

I ultimately had to set up a redirect so that anyone still using the .net address of mine would get switched to .com before they started on threads.... because it didn't like using it under 2 domains.

Hope that helps!

Daine #212431 08/23/2002 10:56 AM
Joined: Aug 2002
Posts: 39
User
User
Offline
Joined: Aug 2002
Posts: 39
yep, thank you, it helps to know at least,
that i probably did not do anything wrong.
It is really exactly the same situation:
switch from domain 1 to domain 2 - still OK,
switch back from 2 to 1 - can not stay logged in !
( not sure if this matter, i have choosen "dont remember me " )

I hope UBBThreads team can implement something,
so admins don't need to make all thier users kill cookies
( search for forum cookies, because deleting all cookies in general would be really annoying ),
something that we could do on the server side
to solve this problem...

Last edited by Burns; 08/23/2002 10:57 AM.
hougie #212432 08/23/2002 11:01 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Here are some specific directions for finding and deleting your cookies for each operating system in a FAQ forum at my site.

There is also something which is easy for you to install called cookiepal.php.

You can see it work in that link I gave you above. But it will show you all your cookies for the site and delted them.

You can find and download JustDave's cookie pal script here.

Josh

Daine #212433 08/23/2002 11:24 AM
Joined: Aug 2002
Posts: 39
User
User
Offline
Joined: Aug 2002
Posts: 39
Many thanks !
I'm still in office,
i'll try to fix the cookies with you help site when i come back home
If it will be fast and easy it could be acceptable even for the users ...
But anyway i think it would be better to be able choose a special name for cookies files,
so old cookies would be just ignored,
if you change cookies prefix after changing domain back
( i think there was another forum software, that had this option by default in admin... )
So i still hope, anyone from Dev Team respond too...

Oh, and by the way - may i copy your help post/thread
to my forum or my site ?

Burns

Last edited by Burns; 08/23/2002 11:25 AM.
hougie #212434 08/23/2002 11:52 AM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
6.1 allows you to customize the cookie prefix to eliminate this type of problem.

Yes, you are welcome to copy anthing from my help forum that you like.


Daine #212435 08/23/2002 11:57 AM
Joined: Aug 2002
Posts: 39
User
User
Offline
Joined: Aug 2002
Posts: 39
great news, thanks again !
Hope it will not take too long till 6.1 release

hougie #212436 08/23/2002 12:34 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I've been testing 6.1 Br1 and it seems pretty stable. Havne't been able to break it.

Once I finish updating my hacks, I may go live with the beta.

Joined: Aug 2002
Posts: 39
User
User
Offline
Joined: Aug 2002
Posts: 39
Hi!
Sorry to say it,
but i followed all instractions and it does not solved my problem,
i still can not stay logged on this computer.

The script does not deletes all cookies,
while i had 4 or 5 all like <myname>[number].txt,
where numbers was 2, 3, 4 and 5
Sure this may be correct since it could be enough if it changed index.dat.
I deleted everything with my doamin name in text
( made a search for domain name in text in Cookies folder ),
but even this did not soved the problem
I have correct cookies setting of IE and the prooven 5.5 SP2 version, win98
I use ZoneAlarm 3, but everything is set correct there,
and anyway i have referer disabled on my board
( $config['disablerefer'] = "1"; )

I now even removed all cookies from Cookies folder,
and only index.dat is left there.
index.dat is altered after the script run, but the .txt file
( new created after new login ) stay the same.
But even if i delete the new .txt file after running the script ( and index.dat is altered ) -
the problem is still there

hougie #212438 08/24/2002 6:01 AM
Joined: Aug 2002
Posts: 39
User
User
Offline
Joined: Aug 2002
Posts: 39
Well... somehow it is working now...
But only after windows restart;
i also started first win2k ( another partition ),
and checked cookies on w98 partition:
holy crap ! how is it possible there was 7 differnt cookie
.txt files, while i deleted all but one before on win98 ?
OK deleted them now from w2k, logged in w98,
stay logged in forum...

It's sad, i could not find an ultimative solution
( it should be easy and fast for users... )

Daine #212439 11/16/2002 4:13 PM
Joined: Feb 2002
Posts: 91
Journeyman
Journeyman
Offline
Joined: Feb 2002
Posts: 91
With all do respect.

Before directing others to your site, you should issue a warning that it has adult content.

I went there and the first thing I saw was an advert with 2 men having sex.

Not all would want to see that.



-------------
Youuuuuuuuuuu Rang?
#212440 11/16/2002 5:51 PM
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
I'd been doing that so long.... I figured every body knew.

All that help/how to stuff has been moved here to the "How To / Site Help" forum, for just that reason.

This is a way old thread.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)