2012-08-16 14:25:05

vineonardo
Member
zêta
Real name: Vineet Sawant
Known languages: English
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

 

2012-08-16 15:48:51

MattD
Plugin Author
sigma
Real name: Matt Davis
From: Monterey, California
Website

Re: Form, categories pages giving 404 error

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


My Plugins

In a way, each of us has an El Guapo to face. -Lucky Day (Three Amigos)

Offline

 

2012-08-16 16:08:41

vineonardo
Member
zêta
Real name: Vineet Sawant
Known languages: English
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

 

2012-08-16 19:33:10

vineonardo
Member
zêta
Real name: Vineet Sawant
Known languages: English
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

 

2012-08-16 20:07:27

uli
Moderator
omega
Real name: Uli
From: Cologne/Köln
Known languages: de > en

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

 

2012-08-17 05:11:44

vineonardo
Member
zêta
Real name: Vineet Sawant
Known languages: English
Website

Re: Form, categories pages giving 404 error

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

Offline

 

2012-08-17 23:37:56

tye
Member
xi
Real name: Tye
From: Pottsville, NSW
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

 

2012-08-18 16:33:23

vineonardo
Member
zêta
Real name: Vineet Sawant
Known languages: English
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

 

2012-08-19 14:51:20

vineonardo
Member
zêta
Real name: Vineet Sawant
Known languages: English
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

 

2012-08-20 05:52:21

wet
Developer
omega
Real name: Robert
From: Lenzing, Austria
Known languages: de-AT, en, PL/M-80
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

 

Powered by FluxBB