what is wrong with my code ?
What's happening is when I tested it on my server, I get log errors on logs folder from my server (it says to enable debug mode). but when I compile. it compiles without errors.
PHP Code:
|
Re: what is wrong with my code ?
What you are trying to do ?? or show me all plugin !!
|
Re: what is wrong with my code ?
It said to enable debug so you should enable debug. When you get the full error with debug enabled, you'll get a much better idea of what is actually wrong. If you still can't figure it out, post that entire output here with the entire plugin.
|
Re: what is wrong with my code ?
Quote:
|
Re: what is wrong with my code ?
1 Attachment(s)
I enabled debug mode and I found the problem, but i dont know how to solve it:
I use ZPA mode and im getting the error on line 2518: PHP Code:
PHP Code:
|
Re: what is wrong with my code ?
Code:
|
Re: what is wrong with my code ?
Quote:
Checking if the attacker is alive is not the proper solution to this problem. Whether or not a player is dead or alive is not a cause of an index out-of-bounds error. Also, the attacker might not be alive but the action should likely still happen. I believe that the proper solution is to check if the attacker is an actual player i.e. 0 < attacker < maxplayers |
Re: what is wrong with my code ?
Quote:
This is a forum. It's somewhat of a dialogue. If the user responds with "I don't understand, can you explain" I would. The change is so small that comparing it is so easy there's no point of explaining. The thread author also doesn't seem to have any knowledge of coding and also no interest in changing that. |
Re: what is wrong with my code ?
Quote:
|
Re: what is wrong with my code ?
Such a problem have atons of solutions meaning that if the User searched for a solution he will definitely find one, instead of making a useless thread.
|
All times are GMT -4. The time now is 12:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.