MyBB Community Forums

Full Version: Strange login time behavior
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hi I have an issue with Login

whenever I login with "abc.com" I get authorization mismatch error but when I login with "abc.com/index.php" , I am able to login successfully.

Can anybody please help me with this?
can you show us the error.log
Do you use the same login form to log into your forum in both scenarios?

First of all check that the following input field is part of your login form:
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />

[ETS]
(2021-05-20, 07:18 PM)beast Wrote: [ -> ]can you show us the error.log
There is nothing in error log:


error_log ( ASCII text )
[01-May-2021 19:31:29 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041672 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:31:37 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041672 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:31:42 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:31:52 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:32:06 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:32:44 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:32:51 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:33:59 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:35:39 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:36:07 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:36:30 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:37:41 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:37:45 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:41:45 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:46:37 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:48:56 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:51:42 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:53:08 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 19:53:23 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 20:06:12 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 20:07:18 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 20:07:21 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 20:07:25 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659
[01-May-2021 20:08:34 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041736 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659

(2021-05-20, 09:21 PM)[ExiTuS] Wrote: [ -> ]Do you use the same login form to log into your forum in both scenarios?

First of all check that the following input field is part of your login form:
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />

[ETS]

I checked "member_login" & "header_welcomeblock_guest". Both have
 <input name="my_post_key" type="hidden" value="{$mybb->post_code}" /> Sad

I feel like yet I am not sure that probably it has somthing to do with .htacess file. Sad 

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Hey,

Which theme are you using? Which MyBB version are you using?

Can you take a look at - https://community.mybb.com/thread-218862.html first of all
(2021-05-21, 08:42 AM)Ben Wrote: [ -> ]Hey,

Which theme are you using? Which MyBB version are you using?

Can you take a look at - https://community.mybb.com/thread-218862.html first of all
 I am using 1.8.26 version & default theme.
Here is the link to my site:

MY SITE


I tried your reference link, made all the suggested changes & still the issue remains Sad
(2021-05-21, 12:08 PM)Mridul Koul Wrote: [ -> ]Here is the link to my site:

://kashyapkashmiri.in/

It seems that your board URL is set to be prefixed with www., and so is your board Cookie Domain setting. Either switching to use the apex (root) domain for those settings or accessing your forum via www.kash.... would be fine.
(2021-05-21, 04:08 AM)Mridul Koul Wrote: [ -> ]
(2021-05-20, 07:18 PM)beast Wrote: [ -> ]can you show us the error.log
There is nothing in error log:


error_log ( ASCII text )
[01-May-2021 19:31:29 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041672 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659

(...)

The errors look interesting to me. Do you have any idea about which thread/post may encounter this issue?
(2021-05-21, 12:44 PM)noyle Wrote: [ -> ]
(2021-05-21, 04:08 AM)Mridul Koul Wrote: [ -> ]
(2021-05-20, 07:18 PM)beast Wrote: [ -> ]can you show us the error.log
There is nothing in error log:


error_log ( ASCII text )
[01-May-2021 19:31:29 UTC] PHP Fatal error:  Allowed memory size of 134217728 bytes exhausted (tried to allocate 156041672 bytes) in /home/da566zxtyhhe/public_html/inc/class_parser.php on line 659

(...)

The errors look interesting to me. Do you have any idea about which thread/post may encounter this issue?

This I already resolved couple of weeks backs when I accidentally uploaded more than 4000 bad words in "Word Filters" & so this fatal error of memory exhausted appears & whole site went down.

(2021-05-21, 12:42 PM)noyle Wrote: [ -> ]
(2021-05-21, 12:08 PM)Mridul Koul Wrote: [ -> ]Here is the link to my site:

://kashyapkashmiri.in/

It seems that your board URL is set to be prefixed with www., and so is your board Cookie Domain setting. Either switching to use the apex (root) domain for those settings or accessing your forum via www.kash.... would be fine.

AH YESSS! you are right about it.

But I didn't understand this part correctly  "Either switching to use the apex (root) domain for those settings". Like what exactly what I have to do to make it work for both with & without "www"?
(2021-05-21, 01:02 PM)Mridul Koul Wrote: [ -> ]AH YESSS! you are right about it.

But I didn't understand this part correctly  "Either switching to use the apex (root) domain for those settings". Like what exactly what I have to do to make it work for both with & without "www"?

Hmm, there might be another solution. Removing the www. prefix from the Cookie Domain setting would help. Doing so should allow successful user login/logout when visiting your forum with or without "www" or with any other sub domains.
Pages: 1 2