Facing "no input file specified" error in Joomla? We can help you.
Here at Ibmi Media, as part of our Server Management Services, we regularly help our Customers to perform related Joomla queries.
In this context, we shall look into how to resolve this Joomla error.
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:
No Input file specified
1. 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.
Solution 1 (To fix permission issues)
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
Solution 2 (Fix SEO Settings)
Also, you can try the following steps:
1. Log into Joomla admin area;
Firstly, you need to enter the admin area of your Joomla website.
2. Enter Global Configuration settings;
Then, go to the System menu on the right top corner and select Global Configuration.
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.
Solution 3 (Fix .htaccess)
1. Rename htaccess
Firstly, rename htaccess file from htaccess.txt to .htaccess
2. Download htaccess
Then, download .htaccess to desktop and add it with Notepad++ or another editor
3. Rewrite Base;
Find the line that has
# RewriteBase /
4. Remove # sign
Remove the # sign to uncomment
If your site is on a sub-directory the above should appear like this,
6. Upload .htaccess
Next, use FTP to upload the .htaccess file to your web server.
7. Enable SEF options
Enable SEF options again in Global Configuration.
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 in fixing Joomla errors? We can help you. ]