PDA

View Full Version : /admincp/battleadmin.php on line 327


asianboi
04-30-2005, 03:19 PM
Hi,

Somehow I received this error message when I click on BATTLE update

Warning: Variable passed to each() is not an array or object in /admincp/battleadmin.php on line 327


can someone help me fix this?

Revan
04-30-2005, 04:31 PM
Did the script halt, or did it carry on? If the latter, did your stuff actually update as well?

If it did update, then it's harmless and can safely be ignored.

asianboi
04-30-2005, 07:24 PM
Hi Revan,

When I clicked on that button. none of my stuff update. I received that message on top, then it says Your changes is saved then it redirects me to View Battles page

I only see this

Battle Number Battle Name Owner Owner ID Opponent Opponent ID Battle Password Battle State Turn ID Delete

and the button Update Battles

Revan
04-30-2005, 11:32 PM
So what you are saying is, you are trying to update the battles when there's no actual battles to update.
Problem solved.

asianboi
05-01-2005, 01:50 AM
ahhhhh.. so just ignore the message?

U know the battle arena? it asks for the battle # and pw. How do I get that? Does that mean I have to create the battle first to get the # and password?

Revan
05-01-2005, 09:09 AM
You seem to be missing the point.
The Edit Battles is for editing ongoing battles, such as changing whos turn it is, changing who the participants are, etc.
You tried to save the information on a battle, when there are no battles to save the information from. You cannot save information from nonexistant battles.

And obviously you have to create a battle for there to be a battle # and pw to enter in that form, d'oh.

asianboi
05-01-2005, 01:05 PM
oh Thanks Revan... As you can see.. I'm a newbie... and not a coder at all. =) Thanks for your help!