On every request getting "File Not Found"

Need help installing Joomla! 3.x? For all Joomla! 3.x installation issues please use this forum.

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
Locked
MaxMail
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Sep 24, 2018 8:35 am

On every request getting "File Not Found"

Post by MaxMail » Mon Sep 24, 2018 9:02 am

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!

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44091
Joined: Sat Apr 05, 2008 9:58 pm

Re: On every request getting "File Not Found"

Post by Webdongle » Mon Sep 24, 2018 9:52 am

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".

MaxMail
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Sep 24, 2018 8:35 am

Re: On every request getting "File Not Found"

Post by MaxMail » Mon Sep 24, 2018 10:12 am

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.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44091
Joined: Sat Apr 05, 2008 9:58 pm

Re: On every request getting "File Not Found"

Post by Webdongle » Mon Sep 24, 2018 10:30 am

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".

MaxMail
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Sep 24, 2018 8:35 am

Re: On every request getting "File Not Found"

Post by MaxMail » Mon Sep 24, 2018 10:34 am

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!

MaxMail
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Sep 24, 2018 8:35 am

Re: On every request getting "File Not Found"

Post by MaxMail » Mon Sep 24, 2018 10:57 am

Solved it by disabling SEF URLs! Unfortunately, this setting doesn't seem to work with nginx :-(

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44091
Joined: Sat Apr 05, 2008 9:58 pm

Re: On every request getting "File Not Found"

Post by Webdongle » Mon Sep 24, 2018 1:47 pm

Perhaps Rewrite isn't enabled.

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".

MaxMail
Joomla! Apprentice
Joomla! Apprentice
Posts: 5
Joined: Mon Sep 24, 2018 8:35 am

Re: On every request getting "File Not Found"

Post by MaxMail » Mon Sep 24, 2018 1:58 pm

Thanks for the info! I will check this out later :-)

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: On every request getting "File Not Found"

Post by Per Yngve Berg » Mon Sep 24, 2018 3:56 pm

nginx does not use a .htaccess file. You probably have an error in the nginx.conf file.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44091
Joined: Sat Apr 05, 2008 9:58 pm

Re: On every request getting "File Not Found"

Post by Webdongle » Mon Sep 24, 2018 4:10 pm

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".

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30929
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: On every request getting "File Not Found"

Post by Per Yngve Berg » Mon Sep 24, 2018 4:23 pm

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;
        }


Locked

Return to “Installation Joomla! 3.x”