We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

EE 3.5.17 suddenly not working. How come?

How Do I?

eeyartee's avatar
eeyartee
64 posts
4 years ago
eeyartee's avatar eeyartee

Hi, I’m running an old EE site, using v3.5.17. It has been working fine for four years (when I upgraded from EE 2.x), but suddenly my site is not connecting to the main PHP.

I thought it might be an incompatibility with my host’s PHP, which updates every now and then. However, I see that it’s running PHP 7.2, which should be compatible. And yet it’s not connecting.

Thoughts?

       
Wessel's avatar
Wessel
32 posts
4 years ago
Wessel's avatar Wessel

What is the error reporting? Can you send the debug details?

       
Rob Allen's avatar
Rob Allen
2,950 posts
4 years ago
Rob Allen's avatar Rob Allen

I’ve seen PHP7.2/7.3 causing a few issues, can you try 7.1, or 7.4?

       
eeyartee's avatar
eeyartee
64 posts
4 years ago
eeyartee's avatar eeyartee

I’ve tried 7.1 Someone suggested reverting to 5.6 in another thread. I tried that. Yet the problem is the same—a 404:

 Not Found
 The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

For some reason, my EE (renamed) index.php, plus every page after [index.php] in a URL, is not being accessed.

My EE site was working fine a couple weeks ago, and then suddenly it wasn’t. I only suspected PHP might have something to do with it since my host updates versions from time to time, but perhaps it’s not a PHP version issue at all. Anyone have the same issue where all files within EE are not being found/accessed?

       
Wessel's avatar
Wessel
32 posts
4 years ago
Wessel's avatar Wessel

Hi Eyartee,

Please share your .htaccess file. I can be it have something to do with that.

Kind regards

       
eeyartee's avatar
eeyartee
64 posts
4 years ago
eeyartee's avatar eeyartee

Hi WA Design,

Here:

 DirectoryIndex tgt_v3 index.html index.htm index.php tgt_v3.php
  <Files tgt_v3>
  ForceType application/x-httpd-php
  </Files>
  RewriteEngine  on
  RewriteCond %{HTTP_REFERER} !^$
  RewriteCond %{HTTP_REFERER} !^http?://(www\.)?MyURL.com/?.*$ [NC]
  #AddHandler application/x-httpd-php .php .html

This is the way it’s been since it was working. I don’t know why it isn’t anymore. Thoughts?

Thanks!

       
Tom Jaeger's avatar
Tom Jaeger
228 posts
4 years ago
Tom Jaeger's avatar Tom Jaeger

Hi EEyartee,

Thanks for posting this. Are you seeing any errors? If so, if you could post them that would help us to point you in the right direction.

If not, you probably best off opening a support ticket

Thanks,

-Tom Jaeger

       
Wessel's avatar
Wessel
32 posts
4 years ago
Wessel's avatar Wessel

Hi EEyartee

Try this…

<IfModule mod_rewrite.c>
        RewriteEngine On

        # Removes index.php from ExpressionEngine URLs
        RewriteCond $1 !\.(gif|jpe?g|png)$ [NC]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ /index.php?/$1 [L]

#First rewrite any request to the wrong domain to use the correct one (here www.)
RewriteCond %{HTTP_HOST} !^www\.
RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

#Now, rewrite to HTTPS:
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

</IfModule>
       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.