vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   RPG Integration Hack (https://vborg.vbsupport.ru/forumdisplay.php?f=102)
-   -   /admincp/battleadmin.php on line 327 (https://vborg.vbsupport.ru/showthread.php?t=80789)

asianboi 04-30-2005 03:19 PM

/admincp/battleadmin.php on line 327
 
Hi,

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

Quote:

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!


All times are GMT. The time now is 07:22 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01002 seconds
  • Memory Usage 1,719KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete