Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
1 registered (driv), 35 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 11/22/06
Posts: 163
Top Posters (30 Days)
Ruben 51
DennyP 24
Gizmo 24
Dunny 15
SteveS 14
AllenAyres 12
dbremer 10
SD 10
drkknght00 9
doug 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Page 1 of 2 1 2 >
Topic Options
#20681 - 11/24/01 01:48 PM Administrator login problem
Anonymous
Unregistered

I've been checking the messages, butI haven't seen any other postings on this, which means that it's probably something *I'm* doing wrong, but I need some help figuring out exactly what this is. <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />

I installed the system on Wednesday with no major problems and I was able to set up a board, set stylesheets, etc. When I logged in from home Friday, I was not able to access the Administrator menu; I got the "you must be logged in to use this feature" message which, as I read the admin/login.php file comes up when the system doesn't recognize the user's status as an Administrator or a Moderator. Instead of returning me to login, though, it returned me to my user page, which shows the Admin menu choice.

I then got the "/languages/D/login" error, decided to wipe the installation and the database and try again. (*After* I reinstalled, I discovered the phpMyAdmin cookie solution. Ah well!) However, I *still* cannot get to the Admin menu. I've checked the database (using a different browser), and there's no question that my U_Status is set as Administrator. And I don't understand why I could reach the menu at work on Wednesday, but not from home on Friday, unless it's another cookie problem.

I'm still working on it, but any ideas would be appreciated!

Thanks!

"Technique without ideals is a menace. Ideals without technique are a mess." -- Karl Llewellyn
Top
#20682 - 11/24/01 06:12 PM Re: Administrator login problem
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Hmm. If it's giving you the admin link then it definitely recognizes you as an admin in the main directory. It sounds like for some reason when trying to get into the admin directory the cookie isn't being read properly. Does this happen with any browser that you try?

-------------------
Rick Baker
UBBThreads developer
Top
#20683 - 11/24/01 10:05 PM Re: Administrator login problem
Anonymous
Unregistered

</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Originally posted by Rick Baker:
Hmm. If it's giving you the admin link then it definitely recognizes you as an admin in the main directory. It sounds like for some reason when trying to get into the admin directory the cookie isn't being read properly. Does this happen with any browser that you try?

-------------------
Rick Baker
UBBThreads developer</font><hr /></blockquote><font size="" face="">I've had the same problem with my laptop, The desktop at home knows me and allows me into the admin area without a problem, but last time I was on with my laptop I couldn't get past the admin/login.php I got the link and it knew it was me but not about to let me into the admin area.

In fact, I just tried it again here at home, I logged out of the system from my desktop, I've got my laptop setup on my network at home so I've got dsl access with it sitting here, I logged in as me on the laptop, admin menu, and got returned to my user page as me.

5.4.6php, IE 5.5, anything else that would help??

Scott Cargill -WebMaster
<img src="http://www.easthillskungfu.com/salute.gif" alt=" - " />
East Hills Kung Fu San Soo
Top
#20684 - 11/25/01 01:07 AM Re: Administrator login problem
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
That is strange. The only thing that would make this not work is incorrect cookie info. What you probably need to do is run some sort of cookie management tool to check and see what cookies are being set and make sure they are being read correctly from subdirectories.

-------------------
Rick Baker
UBBThreads developer
Top
#20685 - 11/25/01 01:51 AM Re: Administrator login problem
Anonymous
Unregistered

</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Originally posted by Rick Baker:
That is strange. The only thing that would make this not work is incorrect cookie info. What you probably need to do is run some sort of cookie management tool to check and see what cookies are being set and make sure they are being read correctly from subdirectories.

-------------------
Rick Baker
UBBThreads developer</font><hr /></blockquote><font size="" face="">Well I dunno if that helped you or not, but I grabbed cookie pal and ran through what cookies I had relating to the site, everything looked ok, but I deleted them to see, got new cookies sent to the lap top and all's well...

dunno why the problem pop'd up in the first place, but another grimlin I guess......

Scott Cargill -WebMaster
<img src="http://www.easthillskungfu.com/salute.gif" alt=" - " />
East Hills Kung Fu San Soo
Top
#20686 - 11/26/01 03:30 AM Re: Administrator login problem
Anonymous
Unregistered

Well, I tried that myself: Deleted all the cookies my site was setting, refused new cookies and logged in. Problem gone. I then logged out, accepted the new cookies and haven't had a problem since. *shrugs*

At least Scott having the problem made me feel less of a dummy! <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />

"Technique without ideals is a menace. Ideals without technique are a mess." -- Karl Llewellyn
Top
#20687 - 11/25/01 06:30 PM Re: Administrator login problem
Anonymous
Unregistered

</font><blockquote><font size="1" face="">quote:</font><hr /><font size="" face="">Originally posted by matantisi:
Well, I tried that myself: Deleted all the cookies my site was setting, refused new cookies and logged in. Problem gone. I then logged out, accepted the new cookies and haven't had a problem since. *shrugs*

At least Scott having the problem made me feel less of a dummy! <img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />

"Technique without ideals is a menace. Ideals without technique are a mess." -- Karl Llewellyn</font><hr /></blockquote><font size="" face="">No dummies here, just problems to be solved. <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />

Scott Cargill -WebMaster
<img src="http://www.easthillskungfu.com/salute.gif" alt=" - " />
East Hills Kung Fu San Soo
Top
#20688 - 11/28/01 04:21 AM Re: Administrator login problem
Anonymous
Unregistered

I've found that logout.php is your friend!

I bet my users are throwing fits. Thanks to my old ISP deciding that I shouldn't be able to backup my forums database (just after I had already done so), they locked out my forums subdomain.

So, I moved it to a subdomain on a temporary domain name I was using for the month before my site moved over to it's new server.

Then I decided it would be easier if the forums were part of the main site... then our old isp shut down our old main site, and we transferred that domain over...

...and now everything's up at the old domain.

The cookies changed *3* times, though. Now do you see why they might be a bit upset? Oh well, this time I made the cookies domain wide so I could work on using the Users database and cookies for other parts of the site.

Administrator, Videogame Music Archive
Top
#20689 - 12/06/01 12:46 PM Re: Administrator login problem
Anonymous
Unregistered

I have tried to remove cookies and gone back in to the login but still get nowhere.
well, I get to the control panel but when I hit the admin. or email, or any other button on that page it says i am not logged in.

:/ help
I have also tried this in IE5.5 and NE 6.1
Top
#20690 - 12/06/01 01:11 PM Re: Administrator login problem
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Do you have the config file set to use cookies or sessions? What's the url of your site?

-------------------
Rick Baker
UBBThreads developer
Top
#20691 - 12/06/01 05:27 PM Re: Administrator login problem
Anonymous
Unregistered

hi rick

yes the config is set to cookies not sessions.

the url of the site is an IP as I am tryin gto get everything functioning before goin live.

http://66.34.8.81/ubbthreads/start_page.php
Top
#20692 - 12/06/01 05:53 PM Re: Administrator login problem
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Ok, what it looks like is you have a whole bunch of blank lines after the closing php tag ?> in your config file. PHP treats this as header info so it can't set the cookie. You need to make sure there are no blank lines or spaces after the cloosing php tag in your config.inc.php file.

-------------------
Rick Baker
UBBThreads developer
Top
#20693 - 12/06/01 09:06 PM Re: Administrator login problem
Anonymous
Unregistered

Hi rick

I have opend up the config file in BBEdit and looked for the spaces you mentioned but can't find any. the cursor end right at ?>

I am uploading the config file via ftp client Interarchy 5.0.1 for MAC. as ASCI

still no luck loggin in :/
Top
#20694 - 12/06/01 11:16 PM Re: Administrator login problem
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Now it looks like it's coming from mysql.inc.php. The error when I try to login says headers already sent at line 255, but there are only 127 lines to the distributed mysql.inc.php file.

-------------------
Rick Baker
UBBThreads developer
Top
#20695 - 12/06/01 11:38 PM Re: Administrator login problem
Anonymous
Unregistered

i'm lost. should I start over again?
Top
#20696 - 12/07/01 12:03 AM Re: Administrator login problem
Rick Offline
Post-a-holic
Registered: 06/04/06
Posts: 10164
Loc: Aberdeen, WA
Not sure. It looks like however the files are getting uploaded they are getting blank lines added to the end of them. There are only 4 files that this is really important:

ubbt.inc.php
theme.inc.php
config.inc.php
mysql.inc.php

-------------------
Rick Baker
UBBThreads developer
Top
#20697 - 12/07/01 11:21 AM Re: Administrator login problem
Anonymous
Unregistered

Rick

If i again download the UBB and try to upload only
ubbt.inc.php
theme.inc.php
config.inc.php
mysql.inc.php

will that possibly fix the problem ..assumin gthe spaces are gone

Paul
Top
#20698 - 12/07/01 11:46 AM Re: Administrator login problem
Anonymous
Unregistered

ok, looks like the interarchy program is having problems . i used the new Fetch FTP client and all seems to work fine.

I am not sure why Interarchy adds those spaces but there you have it. For mac users beware of interchy 5.0.1

thanks for all your help rick.. i hope thats it for the install <img border="0" title="" alt="[Smile]" src="images/icons/smile.gif" />
Top
Page 1 of 2 1 2 >



Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Due Date Calculator-Calculate When Your Baby is Due
by StewartMyduedate
12:54 AM
Temporary Password email not being received
by
05/24/12 10:02 PM
Ability to "like" individual posts (not Facebook "likes)
by doug
05/23/12 09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
Forum Stats
10491 Members
36 Forums
33842 Topics
181709 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image