Jump to content
vmo

404 page not found when accessing any page

Recommended Posts

Hi,

I have a Processwire installation and when accessing any page it gives 404, page not found.

The site is under development and until recent I just was developing the templates and right now I am developing the php and html into the templates files like home.php.

The site was recently updated to the version 3.0.89 and I don't if it has something to do with the 404 error.

Right now I do not have a clue about was happening,

 

I appreciate if any one have a clue what it might being happening.

Thank in advanced.

Share this post


Link to post
Share on other sites

After comparing the htaccess files from the different updates there is no differences.

I am uninstalling modules to verify is ther is a module responsible for this issue.

The url address of the site is http://assembleia.pt/.

Thank you

Share this post


Link to post
Share on other sites

You might be right about the htaccess directives,

but I do not have much knowledge about the htaccess directives,

I will try to verify.

 

Thank you 

Share this post


Link to post
Share on other sites

In the same server I have other processwire site that is working and after replacing the htaccess file from the one that is working the issue continues,

back to zero.

Share this post


Link to post
Share on other sites

The htaccess file is from a processwire instalation. The original htaccess from the version 3.0.89 

and the htaccess from the other installation with a lower version are not working,

the issue continues.

Share this post


Link to post
Share on other sites

It could be related to the environment. Check the thread above.

On one of my more recent sites I had to switch the PHP version on my Cpanel to a newer version.

Share this post


Link to post
Share on other sites

This doesn't appear to be the usual .htaccess-related kind of thing

1 hour ago, vmo said:

The url address of the site is http://assembleia.pt/.

Visiting shows that the 404 is PW's 404 page and clicking internal links tries to load the appropriate page (browser URL field changes) but it is still 404.

Completely groundless wild guess - could it be a multi-language related problem?

  • Like 4

Share this post


Link to post
Share on other sites

Thank you for the wild gess about the languages problem,

it seems that the is related to the languages.

I had only one language active that was Portuguese, and after added a new language the home was shown correctly,

now I need to verify the issue in other pages.

 

Many thank you for help

I think now it is just a time issue to verify all the pages and file templates.

  • Like 2

Share this post


Link to post
Share on other sites

:) Many thanks to all,

I was getting frustrating about this, saved the day.

  • Like 1

Share this post


Link to post
Share on other sites

I've had this with several sites when trying to up from 3.0.62 to 3.0.90 - but I've still not resolved it.

I suspect it is a languages issue, as the sites were setup using the multi-language template, but in the end the sites just used a single language.

I also get a 404 when trying to edit some (but not all) of the pages via the admin login PW editor back end.

NOW RESOLVED:

If you have all the language modules installed, ready for a multi-linugual site & are not using them you will get 404 issues.

I've converted fields to single language, removed all the language modules from the core tab & after upgrade no issues are seen.

Edited by dab
Resolved!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Peter Knight
      Hi guys
      is there a checklist of items I should consider for diagnosing a series of pages which display a 404 error?
      Basically I have built a Blog and all my posts are under a folder called 'Posts'. Some of these pages successfully display while others display a 404 page. 
      This is what I have confirmed so far...
      1. All pages are within the same root folder 'Posts'
      2. All pages have the same template and fields completed
      3. All pages have the same properties under Settings > Who can access this page
      4. Pages have no redirects in place
      5. Pages have no special characters or anything funky in the URL slug
      There are no errors showing in the log either so I am stuck 😕
      Thanks
    • By horst
      Hey,
      I want to hook into the 404 handling of PW at the most earliest stage. Pleas can anybody point me to the hook or file that suits this best?
    • By dweeda
      I installed an SSL Certificate, then edited my .htaccess file:
        # -----------------------------------------------------------------------------------------------
        # 9. If you only want to allow HTTPS, uncomment the RewriteCond and RewriteRule lines below.
        # -----------------------------------------------------------------------------------------------
        RewriteCond %{HTTPS} off
        RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
      by uncommenting out the Rewrite lines.
      Now I get 404 error pages when I try go to any .../processwire-master/<pagename>/
      This includes my admin page at .../processwire-master/processwire/, so i can't get into my admin.
      What else do I need to do?
    • By joeck
      Hi Guys,
      I'm trying to do my first migration to the customers existing server (IIS 10) . I ran the site as a subdirectory on my website for test purposes (everything works fine).
      Following the tutorial of Joss, I tryed the site on a local xampp server to make sure, it also works on a root directory. So far so good, everything works.
      Now I moved the files (from the xampp) to the customers server. The root/index page is shown but for every subpage i get 404 Errors...
      Hence I followed the troubleshooting guide for not working URLs:
      On the first sight, the .htaccess file is not recognized, therefore I contacted the host support. They said, it is recognized but not all modules are supported in the processwire .htaccess file. I did the "öalskjfdoal" test in the .htaccess file and didn't get a 500 Error.... BUT the rewrite rule from the hosts support, to proof the file is read, DID work... The support claims, they do not provide debugging... so basically the .htaccess file is recognized and working, but not throwing any errors (for whatever reason).
      Working rewrite rule (from support):
      RewriteEngine On RewriteBase / RewriteRule ^test\.asp$ index.html [NC,L] RewriteRule ^test\.html$ konzept.html [NC,L] RewriteRule ^test2\.html$ team.html [NC,L] The support said, a couple modules are not supported in the htaccess file, the supported ones are listed here: http://www.helicontech.com/ape/ (I think mod_rewrite is supported)
      As I do not completely understand what exactly is happening in the htaccess file, I'm stuck. I tried all suggestions I found regarding this topic on the forum, but none of them solved the problem.
       
      .htaccess.txt
    • By vmo
      Hi,
      this has resolved.
      Thank you
×
×
  • Create New...