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

Updating Old EE Site

How Do I?

IC360 (Oliver Cannell)'s avatar
IC360 (Oliver Cannell)
241 posts
4 years ago
IC360 (Oliver Cannell)'s avatar IC360 (Oliver Cannell)

Hmmm, this is sounding more like an htaccess file problem perhaps. Are you able to load a plain HTML file in your web space without going through EE?

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

Actually yes. A plain index HTML will load up, but it uses a CSS file within EE, and thus it loads with no styling. So it does sound like an htaccess problem.

What should I do to resolve? What should it be?

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

Currently I have:

 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 was working just until a few weeks ago; it’s odd that it doesn’t work suddenly.

       
IC360 (Oliver Cannell)'s avatar
IC360 (Oliver Cannell)
241 posts
4 years ago
IC360 (Oliver Cannell)'s avatar IC360 (Oliver Cannell)

Do things behave differently if you remove the htaccess file temporarily? You might need to flush your browser cache or try a fresh browser to see the effect.

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

Hi IC360,

No different behavior. Still a 404 - Not Found error.

(Yes, I cleared cache and tried a fresh browser.)

Thoughts?

       
IC360 (Oliver Cannell)'s avatar
IC360 (Oliver Cannell)
241 posts
4 years ago
IC360 (Oliver Cannell)'s avatar IC360 (Oliver Cannell)

It sounds more like an installation issue in that case. Maybe try making sure you have all the necessary EE files installed and that all the file permissions are correct. Other than that, maybe one of you database tables needs repairing.

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

Hi IC360,

Everything was installed and working perfectly until suddenly it wasn’t. So that would point to the dbase being repaired, huh? Let me try that.

Any other thoughts?

Thanks!

       
IC360 (Oliver Cannell)'s avatar
IC360 (Oliver Cannell)
241 posts
4 years ago
IC360 (Oliver Cannell)'s avatar IC360 (Oliver Cannell)

Maybe try copying the whole installation to another Dev server, remove any suspect plugins or in-template PHP and see what happens then. Otherwise, not sure without see everything first hand myself I’m afraid.

       
1 2

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.