#482 Undefined index: current_items

in 3.4
pending
5
2014-09-17
2011-11-06
AZ
No

There were errors when executing "/tm7/index.php" on 06.11.2011 17:16:57!

PHP errors:
- "Undefined index: current_items" (E_NOTICE) in file "/www/htdocs/w00a0eae/home/tm7/core/types/TestMake.php" on line 450
- "Invalid argument supplied for foreach()" (E_WARNING) in file "/www/htdocs/w00a0eae/home/tm7/core/types/TestMake.php" on line 450
- "Undefined variable: item" (E_NOTICE) in file "/www/htdocs/w00a0eae/home/tm7/core/types/TestMake.php" on line 529

$_GET = array (
'page' => 'test_make',
'action' => 'process_answer',
'id' => '1',
);

$_POST = array (
'session_id' => 'c8f7524344c1c35c6e2abb07c0da98c7',
'item_id' => '13',
'block_id' => '87',
'duration' => '6186',
'do_continue' => 'Weiter',
);

$_COOKIE = array (
'TMID' => '9fddb5f3132a13edc0b1d0e6e89763f0',
);

$_SERVER = array (
'UNIQUE_ID' => 'Tray@VUNiiMAADsYTQAAAAAj',
'GEOIP_ADDR' => 'xxxxx6.137',
'GEOIP_CONTINENT_CODE' => 'EU',
'GEOIP_COUNTRY_CODE' => 'DE',
'GEOIP_COUNTRY_NAME' => 'Germany',
'HTTP_HOST' => 'www.xxxx.de',
'HTTP_USER_AGENT' => 'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.22) Gecko/20110902 Firefox/3.6.22',
'HTTP_ACCEPT' => 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8',
'HTTP_ACCEPT_LANGUAGE' => 'de-de,de;q=0.8,en-us;q=0.5,en;q=0.3',
'HTTP_ACCEPT_ENCODING' => 'gzip,deflate',
'HTTP_ACCEPT_CHARSET' => 'ISO-8859-1,utf-8;q=0.7,*;q=0.7',
'HTTP_KEEP_ALIVE' => '115',
'HTTP_CONNECTION' => 'keep-alive',
'HTTP_REFERER' => 'http://www.xxxx.de/tm7/index.php?page=test_make&id=1&resume_messages=true',
'HTTP_COOKIE' => 'TMID=9fddb5f3132a13edc0b1d0e6e89763f0',
'CONTENT_TYPE' => 'application/x-www-form-urlencoded',
'CONTENT_LENGTH' => '99',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'SERVER_SIGNATURE' => '',
'SERVER_SOFTWARE' => 'Apache',
'SERVER_NAME' => 'www.xxxxxin.de',
'SERVER_ADDR' => '85.13.178.40',
'SERVER_PORT' => '80',
'REMOTE_ADDR' => '88.66.126.137',
'DOCUMENT_ROOT' => '/www/htdocs/w00a0eae/home/',
'SERVER_ADMIN' => 'webmaster@xxxxxin.de',
'SCRIPT_FILENAME' => '/www/htdocs/w00a0eae/home/tm7/index.php',
'REMOTE_PORT' => '61517',
'GATEWAY_INTERFACE' => 'CGI/1.1',
'SERVER_PROTOCOL' => 'HTTP/1.1',
'REQUEST_METHOD' => 'POST',
'QUERY_STRING' => 'page=test_make&action=process_answer&id=1',
'REQUEST_URI' => '/tm7/index.php?page=test_make&action=process_answer&id=1',
'SCRIPT_NAME' => '/tm7/index.php',
'PHP_SELF' => '/tm7/index.php',
'REQUEST_TIME' => '1320596217',
'argv' =>
array (
0 => 'page=test_make&action=process_answer&id=1',
),
'argc' => '1',
);

$_ENV = array (
'APACHE_PID_FILE' => '/var/run/apache2.pid',
'APACHE_RUN_USER' => 'www-data',
'APACHE_LOG_DIR' => '/var/log/apache2',
'PATH' => '/usr/local/bin:/usr/bin:/bin',
'PWD' => '/root',
'APACHE_RUN_GROUP' => 'www-data',
'LANG' => 'C',
'SHLVL' => '1',
'APACHE_LOCK_DIR' => '/var/lock/apache2',
'APACHE_RUN_DIR' => '/var/run/apache2',
'_' => '/usr/sbin/apache2',
);

$_SESSION = array (
'userId' => 0,
'initDone' => true,
'language' => 'de',
'accessType' => 'direct',
'languageOld' => 'de',
'RUNNING_TESTS' =>
array (
1 =>
array (
'password' => NULL,
'testRunId' => '536',
'displayingBlockId' => '86',
'sequence' =>
array (
0 => 87,
1 => 88,
2 => 89,
3 => 90,
4 => 91,
5 => 92,
6 => 93,
7 => 94,
8 => 95,
9 => 96,
10 => 97,
11 => 98,
12 => 99,
13 => 100,
14 => 101,
15 => 102,
16 => 103,
17 => 104,
18 => 105,
19 => 106,
20 => 107,
21 => 108,
22 => 109,
23 => 110,
24 => 111,
25 => 112,
26 => 113,
27 => 114,
28 => 115,
29 => 116,
30 => 117,
31 => 118,
32 => 119,
33 => 120,
34 => 121,
),
'skipped_blocks' =>
array (
),
'block_time' =>
array (
),
),
),
'msgs' =>
array (
0 =>
array (
'msg' => 'Es ist ein Systemfehler aufgetreten. Ein Administrator wurde benachrichtigt!',
'flag' => -1,
'hash' => 'd6b5af9a19c60fb18e993919b88c23db',
),
),
'testRunId' => '536',
'testId' => '86',
);

Discussion

  • Patrick Wallukat

    This issue has been resolved and will be part of an upcoming update for the current release series. Thank you for your help with improving testMaker.

     
  • Patrick Wallukat

    • assigned_to: nobody --> patrickwallukat
    • status: open --> pending
     
  • Patrick Wallukat

    fixed in 1115

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks