The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
no == ?
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #3
RE: no == ?
you must debug the code to check tag values, because probably these tags are empty

quick example: lets suppose that you have an TAG.City="minoc", so you expect an event 'e_<TAG.City>_city' will be 'e_minoc_city'. But if for some reason the TAG.City is empty, the event name will be e_[nothing here]_city --> e__city

that's exactly whats happening on your code. An easy way to find these problems is debbuging the values, making it display the tag value somewhere (SAY, SYSMESSAGE, SERV.B, etc) just to make it easy to check if values are correct, like this:
Code:
SERV.B SRC.TAG.ArmyNumber: <SRC.TAG.ARMYNUMBER> / TAG.ArmyNumber: <TAG.ARMYNUMBER>
this will make everything readable and easy to check if there's something wrong on this next line:
Code:
IF !(<SRC.TAG.ARMYNUMBER>==<TAG.ARMYNUMBER>)
09-27-2016 10:17 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
no == ? - x77x - 09-27-2016, 06:06 AM
RE: no == ? - rastrero - 09-27-2016, 07:55 AM
RE: no == ? - Coruja - 09-27-2016 10:17 AM
RE: no == ? - x77x - 09-28-2016, 06:11 AM
RE: no == ? - Kanibal - 09-28-2016, 09:29 PM
RE: no == ? - x77x - 10-02-2016, 05:09 AM
RE: no == ? - n1ghtwish - 10-02-2016, 06:33 PM
RE: no == ? - x77x - 10-03-2016, 07:02 AM
RE: no == ? - x77x - 10-06-2016, 09:13 PM

Forum Jump:


User(s) browsing this thread: 5 Guest(s)