On every request getting "File Not Found"
Moderator: General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Sep 24, 2018 8:35 am
On every request getting "File Not Found"
Hello!
I installed Joomla including a template I have bought. Everything worked fine so far, also the admin interface is working fine. Although the first/initial page is rendered correctly when index.jsp is requested, all other pages for the navigation don't work. I always get "File not Found":
https://unsee.cc/f8e4c60e/
You can see on the first image that when I request localhost/joomla everything works fine, but when clicking on "About" the redirect doesn't seem to work right. The same is when I want to edit an article. This doesn't work too, I alos get "File not Found".
Can anyone help me with this issue. Did I anything wrong when installing joomla?
I am using the following software:
nginx version: nginx/1.14.0 (Ubuntu)
php 7.2
MariaDB Ver 15.1 Distrib 10.1.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Joomla 3.8.12
Maybe I am missing some redirect rules for nginx? Or is there something wrong with my htaccess File?
I appreciate any help and if you need more information about my installation please let me know!
I installed Joomla including a template I have bought. Everything worked fine so far, also the admin interface is working fine. Although the first/initial page is rendered correctly when index.jsp is requested, all other pages for the navigation don't work. I always get "File not Found":
https://unsee.cc/f8e4c60e/
You can see on the first image that when I request localhost/joomla everything works fine, but when clicking on "About" the redirect doesn't seem to work right. The same is when I want to edit an article. This doesn't work too, I alos get "File not Found".
Can anyone help me with this issue. Did I anything wrong when installing joomla?
I am using the following software:
nginx version: nginx/1.14.0 (Ubuntu)
php 7.2
MariaDB Ver 15.1 Distrib 10.1.34-MariaDB, for debian-linux-gnu (x86_64) using readline 5.2
Joomla 3.8.12
Maybe I am missing some redirect rules for nginx? Or is there something wrong with my htaccess File?
I appreciate any help and if you need more information about my installation please let me know!
- Webdongle
- Joomla! Master
- Posts: 44091
- Joined: Sat Apr 05, 2008 9:58 pm
Re: On every request getting "File Not Found"
What localhost are you using?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Sep 24, 2018 8:35 am
Re: On every request getting "File Not Found"
You mean which webserver? I am using nginx (http://nginx.org/)
I already saw the page https://docs.joomla.org/Nginx in joomla docs, but there is not described any problem similar to that I am facing.
I already saw the page https://docs.joomla.org/Nginx in joomla docs, but there is not described any problem similar to that I am facing.
- Webdongle
- Joomla! Master
- Posts: 44091
- Joined: Sat Apr 05, 2008 9:58 pm
Re: On every request getting "File Not Found"
Sorry you referenced 'localhost/joomla' thought the problem was on your PC.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Sep 24, 2018 8:35 am
Re: On every request getting "File Not Found"
That's correct, I am developing the website locally and installed it all on my PC, so you are right, the problem is on my PC! I thought you mean which webserver I locally using on my PC, and that's nginx. If you have any doubt about what's going wrong with my configuration please let me know!
Many thanks!
Many thanks!
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Sep 24, 2018 8:35 am
Re: On every request getting "File Not Found"
Solved it by disabling SEF URLs! Unfortunately, this setting doesn't seem to work with nginx :-(
- Webdongle
- Joomla! Master
- Posts: 44091
- Joined: Sat Apr 05, 2008 9:58 pm
Re: On every request getting "File Not Found"
Perhaps Rewrite isn't enabled.
Perhaps https://docs.joomla.org/Installing_Joom ... bian_Linux will help with alternatives?
Perhaps https://docs.joomla.org/Installing_Joom ... bian_Linux will help with alternatives?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
-
- Joomla! Apprentice
- Posts: 5
- Joined: Mon Sep 24, 2018 8:35 am
Re: On every request getting "File Not Found"
Thanks for the info! I will check this out later :-)
- Per Yngve Berg
- Joomla! Master
- Posts: 30929
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: On every request getting "File Not Found"
nginx does not use a .htaccess file. You probably have an error in the nginx.conf file.
- Webdongle
- Joomla! Master
- Posts: 44091
- Joined: Sat Apr 05, 2008 9:58 pm
Re: On every request getting "File Not Found"
Or try a different stack?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".
- Per Yngve Berg
- Joomla! Master
- Posts: 30929
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
Re: On every request getting "File Not Found"
Do you have this in the site's configuration file?
Code: Select all
# Support Clean (aka Search Engine Friendly) URLs
location / {
try_files $uri $uri/ /index.php?$args;
}
# location / {
# try_files $uri $uri/ =404;
# }
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9001;
include snippets/fastcgi-php.conf;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}