Textpattern Forum

You are not logged in. Register | Login | Help

#1 2012-08-16 14:25:05

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Form, categories pages giving 404 error

Hello, so I finally uploaded my website on my server and was doing some minor changes. Then I found that form page is not loading, later also found that categories page is also not loading. Both give 404 error.

I did some digging and found this article, looks like it talks about the same problem as mine but I have clean URLs working fine on my server.

Diagnostic reports just give this warning, nothing about messy URLs as they seem to. Be working really fine. I’m totally clueless about what’s wrong.
The following PHP functions (which may be necessary to run Textpattern) are disabled on your server: show_source, phpinfo, allow_url_fopen, fsockopen

Can anyone enlighten me about this?
Thanks for your time.

Offline

#2 2012-08-16 15:48:51

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

Re: Form, categories pages giving 404 error

Have you confirmed that the .htaccess file is in place?


My Plugins

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

Offline

#3 2012-08-16 16:08:41

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: Form, categories pages giving 404 error

Thank you for your reply Matt.
The .htaccess I am using is just the one that comes with Textpattern.

It is as follows, kindly check :

#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

Is there anything I should change in .htaccess.

{Edited to add bc.. for better code display. – Uli}

Last edited by uli (2012-08-16 16:21:15)

Offline

#4 2012-08-16 19:33:10

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: Form, categories pages giving 404 error

Thanks uli, I was trying that by adding @ before and after the code…I just can’t get my hands on textile :(

Offline

#5 2012-08-16 20:07:27

uli
Moderator
From: Cologne/Köln
Registered: 2006-08-15
Posts: 3,139

Re: Form, categories pages giving 404 error

You can see the Textile code when you click that post’s Edit link.

Sorry I can’t help with your issue. If you had problems saving categories, forms, preferences, that’s something I’ve heard of yet, but not a problem when opening these.


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#6 2012-08-17 05:11:44

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: Form, categories pages giving 404 error

Thanks Uli, it’s alright, I guess I should contact my hosting providers.

Offline

#7 2012-08-17 23:37:56

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

Re: Form, categories pages giving 404 error

It may also be worth asking your host if it could be a modsecurity2 problem, which cannot be turned off by htaccess, but can be turned off on account level by your host.

Offline

#8 2012-08-18 16:33:23

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: Form, categories pages giving 404 error

Thanks Tye, I contacted hosting provider, all they did was put a phpinfo file on my server.
You can check it here

Can anyone check it and let me know if anything can be done? This bug is getting too annoying.

Thanks for your time.

Offline

#9 2012-08-19 14:51:20

vineonardo
Member
Registered: 2011-08-31
Posts: 128
Website

Re: Form, categories pages giving 404 error

I just removed the .htaccess file that comes with textpattern by default and tried to access the categories page and got following error

Not Acceptable
An appropriate representation of the requested resource /textpattern/index.php could not be found on this server.

It’s also giving 406 Not Acceptable Error. Does this leads anywhere? Is it just a file-permission problem or a faulty .htaccess file?

I hope someone will find this useful.
Thanks for your time.

Offline

#10 2012-08-20 05:52:21

wet
Developer
From: Lenzing, Austria
Registered: 2005-06-06
Posts: 3,119
Website

Re: Form, categories pages giving 404 error

You should definitely check with your hosting provider. Textpattern does not produce 406 responses itself. Looks like a host-implied security measure.

Offline

Board footer

Powered by FluxBB