vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   When change template : Your browser sent a request that this server could not underst (https://vborg.vbsupport.ru/showthread.php?t=205896)

abdobasha2004 02-19-2009 11:49 AM

When change template : Your browser sent a request that this server could not underst
 
when try to change forumhome template in certain style I get :

Quote:

Bad Request

Your browser sent a request that this server could not understand.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
however the rest of styles and templates of this style are changed normally

vbplusme 02-19-2009 12:11 PM

That usually happens when the URL that goes to the browser is misspelled or malformed so the request doesn't match the standard syntax. Check the browser input box to see it you can see a misspelling or something when you try to bring up that page.

abdobasha2004 02-19-2009 12:18 PM

I am sure of spelling
I come to this error after choosing edit templates from my admin cp
so there is no error in writing

Marco van Herwaarden 02-19-2009 12:32 PM

Is this only with a specific edit (can you save the template without any changes)?

Also this could be caused by mod_security or Suhosin, is any of thatinstalled at your server?

abdobasha2004 02-19-2009 12:38 PM

it is for specific template of specific style, any edit I get that message (not specific edit)
I am not using one of above mods

Marco van Herwaarden 02-19-2009 12:46 PM

Those are not vB modifications (just in case you misunderstood that).

Can you try to up your PHP memory limit?

abdobasha2004 02-19-2009 12:49 PM

Quote:

up your PHP memory limit?
how to do that?

--------------- Added [DATE]1235055117[/DATE] at [TIME]1235055117[/TIME] ---------------

by the way I noticed in general large templates as showthread and forumhome cannot be edited
small templates as postbit and tagbit are edited normally

snakes1100 02-19-2009 01:22 PM

Can you go to vbulletin options --> show all settings and try to save all settings at once, does that work?

If it doesn't please check and verify that your server is running modsecurity, you can verify that its running modsecurity by viewing your php info, it should be listed under apache2handlers Loaded Modules box.

Example:
Code:

mod_env mod_mime mod_security2 mod_negotiation mod_php5 mod_rewrite mod_setenvif mod_status mod_unique_id

abdobasha2004 02-19-2009 01:27 PM

no it does not
Quote:

Forbidden

You don't have permission to access /vb/admincp/options.php on this server.
how to do that
Quote:

by viewing your php info, it should be listed under apache2handlers Loaded Modules box.
I am running admin panel
how to know apache2handelers?

thanks for help

snakes1100 02-19-2009 01:32 PM

admincp --> maintenance --> View PHP info

abdobasha2004 02-19-2009 01:38 PM

I get this

Quote:

core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_deflate mod_log_config mod_logio mod_env mod_headers mod_unique_id mod_setenvif mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_ajp mod_proxy_balancer mod_ssl prefork http_core mod_mime mod_dav mod_status mod_autoindex mod_asis mod_suexec mod_cgi mod_dav_fs mod_dav_lock mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_php5 mod_security2

snakes1100 02-19-2009 01:44 PM

As you can see, the last module loaded there is "mod_security2", add the code below to a .htaccess file and save it to your public_html folder.

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

After, try to edit and re-save the templates or all the vb settings at once.

abdobasha2004 02-19-2009 02:49 PM

done
same problem persist
I added
Quote:

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
to top of my htaccess in the public html

snakes1100 02-19-2009 08:50 PM

Unfortunately that doesn't always work, ask your host to disable mod_security for your site.

Also, make sure you clear your cookie and cache/temp internet folder and restart it and test it again.


All times are GMT. The time now is 03:18 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00994 seconds
  • Memory Usage 1,743KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete