forum.webdiplomacy.net

webDip dev coordination forum / public access todo list
It is currently Sun Feb 18, 2018 5:00 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Aug 26, 2008 8:19 pm 
Offline
Site Admin

Joined: Sat Jun 28, 2008 6:24 am
Posts: 892
3 error logs, all regarding orders. I'm not sure what the problem is, I thought it was something to do with games being changed while orders were being loaded, but extra locking checks haven't held up.

For some reason they're only appearing on phpdiplomacy.net, and not Facebook phpDiplomacy. Also they don't seem to affect anything; no-one complains about the errors so clearly a simple refresh gets rid of them, but they're still concerning.

Code:
Error: "Trying to get property of non-object"
Raised: "/home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/retreats.php"
Line: "44"
userID = 7135, gameID = 4881Trace:
0 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/retreats.php
   line => 44
   function => error_handler
   args => Array: (
      0 => 8
      1 => Trying to get property of non-object
      2 => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/retreats.php
      3 => 44
      4 => Array: (
      )
   )
)
1 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
   line => 347
   function => begin
   class => userOrderRetreats
   type => ->
   object => Array: (
      country => France
   )
   args => Array: (
   )
)
2 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
   line => 156
   function => html
   class => userOrder
   type => ->
   object => Array: (
      country => France
   )
   args => Array: (
      0 =>
   )
)
3 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/orderinterface.php
   line => 53
   function => text
   class => userOrder
   type => ->
   object => Array: (
      country => France
   )
   args => Array: (
   )
)
4 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/orderinterface.php
   line => 115
   function => ordersTable
   class => OrderInterface
   type => ::
   args => Array: (
   )
)
5 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board.php
   line => 151
   function => ordersForm
   class => OrderInterface
   type => ::
   args => Array: (
   )
)


Code:
Error: "An assertion, is_array($options), was not met as required."
Raised: "/home/.mio/phpdiplomacy/phpdiplomacy.net/global/error.php"
Line: "51"
userID = 7203, gameID = 4966Variable dump: file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
line => 412
expr => is_array($options)


Trace:
0 => Array: (
   function => error_handler
   args => Array: (
      0 => 1024
      1 => An assertion, is_array($options), was not met as required.
      2 => /home/.mio/phpdiplomacy/phpdiplomacy.net/global/error.php
      3 => 51
      4 => Array: (
         file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
         line => 412
         expr => is_array($options)
      )
   )
)
1 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/global/error.php
   line => 51
   function => trigger_error
   args => Array: (
      0 => An assertion, is_array($options), was not met as required.
   )
)
2 => Array: (
   function => assert_handler
   args => Array: (
      0 => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
      1 => 412
      2 => is_array($options)
   )
)
3 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
   line => 412
   function => assert
   args => Array: (
      0 => is_array($options)
   )
)
4 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
   line => 352
   function => processRequirement
   class => userOrder
   type => ->
   object => Array: (
      country => Russia
   )
   args => Array: (
      0 => type
      1 =>
   )
)
5 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
   line => 156
   function => html
   class => userOrder
   type => ->
   object => Array: (
      country => Russia
   )
   args => Array: (
      0 =>
   )
)
6 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/orderinterface.php
   line => 53
   function => text
   class => userOrder
   type => ->
   object => Array: (
      country => Russia
   )
   args => Array: (
   )
)
7 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/orderinterface.php
   line => 115
   function => ordersTable
   class => OrderInterface
   type => ::
   args => Array: (
   )
)
8 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board.php
   line => 151
   function => ordersForm
   class => OrderInterface
   type => ::
   args => Array: (
   )
)


Code:
Error: "Undefined index:  Retreat"
Raised: "/home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php"
Line: "362"
userID = 2355, gameID = 4787Variable dump: form => 1
html => <td class="uniticon"><img src="images/Fleet.png" alt="Fleet" /></td><td class="order fleet">The fleet at Prussia <select name="orderForm[1085567][type]" onChange="style.backgroundColor='#ffd4c9'" ><option value="0"></option><option value="Hold">hold</option><option value="Move">move</option><option value="Support hold">support hold</option><option value="Support move">support move</option></select>


Trace:
0 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
   line => 362
   function => error_handler
   args => Array: (
      0 => 8
      1 => Undefined index:  Retreat
      2 => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
      3 => 362
      4 => Array: (
         form => 1
         html => <td class="uniticon"><img src="images/Fleet.png" alt="Fleet" /></td><td class="order fleet">The fleet at Prussia <select name="orderForm[1085567][type]" onChange="style.backgroundColor='#ffd4c9'" ><option value="0"></option><option value="Hold">hold</option><option value="Move">move</option><option value="Support hold">support hold</option><option value="Support move">support move</option></select>
      )
   )
)
1 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/order.php
   line => 147
   function => html
   class => userOrder
   type => ->
   object => Array: (
      country => England
   )
   args => Array: (
      0 => 1
   )
)
2 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/orderinterface.php
   line => 57
   function => form
   class => userOrder
   type => ->
   object => Array: (
      country => England
   )
   args => Array: (
   )
)
3 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board/orders/orderinterface.php
   line => 194
   function => ordersTable
   class => OrderInterface
   type => ::
   args => Array: (
   )
)
4 => Array: (
   file => /home/.mio/phpdiplomacy/phpdiplomacy.net/board.php
   line => 151
   function => ordersForm
   class => OrderInterface
   type => ::
   args => Array: (
   )
)


Top
 Profile  
 
PostPosted: Thu Mar 19, 2009 9:39 am 
Offline
Site Admin

Joined: Sat Jun 28, 2008 6:24 am
Posts: 892
These errors have stopped occuring, and don't happen on any other server


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group