Errors Output
  1. Can't call method "SyntaxError" on an undefined value at /usr/local/proj/asp/eg/syntax_error.asp line 59. , /usr/local/share/perl5/Apache/ASP.pm line 1522
Debug Output
  1. RUN ASP (v2.63) for /usr/local/proj/asp/eg/syntax_error.asp
  2. GlobalASA package Apache::ASP::Demo
  3. creating dbm for file /tmp/asp_demo/server/internal, db SDBM_File, serializer: Data::Dumper
  4. creating dbm for file /tmp/asp_demo/server/application, db SDBM_File, serializer: Data::Dumper
  5. refreshing 08cb9a5c843623354345d1f19b9f5b7c with timeout 1544587994
  6. new session id 08cb9a5c843623354345d1f19b9f5b7c
  7. creating dbm for file /tmp/asp_demo/08/08cb9a5c843623354345d1f19b9f5b7c, db SDBM_File, serializer: Data::Dumper
  8. tieing session 08cb9a5c843623354345d1f19b9f5b7c
  9. clearing starting session
  10. forcing groups cleanup
  11. testing internal time for cleanup groups
  12. current_master - Checked: 1544587193; PID: 2506; ServerID: 4bd6b525ebd3eafe; - is_master - 1
  13. 1544587200.5 time is stale, is_master 1 - Checked: 1544587193; PID: 2506; ServerID: 4bd6b525ebd3eafe;
  14. is_master 1 after update 4bd6b525ebd3eafe - 2506
  15. groups - 0e; 01; 0d; 0a; 00; 0c; 02; 08; 03; 09; 07; 0b; 0f; 04; 06; 05
  16. group check 0e, next in 8 sec
  17. checking group ids -
  18. group check 01, next in 20 sec
  19. checking group ids -
  20. group check 0d, next in 15 sec
  21. checking group ids - 0df328ad6c9d2d3f65e7e5303068ba58
  22. resetting timeout for deletion lock on 0df328ad6c9d2d3f65e7e5303068ba58
  23. creating dbm for file /tmp/asp_demo/0d/0df328ad6c9d2d3f65e7e5303068ba58, db SDBM_File, serializer: Data::Dumper
  24. Session_OnEnd - session: 0df328ad6c9d2d3f65e7e5303068ba58;
  25. executing Session_OnEnd
  26. creating dbm for file /tmp/asp_demo/0d/0df328ad6c9d2d3f65e7e5303068ba58, db SDBM_File, serializer: Data::Dumper
  27. deleting session - files_deleted: 1; session_id: 0df328ad6c9d2d3f65e7e5303068ba58;
  28. group check 0a, next in 1 sec
  29. checking group ids -
  30. group check 00, next in 19 sec
  31. checking group ids -
  32. group check 0c, next in 24 sec
  33. checking group ids -
  34. group check 02, next in 15 sec
  35. checking group ids - 027f00acb971dd9d0ca92ba0685477ba; 02c79f17a90977bede8c532d70daad1a
  36. resetting timeout for deletion lock on 027f00acb971dd9d0ca92ba0685477ba
  37. creating dbm for file /tmp/asp_demo/02/027f00acb971dd9d0ca92ba0685477ba, db SDBM_File, serializer: Data::Dumper
  38. Session_OnEnd - session: 027f00acb971dd9d0ca92ba0685477ba;
  39. executing Session_OnEnd
  40. creating dbm for file /tmp/asp_demo/02/027f00acb971dd9d0ca92ba0685477ba, db SDBM_File, serializer: Data::Dumper
  41. deleting session - files_deleted: 1; session_id: 027f00acb971dd9d0ca92ba0685477ba;
  42. resetting timeout for deletion lock on 02c79f17a90977bede8c532d70daad1a
  43. creating dbm for file /tmp/asp_demo/02/02c79f17a90977bede8c532d70daad1a, db SDBM_File, serializer: Data::Dumper
  44. Session_OnEnd - session: 02c79f17a90977bede8c532d70daad1a;
  45. executing Session_OnEnd
  46. creating dbm for file /tmp/asp_demo/02/02c79f17a90977bede8c532d70daad1a, db SDBM_File, serializer: Data::Dumper
  47. deleting session - files_deleted: 1; session_id: 02c79f17a90977bede8c532d70daad1a;
  48. group check 08, next in 23 sec
  49. checking group ids - 08cb9a5c843623354345d1f19b9f5b7c
  50. 08cb9a5c843623354345d1f19b9f5b7c not timed out with 1544587994
  51. group check 03, next in 14 sec
  52. checking group ids -
  53. group check 09, next in 17 sec
  54. checking group ids -
  55. group check 07, next in 16 sec
  56. checking group ids -
  57. group check 0b, next in 9 sec
  58. checking group ids -
  59. group check 0f, next in 4 sec
  60. checking group ids - 0fa90933e44ec6176322a0956c05d4c5
  61. resetting timeout for deletion lock on 0fa90933e44ec6176322a0956c05d4c5
  62. creating dbm for file /tmp/asp_demo/0f/0fa90933e44ec6176322a0956c05d4c5, db SDBM_File, serializer: Data::Dumper
  63. Session_OnEnd - session: 0fa90933e44ec6176322a0956c05d4c5;
  64. executing Session_OnEnd
  65. creating dbm for file /tmp/asp_demo/0f/0fa90933e44ec6176322a0956c05d4c5, db SDBM_File, serializer: Data::Dumper
  66. deleting session - files_deleted: 1; session_id: 0fa90933e44ec6176322a0956c05d4c5;
  67. group check 04, next in 8 sec
  68. checking group ids -
  69. group check 06, next in 4 sec
  70. checking group ids - 06014a03293b1a42041b7813b0ac9c6a
  71. resetting timeout for deletion lock on 06014a03293b1a42041b7813b0ac9c6a
  72. creating dbm for file /tmp/asp_demo/06/06014a03293b1a42041b7813b0ac9c6a, db SDBM_File, serializer: Data::Dumper
  73. Session_OnEnd - session: 06014a03293b1a42041b7813b0ac9c6a;
  74. executing Session_OnEnd
  75. creating dbm for file /tmp/asp_demo/06/06014a03293b1a42041b7813b0ac9c6a, db SDBM_File, serializer: Data::Dumper
  76. deleting session - files_deleted: 1; session_id: 06014a03293b1a42041b7813b0ac9c6a;
  77. group check 05, next in 8 sec
  78. checking group ids - 05710d41046c00fe43b883a2fcbcb3d4; 05e18e57a51c96a4aa36e9bc2aa34843; 052aba5fc317808e2eebc21b6ce7ca10
  79. resetting timeout for deletion lock on 05710d41046c00fe43b883a2fcbcb3d4
  80. creating dbm for file /tmp/asp_demo/05/05710d41046c00fe43b883a2fcbcb3d4, db SDBM_File, serializer: Data::Dumper
  81. Session_OnEnd - session: 05710d41046c00fe43b883a2fcbcb3d4;
  82. executing Session_OnEnd
  83. creating dbm for file /tmp/asp_demo/05/05710d41046c00fe43b883a2fcbcb3d4, db SDBM_File, serializer: Data::Dumper
  84. deleting session - files_deleted: 1; session_id: 05710d41046c00fe43b883a2fcbcb3d4;
  85. resetting timeout for deletion lock on 05e18e57a51c96a4aa36e9bc2aa34843
  86. creating dbm for file /tmp/asp_demo/05/05e18e57a51c96a4aa36e9bc2aa34843, db SDBM_File, serializer: Data::Dumper
  87. Session_OnEnd - session: 05e18e57a51c96a4aa36e9bc2aa34843;
  88. executing Session_OnEnd
  89. creating dbm for file /tmp/asp_demo/05/05e18e57a51c96a4aa36e9bc2aa34843, db SDBM_File, serializer: Data::Dumper
  90. deleting session - files_deleted: 1; session_id: 05e18e57a51c96a4aa36e9bc2aa34843;
  91. resetting timeout for deletion lock on 052aba5fc317808e2eebc21b6ce7ca10
  92. creating dbm for file /tmp/asp_demo/05/052aba5fc317808e2eebc21b6ce7ca10, db SDBM_File, serializer: Data::Dumper
  93. Session_OnEnd - session: 052aba5fc317808e2eebc21b6ce7ca10;
  94. executing Session_OnEnd
  95. creating dbm for file /tmp/asp_demo/05/052aba5fc317808e2eebc21b6ce7ca10, db SDBM_File, serializer: Data::Dumper
  96. deleting session - files_deleted: 1; session_id: 052aba5fc317808e2eebc21b6ce7ca10;
  97. cleanup groups - deleted: 3;
  98. Application_OnEnd
  99. executing Application_OnEnd
  100. Application_OnStart
  101. executing Application_OnStart
  102. Session_OnStart - session: 08cb9a5c843623354345d1f19b9f5b7c;
  103. executing Session_OnStart
  104. updating LastSessionTimeout from 1544587523
  105. Script_OnStart
  106. executing Script_OnStart
  107. [syntax_error.asp] - Script_OnStart /usr/local/proj/asp/eg/syntax_error.asp in global.asa
  108. executing Apache::ASP::Demo::__ASP__local_proj_asp_eg_synta__error_aspx912a61bdf9084209b6314417f66088c7xINC
  109. executing Apache::ASP::Demo::__ASP__usr_local_proj_asp_eg_header_incx3436ef45a26199e890479d9a7f0923bcxINC
  110. done executing include code Apache::ASP::Demo::__ASP__usr_local_proj_asp_eg_header_incx3436ef45a26199e890479d9a7f0923bcxINC
  111. [syntax_error.asp] - Debugging - can; take - just: about; - any; kind - of reference - or scalar
  112. Can't call method "SyntaxError" on an undefined value at /usr/local/proj/asp/eg/syntax_error.asp line 59. , /usr/local/share/perl5/Apache/ASP.pm line 1522
  113. ASP Done Processing Apache::ASP=HASH(0x5630ffea52b8) - Application: Apache::ASP::Application=HASH(0x5630ffeda910); GlobalASA: Apache::ASP::GlobalASA=HASH(0x5630ffef29c8); Internal: Apache::ASP::State=HASH(0x5630ffed5150); Request: Apache::ASP::Request=HASH(0x5630ffed4d90); Response: Apache::ASP::Response=HASH(0x5630ffedd538); Server: Apache::ASP::Server=HASH(0x5630ffed5498); Session: Apache::ASP::Session=HASH(0x5630fff17558); app_state: 1; basename: syntax_error.asp; cleanup: ARRAY(0x5630ffedb1e0); compile_checksum: 3436ef45a26199e890479d9a7f0923bc; cookie_domain: ; cookie_path: /; dbg: 3; debugs_output: ARRAY(0x5630ffed50a8); destroy: 1; dir_config: APR::Table=HASH(0x5630ffed4ef8); dirname: /usr/local/proj/asp/eg/; errors_output: ARRAY(0x5630ffea50f0); errs: 1; filename: /usr/local/proj/asp/eg/syntax_error.asp; global: /usr/local/proj/asp/eg//.; global_package: Apache::ASP::Demo; group_refresh: 30; headers_in: APR::Table=HASH(0x5630ffed4c28); http_only_session: ; includes_dir: ARRAY(0x5630ff7ade70); init_packages: ARRAY(0x5630ffedda60); inode_names: 0; internal_cached_keys: HASH(0x5630fff25950); last_compile_include_data: HASH(0x5630ffee7a50); last_time: 1544587694.5759; no_cache: 0; package: Apache::ASP::Demo; paranoid_session: ; r: Apache2::RequestRec=SCALAR(0x5630ffea4b50); remote_ip: 3.80.85.76; request_binary_read: 1; response_tied: 1; run_perl_script: SCALAR(0x5630ffedb2e8); search_dirs_cache: HASH(0x5630fff17468); secure_session: ; session_count: 1; session_id: 08cb9a5c843623354345d1f19b9f5b7c; session_serialize: ; session_state: 1; session_timeout: 300; session_url: 1; session_url_force: ; session_url_match: ; session_url_parse: 0; session_url_parse_match: ; start_time: 1544587694.55812; stat_inc: 0; stat_inc_match: 0; stat_scripts: 1; state_db: ; state_dir: /tmp/asp_demo; state_manager: 10; state_serialize: ; state_serializer: ; ua: CCBot/2.0 (https://commoncrawl.org/faq/); use_strict: 1; win32: 0; xslt: 0;
  114. errors out
  115. Can't call method "SyntaxError" on an undefined value at /usr/local/proj/asp/eg/syntax_error.asp line 59. , /usr/local/share/perl5/Apache/ASP.pm line 1522
ASP to Perl Script 

  -: use strict;;;use vars qw($Application $Session $Response $Server $Request);;
  -: #line 1 /usr/local/proj/asp/eg/syntax_error.asp
  1: ;;
  2: 
  3: ;  
  4: use File::Basename;
  5: if($Request->QueryString('buffer')) {
  6: 	$Response->{Buffer} = 1;
  7: } else {
  8: 	$Response->{Buffer} = 0; 
  9: }
 10: ; &Apache::ASP::WriteRef($main::Response, \('
 11: ')); $Response->Include('/usr/local/proj/asp/eg/header.inc', ); ; &Apache::ASP::WriteRef($main::Response, \('
 12: We are creating a perl syntax error... this should demonstrate 
 13: how error handling is done.  Please check the error log file if 
 14: you are interested in the output there.
 15: <p>
 16: You can turn this error messaging off by setting the Debug variable
 17: in the ASP config to 1 or 0.
 18: <p>
 19: Also here is an example of how you can use debugging, an API
 20: extension $Response->Debug(@args), in your script.  The debug 
 21: output will show up below, and in your error logs.  This user 
 22: style debugging is turned off with the same Debug setting set to 0.
 23: <p>
 24: 
 25: 
 26: 
 27: ')); 
 28:    $Response->Debug(
 29: 	"Debugging", 
 30: 	['can', 'take'], 
 31: 	{'just'=>'about'},
 32: 	sub { ['any', 'kind']},
 33: 	\"of reference",
 34: 	"or scalar"
 35: 	);
 36: 
 37:    print "Try this script also with <a href=".basename($0)."?buffer=1>buffering on.</a>";
 38: ; &Apache::ASP::WriteRef($main::Response, \('
 39: 
 40: <p>
 41: 
 42: This script by default does a runtime syntax error.  If you would like
 43: to see a script <b>compile error, <a href="'.( basename($0) ).'?compile_error=1">click here</a></b>.
 44: 
 45: <p>
 46: <a href="source.asp?file='.($Request->ServerVariables("SCRIPT_NAME")).'">
 47: view this file\'s source
 48: </a>
 49: 
 50: <br>
 51: <br>
 52: 
 53: ')); 
 54: if($Request->QueryString('compile_error')) {
 55:   $Response->Include("compile_error.inc");
 56: } else {
 57:         my $Object;
 58: 	# create a run-time syntax error
 59: 	$Object->SyntaxError(); 
 60: }
 61: ; &Apache::ASP::WriteRef($main::Response, \('
 62: 
 63: 
 64: 
 65: 
 66: 
 67: 
 68: 
 69: 
 70: 
 71: 
 72: 
 73: 
 74: Misc Text Below Error'));


An error has occured with the Apache::ASP script just run. If you are the developer working on this script, and cannot work through this problem, please try researching it at the Apache::ASP web site, specifically the FAQ section. Failing that, check out your support options, and if necessary include this debug output with any query.