PDA

View Full Version : Navbar error


chrisbeau
10-09-2009, 11:43 PM
Whenever I try to edit the navbar lately I get the following:

Forbidden

You don't have permission to access /admincp/template.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Any ideas ?

James Birkett
10-10-2009, 12:25 AM
I have only ever had that error when I have misconfigured my .htaccess.

chrisbeau
10-12-2009, 12:50 AM
I have only ever had that error when I have misconfigured my .htaccess.

I havent gone near that file.

Lynne
10-12-2009, 01:03 AM
Have you checked the permissions on that file?

chrisbeau
10-13-2009, 02:02 AM
First thing I looked at, its at 644.

Lynne
10-13-2009, 02:40 PM
Check Maintenance > Diagnostics > Problematic Webserver Modules and see what it says.

chrisbeau
11-04-2009, 12:30 AM
Suhosin
Module Loaded No


mod_security
AJAX Unicode Issue No

Results
The above setting will indicate if mod_security is preventing some AJAX requests from being submitted to vBulletin. If this shows Yes then you either need to disable mod_security or change the AJAX settings with the vBulletin Options and disable Problematic features.

This is what I get Lynne.

Then I went to vboptions and disabled any problematic Ajax features and tried to edit the navbar again but its still the same.

chrisbeau
11-16-2009, 02:36 PM
Anymore ideas ?

Lynne
11-16-2009, 02:48 PM
Is it only problems when editing the navbar or when editing all templates? Have you checked your error_logs (if you don't know where they are, ask your host) to see if there is more information in there? Have you tried disabling your plugins via the config.php file to see if maybe one of your plugins is causing the issue?

chrisbeau
11-16-2009, 03:07 PM
Is it only problems when editing the navbar or when editing all templates? Have you checked your error_logs (if you don't know where they are, ask your host) to see if there is more information in there? Have you tried disabling your plugins via the config.php file to see if maybe one of your plugins is causing the issue?

Only when editing the navbar file in any theme. I'll disable the plugins now and find out.

chrisbeau
04-13-2010, 04:52 PM
Im getting this now on another site when I try to edit the FORUMDISPLAY template !?

Marco van Herwaarden
04-14-2010, 02:27 PM
This may be due to mod_security.

While mod_security can be a very powerful tool, misconfigured or overly strict rule sets can interfere with vBulletins Operation. Below for Apache users you can use an htaccess file and add a specific rule to disable mod_security.

Make or edit your forum .htaccess file and add the following code
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Note, place this file in your main forum directory.

See this also thread: http://www.vbulletin.com/forum/showthread.php?t=167121