MyBB Community Forums

Full Version: xmlhttp.php access problem with quick edit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
When i try to save a post that contains MyCodes, using quick edit feature

It shows me error like this,

Forbidden

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

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8m DAV/2 mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at www.bdplay.com Port 80

But full edit feature is working without any problem
AFAIK, there is no such file called xmlhttp.php . I may be wrong though.
Check the file has CHMOD 644.
Ofcourse there is such file and it is 644.
Who is your host? I suspect they are using a module called mod_security on their server, so you should contact your host and ask them to whitelist your site against this stupid server module.
One or two people have had this file blocked for 'high load' or some rubbish. You'll need to ask your host about it.
No i just finished conversation with my hosting and they told me there is no problem in the hosting side.

The problem is peculiar cause 2 days ago everything was alright. Then i go to adminCP and open task management section. I saw there are some task with blue dot which should be running but they aren't cause they are showing back date in next run column.

So i click and make those task started, that's it. After that if i post a thread with MyCode in it, i can not quick edit it but full edit is ok. In addition if i post reply to that thread with MyCode, then i can quick edit and full edit that reply post. But the thread post quick edit problem remains the same.

then i stopped those task but problem is still there. I do not want to reinstall my forum anyway.
If this problem is repairable then OK otherwise i have to rely on full edit.
xmlhttp.php is nothing to do with running tasks, it's for the PHP behind AJAX requests. If you're getting this error, it is something your host has to fix. There is no reason whatsoever for running a task to make a totally unrelated file show a 403 error.
So no solution stick with full edit... Thanks
No, I don't know where I said that, ask your host why it's been denied access... Undecided
what happens if you access yourforum/xmlhttp.php directly?

it should be a blank page like here http://community.mybboard.net/xmlhttp.php

if you already get permission denied for that, try deleting the file and then reuploading it

this should create a new file with standard permissions on your server, ruling out bad chown/chmod settings for the file

another possibility could be .htaccess somehow preventing access to the file. rename .htaccess to test and find out

if the problem persists then asking the hoster and if they cant help you switching hosts is all you can do
Pages: 1 2