cant login with mozilla or opera [message #14591] |
Tue, 18 November 2003 12:04 |
bobmurphy
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 #14605 is a reply to message #14591] |
Tue, 18 November 2003 16:17 |
Ilia
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 #14610 is a reply to message #14608] |
Tue, 18 November 2003 17:19 |
Ilia
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 #14616 is a reply to message #14614] |
Tue, 18 November 2003 17:59 |
Ilia
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 #14621 is a reply to message #14620] |
Tue, 18 November 2003 18:26 |
Ilia
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 #14626 is a reply to message #14625] |
Tue, 18 November 2003 19:52 |
Ilia
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 #14629 is a reply to message #14628] |
Tue, 18 November 2003 20:43 |
Ilia
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 #14633 is a reply to message #14632] |
Tue, 18 November 2003 20:54 |
Ilia
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 #14635 is a reply to message #14634] |
Tue, 18 November 2003 21:01 |
Ilia
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 #14639 is a reply to message #14637] |
Tue, 18 November 2003 21:17 |
Ilia
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 #14641 is a reply to message #14640] |
Tue, 18 November 2003 21:25 |
Ilia
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 #14647 is a reply to message #14646] |
Tue, 18 November 2003 23:06 |
Ilia
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 #14658 is a reply to message #14656] |
Wed, 19 November 2003 11:09 |
Olliver
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
|
|
|
|
Re: cant login with mozilla or opera [message #14677 is a reply to message #14660] |
Wed, 19 November 2003 15:04 |
Ilia
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 #14849 is a reply to message #14846] |
Sat, 22 November 2003 05:26 |
Ilia
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
|
|
|