• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.2 Cant logon at main forum page....

Each time I try to logon it takes me right back to my login page...if I browse to a specific thread I can logon but when I go back to the forums tab it logs me out again. Server error logs in admin shown below...Any ideas??

Server Error Log

Error Info
XenForo_Exception: Invalid model 'XenForo_Model_Sitemap' specified - library/XenForo/Model.php:192
Generated By: Unknown Account, 9 minutes ago
Stack Trace
#0 /home/zspotcom/public_html/sitemap.php(16): XenForo_Model::create('XenForo_Model_S...')
#1 {main}
Request State
array(3) {
["url"] => string(34) "http://www.z35spot.com/sitemap.php"
["_GET"] => array(0) {
["_POST"] => array(0) {


XenForo moderator
Staff member
Have you recently upgraded?
It looks like some of the files may not have uploaded correctly.

You could try uploading the upgrade .zip contents again.
I tired to upgrade to 1.4 the other night, ended up having to restore from back up....everything was wiped back to scratch after the upgrade.


XenForo moderator
Staff member
It would appear you may have a discrepancy between the server files and database.

Ensure you have the correct files on the server for the version of XenForo you are running.
if I attempt the 1.4 upgrade again...during the file upload process, I put all of the files from the upload folder into the install folder on my server correct?


XenForo moderator
Staff member
The contents of the upload folder go where your current installation is, overwriting the existing files and folders.
I reuploaded the 1.4.1 upgrade files, re ran the upgrade and it completed successfully. I am still unable to logon, the server errors are gone. Any ideas? I went through and rebuilt all the caches. I can still logon if I goto a thread and logon but once I go back to the home page or the forum tab it logs me out.
not sure how that happened or what to look for in .htaccess to correct the problem. Board url is updated in Admin options correct?
I installed my forum in public_html, see below for my .htaccess, can you tell me what i have done wrong. Cant seem to get the www.z35spot.com to login but the z35spot.com will

# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off

ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default

<IfModule mod_rewrite.c>
RewriteEngine On

# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo

# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

# Redirect non-www urls to www
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.z35spot\.com
RewriteRule (.*) http://www.z35spot.com/$1 [R=301,L]