You are using phpFox version earlier than 4.6.0? Please refer instruction for this article here. |
There are a few tips for issues with logging in to the site. Once our support is open, please feel free to send us a ticket if you can't resolve issues.
Once your site is in maintenance mode, your login buttons disappear and you can only reach your login via direct URL. Simply go to:
yoursite.com/user/login if you have short URLs enabled (and replace "yoursite" with your own domain)
yoursite.com/index.php/user/login if you don't have short URLs enabled.
Remember - you cannot access AdminCP until you have first logged into the site. Don't expect to go to yoursite.com/admincp and get in. You must first log in. |
When first installing your site, phpFox sets the domain of the current URL you are using during the installation. So if you install the site using www.site.com, you must use this as your primary domain. On your server if a user would visit site.com without the www and click on the Login popup, it won't work as your browser will see this as two completely different sites. To resolve this you need to make sure your web server sends all traffic to your primary domain, which in this example is using the www.
Apache Example (editing .htaccess file)
RewriteCond %{HTTP_HOST} !^www\. [NC] RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] |
Nginx Example
server { server_name site.com; return 301 $scheme://www.site.com$request_uri; } |
If you find that users in some user groups can't log in, it is most likely a setting issue for that or those user groups. To resolve this, assuming your admin user group can log in, you would want to change the user group setting to:
Can stay logged into the site?
If you also changed the Admin user group to No for Can Stay Logged Into the Site, you'll need to go to the database to resolve that issue. This step is not for novices and could cause harm to your database if you don't know how to work with databases. Please contact us for help if you are not familiar with databases.
Please backup your database before making changes to it.
This is normally an issue with crashed database or database tables. Your host can repair the database or you can see this guide. In most cases, it would be the phpfox_log_session or phpfox_user table that crashed. Note that crashing tables are a bad thing as it can cause damage if it is a common occurrence. You would want to check with your host and either upgrade the server or perhaps change the database to its own server.