2010-11-21, 07:18 PM
2010-11-21, 08:38 PM
In ./inc/init.php, find:
Add after:
If it's OK after doing this, it's a plugin, if it still happens, it's something else.
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.
2010-11-21, 08:49 PM
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
2010-11-21, 09:25 PM
Try it on the default theme, with all the header templates default.
2010-11-21, 09:34 PM
tried with default theme but the same issue. unable to login unless we refresh.
2010-11-22, 07:01 AM
Did you try it with the code AJS gave you?
2010-11-22, 07:47 AM
URL???
2010-11-23, 02:09 PM
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.
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.
2010-11-23, 04:55 PM
What code are you using the .htaccess in the root?
2010-11-23, 05:00 PM
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.