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

Home » FUDforum Development » Bug Reports » cant login with mozilla or opera
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
cant login with mozilla or opera [message #14591] Tue, 18 November 2003 12:04 Go to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
i think the problem has something to do with the setting "ENABLE URL SETTINGS" --- when this is disabled i can log in fine, but it creates a problem with IE because in the login form line displayed on the main page checking the cookie checkbox produces the same problem in IE.
Re: cant login with mozilla or opera [message #14592 is a reply to message #14591] Tue, 18 November 2003 13:27 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
actually now for whatever reason i cant log into the forum using IE OR moz !!! -- i have tried a couple of different logins that i had setup and the page just reloads -- so i cant get into the admin section. i have tried deleting the cookies on both browsers. Mad
Re: cant login with mozilla or opera [message #14596 is a reply to message #14591] Tue, 18 November 2003 14:30 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
the problem is much the same as this user's -- from installation issues --- admin login loop
Quote:

Hi

I have installed FUD and it is up and running in its initial state. It is now running on IIS with a MYSQL backend and PHP 4.3.4

When I login as the admin (http://au-webforum/forum/adm/admloginuser.php) I get a prompt for the admin username and password. I enter the password and it then it returns no error but again prompts for the username and password. This process continues and just loops and loops and loops.

I have set my IE security down to medium and checked all the standard stuff like enable cookies etc.

I also get this error when I go to the forum initially. Notice: Undefined index: QUERY_STRING in C:\Inetpub\wwwroot\forum\index.php on line 376

Not sure if these two problems are related.
Any help would be awesome.

Thanks
Josh

Re: cant login with mozilla or opera [message #14605 is a reply to message #14591] Tue, 18 November 2003 16:17 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
Are you using a Proxy?
Does your IP change every request?

I take it you are referring to the "Enable URL sessions" option?


FUDforum Core Developer
Re: cant login with mozilla or opera [message #14608 is a reply to message #14605] Tue, 18 November 2003 16:27 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
i'm not sure exactly what a proxy is but if its what i think it is ( something to do with being on a network in a large company ) then i'm not using one -- am on a typical dialup

my understanding of IP is that i get a different one every time i connect to the internet. (like i said i'm on a dialup)
( i have tried disconnecting and reconnecting but the problem persists)

Yes i am refering to the "Enable URL sessions" option.
this was the last (and more or less the only) thing i changed before the problem began - i cant change it back now though
Re: cant login with mozilla or opera [message #14610 is a reply to message #14608] Tue, 18 November 2003 17:19 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
Try the followings cookies.inc.t and see if the problem goes away.

(be sure to rebuild the theme after replacing the file).


FUDforum Core Developer
Re: cant login with mozilla or opera [message #14612 is a reply to message #14610] Tue, 18 November 2003 17:33 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
i uploaded that file to the server root dir/src replacing the .inc.t file that was already there ( actually i renamed the old one instead of deleting it)

there is no change in behaviour

!!! of course i cannot rebuild the theme as i cannot access the admin ctrl pannel because of the admin loop i am experiencing !!!

Re: cant login with mozilla or opera [message #14613 is a reply to message #14612] Tue, 18 November 2003 17:37 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
If you cannot rebuild the theme of course the change of the file is NOT going to fix the problem.

FUDforum Core Developer
Re: cant login with mozilla or opera [message #14614 is a reply to message #14613] Tue, 18 November 2003 17:46 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
i thought that - do you have a solution Mad
Re: cant login with mozilla or opera [message #14616 is a reply to message #14614] Tue, 18 November 2003 17:59 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 could modify the compiled cookies.inc and replace the entire ses_make_sysid() function with the one from cookies.inc.t

FUDforum Core Developer
Re: cant login with mozilla or opera [message #14618 is a reply to message #14616] Tue, 18 November 2003 18:12 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
nothing's changed

what i need is to be able to login to the admin section

[Updated on: Tue, 18 November 2003 18:14]

Report message to a moderator

Re: cant login with mozilla or opera [message #14619 is a reply to message #14618] Tue, 18 November 2003 18:15 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
Are you trying to login via the forum's login page or via the admin one? (you should be using the latter).

FUDforum Core Developer
Re: cant login with mozilla or opera [message #14620 is a reply to message #14619] Tue, 18 November 2003 18:21 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
neither of them work -- i suppose you mean www.mysite.com/forum/adm/
Re: cant login with mozilla or opera [message #14621 is a reply to message #14620] Tue, 18 November 2003 18:26 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
That's correct.

Are you certain you've modified the correct cookies.inc? Make sure the one you've modified is inside include/theme/default/.


FUDforum Core Developer
Re: cant login with mozilla or opera [message #14625 is a reply to message #14621] Tue, 18 November 2003 18:48 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
no i changed the one inside the new deault theme but i've since changed it back to the way it was and adjusted the file you said

that is the one inside

FUDforum/include/theme/default

but still no change




did i put the cookies.inc.t file in the correct place ?
Quote:

i uploaded that file to the server root dir/src replacing the .inc.t file that was already there ( actually i renamed the old one instead of deleting it)

Re: cant login with mozilla or opera [message #14626 is a reply to message #14625] Tue, 18 November 2003 19:52 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 cookies.inc.t needs to go into the src/ directory. When you rebuild the theme that file will be used to construct cookies.inc & compiled into index.php

You previously mentioned that you could login when URL sessions were off. If that is correct modify GLOBALS.php and change

$FUD_OPT_1 = some number;

to

$FUD_OPT_1 = some number &~ 128;


FUDforum Core Developer
Re: cant login with mozilla or opera [message #14628 is a reply to message #14626] Tue, 18 November 2003 20:30 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
could you please verify that these TWO things i've done have been correct before we proceed, thanks, as i am a novice at programming and a little confused

Firstly: the directory in which i installed the cookies.inc.t file was: /messageboard/thm
(where messageboard is the directory in which i made the initial install)



Secondly: there are 2 different GLOBALS.php files so i didnt know which you meant - so i tried first changing the file in the FUDforum/include directory as so:
/* $FUD_OPT_1		= 1739519103; */
$FUD_OPT_1 		= 1739519103 &~ 128;



then leaving that one changed i changed the file in the messageboard/include directory as so:
/* $FUD_OPT_1		= 1742664895; */
$FUD_OPT_1 		= 1742664895 &~ 128;


then i changed the first file back to the origional covering all the combinations
after each try i tried to login and was unsuccessful
have i done this correctly ?
Re: cant login with mozilla or opera [message #14629 is a reply to message #14628] Tue, 18 November 2003 20:43 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 cookies.inc.t should have been placed inside the src/ directory. There is ONLY 1 src/ directory that the forum creates, so you cannot confuse it with anything else.

That said replacing the file WILL NOT fix any problems, for changes to take effect you must rebuild all your active themes. If you cannot access the admin control panels to do so you need to edit include/theme/default/cookies.inc as per my earlier instructions.


FUDforum Core Developer
Re: cant login with mozilla or opera [message #14632 is a reply to message #14629] Tue, 18 November 2003 20:48 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
yes i have done all that ( to no avail )-- can you please reply to the second half of my question

Re: cant login with mozilla or opera [message #14633 is a reply to message #14632] Tue, 18 November 2003 20:54 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
There is only 1 physical GLOBALS.php file and it is located inside include/ directory. The other 2 GLOBALS.php files are symlinks to the original file.

FUDforum Core Developer
Re: cant login with mozilla or opera [message #14634 is a reply to message #14633] Tue, 18 November 2003 20:58 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
which include directory are you referring to - i have two of them !!
Re: cant login with mozilla or opera [message #14635 is a reply to message #14634] Tue, 18 November 2003 21:01 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 have 2 include directories? That's not possible, unless changed something. FUDforum has only 1 include/ directory.

FUDforum Core Developer
Re: cant login with mozilla or opera [message #14637 is a reply to message #14635] Tue, 18 November 2003 21:11 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
well I certainly didnt change anything - i am quite out of my depth and trying to touch as little as possible ----


the two directories i am looking at on my ftp program are:


/messageboard/include

and

/FUDforum/include


see attached screenshot

Re: cant login with mozilla or opera [message #14639 is a reply to message #14637] Tue, 18 November 2003 21:17 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
Hmm by the looks of things You installed the forum twice, once you installed it in such a way that data dir was different from web dir and the other instance you re-installed it so that the two directories were the same.

You need to open GLOBALS.php inside the webdir and see which GLOBALS.php it tries to include and modify that GLOBALS.php


FUDforum Core Developer
Re: cant login with mozilla or opera [message #14640 is a reply to message #14639] Tue, 18 November 2003 21:23 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
but if i've installed the forum twice is the entire installation not screwed up ??


Re: cant login with mozilla or opera [message #14641 is a reply to message #14640] Tue, 18 November 2003 21:25 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
Based on the directory structure shown, the ONLY forum install that exists is the one inside the messageboard directory, the FUDforum directory only contains DATA files, hence being the data_dir.

FUDforum Core Developer
Re: cant login with mozilla or opera [message #14642 is a reply to message #14641] Tue, 18 November 2003 21:30 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
so it should be ok then ?
Re: cant login with mozilla or opera [message #14643 is a reply to message #14642] Tue, 18 November 2003 21:36 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
I do no know...

FUDforum Core Developer
Re: cant login with mozilla or opera [message #14646 is a reply to message #14591] Tue, 18 November 2003 22:18 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
Quote:


You need to open GLOBALS.php inside the webdir and see which GLOBALS.php it tries to include and modify that GLOBALS.php


could you explain what you mean here in as much detail as possible please.

i particularly need to know what you mean by


Quote:

see which GLOBALS.php it tries to include


include when ???

how do i see ???


thanks
Re: cant login with mozilla or opera [message #14647 is a reply to message #14646] Tue, 18 November 2003 23:06 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
Inside /messageboard you should have GLOBALS.php file. Inside that file there will be and include statment trying to include the 'real' GLOBALS.php file. That is the file you should edit if you want/need to change any settings manually.

FUDforum Core Developer
Re: cant login with mozilla or opera [message #14654 is a reply to message #14647] Wed, 19 November 2003 02:06 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
ok well i have opened the GLOBALS.php file inside messageboard/include and there is no include statment in there - there is the following which seem unrelated though just in case:


  • $INCLUDE = "/home/m/u/murphyr/public_html/messageboard/include/";
  • require($INCLUDE.'core.inc');
Re: cant login with mozilla or opera [message #14655 is a reply to message #14591] Wed, 19 November 2003 02:13 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
i can reinstall the forum but i have some concerns:
i dont know if you remember but you had to log into my account to install the forum for me - you said that the problem is being fixed in a future update which i'm not sure has been released yet so i dont want to try to reinstall and end up not being able to -- especially if you think it would be easier to fix this problem instead - also there is not much point in reinstalling if it wont solve the issue - ie i only made a small change to the global preferences and now i cant even log into the forum, which seems strange to me !!!
Mad
Re: cant login with mozilla or opera [message #14656 is a reply to message #14591] Wed, 19 November 2003 04:06 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
decided to reinstall - used FUDforum v2.6.0 Release Candidate #6 installer (with zlib compression) -- had a problem at step 2 but discovered that my FTP program ( FILEZILLA) was incorectly (while set to auto) using ASCII instead of BIN - when i reuploaded there were no more problems -- i still have an issue with the behaviour of the login in mozilla which i will begin in a new thread tomorrow -

SUGGESTION :: maybe there is something that can be included in the install script that can make it 'clued in' to this problem as i think filezilla is a pretty popular ftp and i imagine a lot of people leave it set at the default which is auto.




Cool Cool Cool Cool Cool

[Updated on: Wed, 19 November 2003 04:08]

Report message to a moderator

Re: cant login with mozilla or opera [message #14658 is a reply to message #14656] Wed, 19 November 2003 11:09 Go to previous messageGo to next message
Olliver   Germany
Messages: 443
Registered: March 2002
Karma: 0
Senior Member
Popularity doesn't necessarily equal to usability:
FTP programs which default to ascii for php files rather indicate thoughtlessness of their creators (which may think there's nothing else but Win32 on this planet). \n\r only works in Win32 environments without problems (except the scripts expect binary input, then it wouldn't work despite Win32) however the majority of webservers run UNIX so it's not too surprising people get b0rked scripts with unexpected behaviour. That's why I hope you're wrong with your guess and the majority of Win32 people use FTP programs with reasonable settings.

SCNR

Olliver
icon10.gif  Re: cant login with mozilla or opera [message #14660 is a reply to message #14591] Wed, 19 November 2003 11:45 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   Ireland
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
well so do i ----

however it really was a bit of a sweeping statement anyway as i'm by no means an expert in this area --- no i just went along to download.com and picked up the most popular of the (FREE) FTP programs -- so that was FILEZILLA at the time -- before that i was using WS_FTP which i found to be ok but a little on the non friendly side --- lately i replaced my standard windows notepad with HTML KIT which i have found to be very helpful --- however these are all free programs, maybe a serious developer should not take these sort of programs seriously and spend some money on a good one -- or maybe there are good free ones out there ---- i'm just posing the question for general conversation --- maybe a discussion on another forum is in order !!! Razz
Re: cant login with mozilla or opera [message #14677 is a reply to message #14660] Wed, 19 November 2003 15:04 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
Both install & upgrade script contain a short string of binary data at the start of the file, which tricks many win32 programs into thinking the file contains binary data. Unfortunately as you see some programs ignore this...

FUDforum Core Developer
Re: cant login with mozilla or opera [message #14846 is a reply to message #14591] Sat, 22 November 2003 04:50 Go to previous messageGo to next message
bobmurphy is currently offline  bobmurphy   United Kingdom
Messages: 166
Registered: November 2003
Location: ireland
Karma: 0
Senior Member
are you saying that ALL php files going to a unix server should be uploaded in binary ?

both of the programs i use have a list of filetypes that they will upload in ascii - the rest they upload in binary -- .php files are uploaded in ascii by default in both programs --

that's HTMLkit and FILEZILLA --- both of which i thought were reasonably well thought of ---
Re: cant login with mozilla or opera [message #14849 is a reply to message #14846] Sat, 22 November 2003 05:26 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
no just the install or upgrade script because they contain binary archive at the end of the file. Special case.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: b0rked members page in RC 7
Next Topic: cp icons missing in opera 7.11
Goto Forum:
  

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

Current Time: Sun Nov 24 07:41:23 GMT 2024

Total time taken to generate the page: 0.02886 seconds