MyBB Community Forums

Full Version: Need to click refresh to show our login status.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
i'm feeling the same, had some plugins installed.
any other suggestions?
In ./inc/init.php, find:
define("TIME_NOW", time()); 

Add after:
define("NO_PLUGINS", 1); 

If it's OK after doing this, it's a plugin, if it still happens, it's something else.
got these parse errors, after adding that line of code:

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/global.php(536) : eval()'d code on line 85

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/global.php(539) : eval()'d code on line 14

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/index.php(163) : eval()'d code on line 2

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/index.php(262) : eval()'d code on line 4

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/index.php(274) : eval()'d code on line 12

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/inc/functions_forumlist.php(243) : eval()'d code on line 5

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/inc/functions_forumlist.php(243) : eval()'d code on line 5

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/inc/functions_forumlist.php(243) : eval()'d code on line 5

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/inc/functions_forumlist.php(243) : eval()'d code on line 5

Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/dsunds/public_html/forum/index.php(337) : eval()'d code on line 22
Try it on the default theme, with all the header templates default.
tried with default theme but the same issue. unable to login unless we refresh.
Did you try it with the code AJS gave you?
URL???
yep, i did as ajs suggested but no use.
i just found that problem is with url forwarding.

mybb is installed in subfolder of domain root and i added .htaccess file to direct the domain to subfolder.
when we open site and login, nothing happens and it is showing the index page only which is at domain.com, but when we point the url to domain.com/subfolder/index.php it is showing as logged in. again if we remove subfoler/index.php in domain pointer and hit enter, it is showing us as guest with index page.
What code are you using the .htaccess in the root?
Options +FollowSymLinks 
RewriteEngine on 
RewriteCond %{IS_SUBREQ} false
RewriteRule ^index.php$ http://www.domain.com/board/ [R=301,L]
RewriteCond %{HTTP_HOST} ^domain.com [NC] 
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
RewriteCond %{REQUEST_URI} !^/board/  
RewriteRule ^(.*)$ /board/$1 [L] 

<Files .htaccess>
Order Allow,Deny
Deny from All
</Files>

this .htaccess file is in root folder, but there is another one in the mybb installation folder.
Pages: 1 2 3