Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2012-03-18 04:09:38

WebKat
Member
Registered: 2007-01-16
Posts: 301

Suddenly all of the pages show up as 404!!! Help!

This is a site that I made for my mom. She manages it. It’s been working just fine for YEARS. I haven’t changed anything on the back end. Suddenly, today, all of her pages are 404. TODAY of all days, since it’s an Irish website and today is St. Patrick’s Day, the site’s busiest day of the whole year!

Here it is: http://tucsonirishcommunity.com/

Any idea what could be wrong? As I said, no settings have been touched.

Last edited by WebKat (2012-03-18 04:10:06)



WebKat

Offline

#2 2012-03-18 04:49:20

jstubbs
Member
From: Hong Kong
Registered: 2004-12-13
Posts: 2,395
Website

Re: Suddenly all of the pages show up as 404!!! Help!

Looks up to me…?

Offline

#3 2012-03-18 05:21:56

tye
Member
From: Pottsville, NSW
Registered: 2005-07-06
Posts: 859
Website

Re: Suddenly all of the pages show up as 404!!! Help!

I think you have a mix of messy urls and clean urls…. what is the setting in your preferences?

http://tucsonirishcommunity.com/index.php?s=Calendar

Works

But

http://tucsonirishcommunity.com/Calendar

Does not and you have a mix of the 2 throughout the site

Offline

#4 2012-03-18 08:49:57

merz1
Member
From: Hamburg
Registered: 2006-05-04
Posts: 994
Website

Re: Suddenly all of the pages show up as 404!!! Help!

Check the .htaccess file. Maybe ‘something’ changed/deleted it.
The original Textpattern 4.4.1 .htaccess.

(Edit) If .htaccess is OK and clean URLs are not working the mod_rewrite module seems to be broken/deactivated. In this case you have to contact the hosting support.

1st workaround is to switch to messy URLs which of course only works for URLs generated dynamically by Textpattern.

Last edited by merz1 (2012-03-18 08:52:59)


Get all online mentions of Textpattern via OPML subscription: TXP Info Sources: Textpattern RSS feeds as dynamic OPML

Offline

#5 2012-03-18 14:40:27

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: Suddenly all of the pages show up as 404!!! Help!

I think it’s a mod_rewrite thing, because the same day, all of the images in her gallery stopped showing up and started throwing 500 erriors…



WebKat

Offline

#6 2012-03-18 14:53:06

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: Suddenly all of the pages show up as 404!!! Help!



WebKat

Offline

#7 2012-03-18 15:57:53

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,090
Website GitHub Mastodon Twitter

Re: Suddenly all of the pages show up as 404!!! Help!

what happens if you change the mode to messy?

Also can you post your diagnostics?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#8 2012-03-18 16:57:33

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: Suddenly all of the pages show up as 404!!! Help!

I looked at my diagnostics and it said the .htaccess was missing—no idea why, since I haven’t worked on that site in ages, and it’s been working—but I replaced it with the contents you linked to and now the pages seem to be working. The gallery is still messed up though… argh…

Thanks for your help



WebKat

Offline

#9 2012-03-18 16:59:01

WebKat
Member
Registered: 2007-01-16
Posts: 301

Re: Suddenly all of the pages show up as 404!!! Help!

In case it is still relevant later, here are the diagnostics:

Textpattern version: 4.4.1 (r3575)
Last Update: 2011-07-27 21:14:45/2011-07-27 21:13:56
Document root: /home5/jugglerd/public_html/tucsonirishcommunity
$path_to_site: /home5/jugglerd/public_html/tucsonirishcommunity
Textpattern path: /home5/jugglerd/public_html/tucsonirishcommunity/textpattern
Permanent link mode: section_title
Temporary directory path: /tmp
Site URL: tucsonirishcommunity.com
PHP version: 5.2.17
GD Image Library: version bundled (2.0.34 compatible), supported formats: GIF, JPG, PNG
Server TZ: America/Denver
Server Local Time: 2012-03-18 10:55:08
DST enabled?: 0
Automatically adjust DST setting?: 0
Time Zone:  (-25200)
MySQL: 5.1.61-community-log
Locale: en_US.UTF-8
Server: Apache
PHP Server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.6.32-20120131.55.1.bh6.x86_64
Active plugins: rsx_plugins_list-1.1, asy_wondertag-0.5, etz_crumbs-0.7, rss_auto_excerpt-0.4, zem_paginate-0.1, sdr_guestbook4.0-4.0, zem_contact_lang-4.0.3.5, zem_contact_reborn-4.0.3.18, ign_password_protect-0.5, mem_self_register-0.8.3, TXPhorum-0.2, rss_admin_show_adv_opts-0.3, tru_tags-2.0, wow_menu-1.01, zem_event-0.30m, rss_article_edit-0.1, Postmaster-0.4.4, rss_admin_db_manager-4.3, Postmaster Library-0.2.3, rah_textile_bar-0.7
Admin-side theme: classic 4.4.1

.htaccess file contents: 
------------------------
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/

	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]

	RewriteCond %{REQUEST_URI} !=/favicon.ico
	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0
------------------------


WebKat

Offline

#10 2012-03-18 17:36:19

MattD
Plugin Author
From: Monterey, California
Registered: 2008-03-21
Posts: 1,254
Website

Re: Suddenly all of the pages show up as 404!!! Help!

Check that Gallery’s .htaccess file hasn’t also gone missing.


My Plugins

Piwik Dashboard, Google Analytics Dashboard, Minibar, Article Image Colorpicker, Admin Datepicker, Admin Google Map, Admin Colorpicker

Offline

Board footer

Powered by FluxBB