Forbidden

Place for questions and answers for all newcomers and new coders. This is a free for all forum, no question is too stupid and to noob.
Post Reply
User avatar
Epiales
Posts: 1119
Joined: Thu Aug 15, 2013 1:38 am

Forbidden

Post by Epiales »

Okay, what would cause one particular character to cause a forbidden? This is the error:

Code: Select all

Forbidden

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

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Makes now sense, as when I was attacking all the other random characters, I hit a Casino Guard that gave the above error. It was the only character that was displaying this error and I had to go into the database and delete that particular character in order for it not to throw that error when a user hit them. Very, very strange. Never had that happen before. It's format was the same as any other character, so don't have any idea.
Nothing fancy, but a work in progress!

http://gameplaytoday.net
User avatar
Xaos
Posts: 940
Joined: Wed Jan 11, 2012 4:01 am

Re: Forbidden

Post by Xaos »

Probably a typo somewhere you didn't notice.
User avatar
Epiales
Posts: 1119
Joined: Thu Aug 15, 2013 1:38 am

Re: Forbidden

Post by Epiales »

Xaos wrote:Probably a typo somewhere you didn't notice.
Can't be a typo! It's a character...or a creature... So whatever I name it shouldn't have anything to do with anything. And the stats I give it shouldn't either. So thought it was very strange to get that forbidden on just that one character.
Nothing fancy, but a work in progress!

http://gameplaytoday.net
User avatar
OldRod
Posts: 1320
Joined: Sun Sep 20, 2009 4:26 pm

Re: Forbidden

Post by OldRod »

Is it possibly a problem with the string you are passing through the URL?

I notice "casino guard" has a space in it. Do any of your other creature names have spaces? Don't know if that would cause a problem or not, depending on how you are passing them.
User avatar
Epiales
Posts: 1119
Joined: Thu Aug 15, 2013 1:38 am

Re: Forbidden

Post by Epiales »

OldRod wrote:Is it possibly a problem with the string you are passing through the URL?

I notice "casino guard" has a space in it. Do any of your other creature names have spaces? Don't know if that would cause a problem or not, depending on how you are passing them.
yeah, many of them have spaces in them. I have Old Lady With Purse that works fine :lol: :lol: Careful, she'll hit you in the head with it :D
Nothing fancy, but a work in progress!

http://gameplaytoday.net
Post Reply

Return to “Beginner Help and Support”