Jump to content

Recommended Posts

I am using ajax to test to see if some user information exists in my database. If it exists, I write an error message, if it doesnt exist then I will not write anything.

 

I just switched hosting companies, so I dont know if that matters (it was working before).

 

Now when I try that, i get the following error:

Forbidden

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

 

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

--------------------------------------------------------------------------------

 

Apache mod_fcgid/2.3.5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635

 

All the permissions are set to 0644, so i dont think that is an issue. Another interesting point is the error message only shows up when the the record exists in my database because that is when I write something to the screen.

 

I dont know you anyone will be able to help me with what I said, but maybe someone has been through this before.

 

 

*Note - All my other ajax statements work fine, its just this one.

 

Thanks

 

Link to comment
https://forums.phpfreaks.com/topic/219239-forbidden/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.