Solved : You Need to Fill in your username – SMF login and registration error

July 25, 2014

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.
http://wiki.simplemachines.org/smf/Repair_settings.php

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]

 

Latest Posts

Rooturaj Pattanaik

Technology & Business Consultant with customers across 6 countries. A doting father and loving husband writing about various topics like Technology, Travel, Society, Digital marketing, Investment consulting etc.

MY DICTIONARY PROJECT

I have started a new project called the Indic Dictionary. This will cover popular household words in India and what they are called in various languages. Eventually, I will make this an easy to use app where where people can easily find something like “hing in English” or “Tea Tree Oil in Hindi” or “carrom seeds in Urdu”.
Previous Story

The first thing I remember liking that liked me back was food

Next Story

Solved : Dreamweaver Crashing in Windows 10 Dreamweaver cs3/cs4/cs5/cs6

Latest from Software

Go toTop

Don't Miss