Wondering how to resolve “no input file specified” error in Joomla? We can help you.
Here at Bobcares, we get requests from our clients to handle similar issues as a part of our Server Management Services.
Today in this article we will see how our Support Engineers fix this error for our customers.
Causes and solutions for “no input file specified” error in Joomla.
After an installation of Joomla we receive error message as shown below. This generally happens due to issues with the installation.
Today, let us see what could cause for the error and how our Support Techs resolved it.
- Incorrect permission of the folder
We need to cross check the permission of the public_html directory and ensure that it is set correctly.
A recent support ticket that we noticed had the permission set as follows which triggered the error.
drwxr-x--- 27 755 nobody 4096 Feb 13 1:20 public_html/
This means that apache cannot access this folder.
In order to solve the problem, we changed the permissions on the public_html directory by issuing the following commands while in the Linux shell:
chmod 755 /home/[user]/public_html chown -R [user] public_html chgrp -R [user] public_html
Step 1: Log into Joomla admin area;
Firstly, you need to enter the admin area of your Joomla website.
Step 2: Enter Global Configuration settings;
Then, go to the System menu on the right top corner and select Global Configuration.
Step 3: Disable SEO Settings;
Finally, fix No input file specified in Joomla is to switch off Search Engine Friendly URLs, after that all have to be fine.
Step 1: Rename htaccess
Firstly, rename htaccess file from htaccess.txt to .htaccess
Step 2: Download htaccess
Then, download .htaccess to desktop and add it with Notepad++ or another editor
Step 3: Rewrite Base;
Find the line that has
# RewriteBase /
Step 4: Remove # sign
Remove the # sign to uncomment
Step 5: Sub-directory;
If your site is on a sub-directory the above should appear like this,
Step 6: Upload .htaccess
Next, use FTP to upload the .htaccess file to your web server.
Step 7: Enable SEF options
Enable SEF options again in Global Configuration.
Step 8: Refresh
Finally, refresh browser and check to see if it is working.
If it still isn’t working open .htaccess file in edit mode and search for options
and add the below right after it
And update your changed file again, then check your menu items.
[Need assistance with Joomla error? We can help you]
In short, the error “no input file specified” occurs due to issues with the installation. Today, we saw how our Support Techs resolved it.