Have you recently installed SMF (Simple Machines Forum) and are unable to login using the admin login? If you face this problem and see errors of this nature on the screen (like the screenshot bleow) then here is the complete solution for your problems.

SMF login / registration failure

SMF login / registration failure

How to fix “You Need to Fill in your username” – SMF login and registration error

1. Make sure the version of the website you are using is same as your forum.
This means if you have your website at www.yourwebsite.com makesure your forum path is www.yourwebsite.com/forum. In simpler words if your website is non www then the forum must not be www and vice versa.

You can edit this while installation or by running the repair settings file. Download it from this link and run the file to fix the issue.

2. Make sure your website does not redirect all index.php to “/” or root page of a folder.
e.g in my case my SEO site NewDelhiSEO.com had htaccess configuration to redirect www.newdelhiseo.com/index.php to only www.newdelhiseo.com.

All code like the following must be properly handled. Restrict them to particular directories or only the home directories if you need that redirect badly.

 RewriteCond %{THE_REQUEST} ^.*/index.php
RewriteRule ^(.*)index.php$ http://www.newdelhiseo.com/$1 [R=301,L]


More posts you might be interested in:

Solved : Dreamweaver Crashing in Windows 10 Dreamweaver cs3/cs4/cs5/cs6
Entering into the world of Mobile Applications development
Software : Apache Spark and Zeppelin Installer for Windows

Leave a Reply