• Line: 59
  • File: /var/www/alpha_opinion-8/opinion-8/htdocs/secure/websurvey.php
  • Message: Cannot start survey, could not determine Survey_ID
  • Stack Trace:
    • [0] =>
      • Line: 59
      • File: /var/www/alpha_opinion-8/opinion-8/htdocs/secure/websurvey.php
      • Function: trigger_error
  • Vars:
    Array
    (
        [0] => Array
        [1] => (
        [2] =>     [errno] => 1024
        [3] =>     [errmsg] => Cannot start survey, could not determine Survey_ID
        [4] =>     [filename] => /var/www/alpha_opinion-8/opinion-8/htdocs/secure/websurvey.php
        [5] =>     [linenum] => 59
        [6] =>     [vars] => Array
        [7] =>         (
        [8] =>             [GLOBALS] => Array
        [9] =>  *RECURSION*
        [10] =>             [_ENV] => Array
        [11] =>                 (
        [12] =>                     [APACHE_PID_FILE] => /var/run/apache2.pid
        [13] =>                     [APACHE_RUN_USER] => www-data
        [14] =>                     [PATH] => /usr/local/bin:/usr/bin:/bin
        [15] =>                     [PWD] => /etc/init.d
        [16] =>                     [APACHE_RUN_GROUP] => www-data
        [17] =>                     [LANG] => C
        [18] =>                     [SHLVL] => 1
        [19] =>                     [_] => /usr/sbin/apache2
        [20] =>                     [DOCUMENT_ROOT] => /var/www/alpha_opinion-8/opinion-8/htdocs
        [21] =>                 )
        [22] => 
        [23] =>             [HTTP_ENV_VARS] => Array
        [24] =>                 (
        [25] =>                     [APACHE_PID_FILE] => /var/run/apache2.pid
        [26] =>                     [APACHE_RUN_USER] => www-data
        [27] =>                     [PATH] => /usr/local/bin:/usr/bin:/bin
        [28] =>                     [PWD] => /etc/init.d
        [29] =>                     [APACHE_RUN_GROUP] => www-data
        [30] =>                     [LANG] => C
        [31] =>                     [SHLVL] => 1
        [32] =>                     [_] => /usr/sbin/apache2
        [33] =>                     [DOCUMENT_ROOT] => /var/www/alpha_opinion-8/opinion-8/htdocs
        [34] =>                 )
        [35] => 
        [36] =>             [_POST] => Array
        [37] =>                 (
        [38] =>                 )
        [39] => 
        [40] =>             [HTTP_POST_VARS] => Array
        [41] =>                 (
        [42] =>                 )
        [43] => 
        [44] =>             [_GET] => Array
        [45] =>                 (
        [46] =>                     [request_uri] => /robots.txt
        [47] =>                     [http_host] => alpha.opinion-8.com
        [48] =>                 )
        [49] => 
        [50] =>             [HTTP_GET_VARS] => Array
        [51] =>                 (
        [52] =>                     [request_uri] => /robots.txt
        [53] =>                     [http_host] => alpha.opinion-8.com
        [54] =>                 )
        [55] => 
        [56] =>             [_COOKIE] => Array
        [57] =>                 (
        [58] =>                 )
        [59] => 
        [60] =>             [HTTP_COOKIE_VARS] => Array
        [61] =>                 (
        [62] =>                 )
        [63] => 
        [64] =>             [_SERVER] => Array
        [65] =>                 (
        [66] =>                     [HTTP_X_CC_ID] => ccc01-02
        [67] =>                     [HTTP_HOST] => alpha.opinion-8.co.uk
        [68] =>                     [HTTP_USER_AGENT] => CCBot/1.0 (+http://www.commoncrawl.org/bot.html)
        [69] =>                     [HTTP_ACCEPT] => text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
        [70] =>                     [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5
        [71] =>                     [HTTP_ACCEPT_ENCODING] => gzip
        [72] =>                     [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
        [73] =>                     [HTTP_CONNECTION] => close
        [74] =>                     [HTTP_CACHE_CONTROL] => no-cache
        [75] =>                     [HTTP_PRAGMA] => no-cache
        [76] =>                     [PATH] => /usr/local/bin:/usr/bin:/bin
        [77] =>                     [SERVER_SIGNATURE] => 
    Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 Server at alpha.opinion-8.co.uk Port 80
    [78] => [79] => [SERVER_SOFTWARE] => Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 [80] => [SERVER_NAME] => alpha.opinion-8.co.uk [81] => [SERVER_ADDR] => 217.147.83.45 [82] => [SERVER_PORT] => 80 [83] => [REMOTE_ADDR] => 38.107.191.85 [84] => [DOCUMENT_ROOT] => /var/www/alpha_opinion-8/opinion-8/htdocs [85] => [SERVER_ADMIN] => [no address given] [86] => [SCRIPT_FILENAME] => /var/www/alpha_opinion-8/opinion-8/htdocs/secure/websurvey.php [87] => [REMOTE_PORT] => 28609 [88] => [GATEWAY_INTERFACE] => CGI/1.1 [89] => [SERVER_PROTOCOL] => HTTP/1.1 [90] => [REQUEST_METHOD] => GET [91] => [QUERY_STRING] => request_uri=%2Frobots.txt&http_host=alpha.opinion-8.com [92] => [REQUEST_URI] => /secure/websurvey.php?request_uri=%2Frobots.txt&http_host=alpha.opinion-8.com [93] => [SCRIPT_NAME] => /secure/websurvey.php [94] => [PHP_SELF] => /secure/websurvey.php [95] => [REQUEST_TIME] => 1283945471 [96] => [argv] => Array [97] => ( [98] => [0] => request_uri=%2Frobots.txt&http_host=alpha.opinion-8.com [99] => ) [100] => [101] => [argc] => 1 [102] => ) [103] => [104] => [HTTP_SERVER_VARS] => Array [105] => ( [106] => [HTTP_X_CC_ID] => ccc01-02 [107] => [HTTP_HOST] => alpha.opinion-8.co.uk [108] => [HTTP_USER_AGENT] => CCBot/1.0 (+http://www.commoncrawl.org/bot.html) [109] => [HTTP_ACCEPT] => text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 [110] => [HTTP_ACCEPT_LANGUAGE] => en-us,en;q=0.5 [111] => [HTTP_ACCEPT_ENCODING] => gzip [112] => [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7 [113] => [HTTP_CONNECTION] => close [114] => [HTTP_CACHE_CONTROL] => no-cache [115] => [HTTP_PRAGMA] => no-cache [116] => [PATH] => /usr/local/bin:/usr/bin:/bin [117] => [SERVER_SIGNATURE] =>
    Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 Server at alpha.opinion-8.co.uk Port 80
    [118] => [119] => [SERVER_SOFTWARE] => Apache/2.2.9 (Debian) DAV/2 SVN/1.5.1 PHP/5.2.6-1+lenny4 with Suhosin-Patch mod_python/3.3.1 Python/2.5.2 mod_ssl/2.2.9 OpenSSL/0.9.8g mod_perl/2.0.4 Perl/v5.10.0 [120] => [SERVER_NAME] => alpha.opinion-8.co.uk [121] => [SERVER_ADDR] => 217.147.83.45 [122] => [SERVER_PORT] => 80 [123] => [REMOTE_ADDR] => 38.107.191.85 [124] => [DOCUMENT_ROOT] => /var/www/alpha_opinion-8/opinion-8/htdocs [125] => [SERVER_ADMIN] => [no address given] [126] => [SCRIPT_FILENAME] => /var/www/alpha_opinion-8/opinion-8/htdocs/secure/websurvey.php [127] => [REMOTE_PORT] => 28609 [128] => [GATEWAY_INTERFACE] => CGI/1.1 [129] => [SERVER_PROTOCOL] => HTTP/1.1 [130] => [REQUEST_METHOD] => GET [131] => [QUERY_STRING] => request_uri=%2Frobots.txt&http_host=alpha.opinion-8.com [132] => [REQUEST_URI] => /secure/websurvey.php?request_uri=%2Frobots.txt&http_host=alpha.opinion-8.com [133] => [SCRIPT_NAME] => /secure/websurvey.php [134] => [PHP_SELF] => /secure/websurvey.php [135] => [REQUEST_TIME] => 1283945471 [136] => [argv] => Array [137] => ( [138] => [0] => request_uri=%2Frobots.txt&http_host=alpha.opinion-8.com [139] => ) [140] => [141] => [argc] => 1 [142] => ) [143] => [144] => [_FILES] => Array [145] => ( [146] => ) [147] => [148] => [HTTP_POST_FILES] => Array [149] => ( [150] => ) [151] => [152] => [_REQUEST] => Array [153] => ( [154] => [request_uri] => /robots.txt [155] => [http_host] => alpha.opinion-8.com [156] => ) [157] => [158] => [rootpath] => /var/www/alpha_opinion-8/opinion-8/htdocs/ [159] => [output_buffering] => 1 [160] => [HTTP_SESSION_VARS] => Array [161] => ( [162] => [current_language] => en [163] => [Person_ID] => 0 [164] => ) [165] => [166] => [_SESSION] => Array [167] => ( [168] => [current_language] => en [169] => [Person_ID] => 0 [170] => ) [171] => [172] => [db] => sqsdb Object [173] => ( [174] => [report_db] => [175] => [ping] => [176] => [link] => Resource id #44 [177] => [lower_case_field_names] => 1 [178] => [starttime] => 1283945471.63396000 [179] => [result] => [180] => [sql] => SELECT survey_id_fk FROM survey_url WHERE request_uri="/robots.txt/" [181] => ) [182] => [183] => [smarty] => Opinion8Smarty Object [184] => ( [185] => [db] => sqsdb Object [186] => ( [187] => [report_db] => [188] => [ping] => [189] => [link] => Resource id #44 [190] => [lower_case_field_names] => 1 [191] => [starttime] => 1283945471.63396000 [192] => [result] => [193] => [sql] => SELECT survey_id_fk FROM survey_url WHERE request_uri="/robots.txt/" [194] => ) [195] => [196] => [lang] => lang Object [197] => ( [198] => [db] => sqsdb Object [199] => ( [200] => [report_db] => [201] => [ping] => [202] => [link] => Resource id #44 [203] => [lower_case_field_names] => [204] => [starttime] => 1283945471.58996300 [205] => [result] => [206] => [sql] => SELECT id FROM lang WHERE code="en" [207] => ) [208] => [209] => [code] => en [210] => [code_id] => [211] => [cache] => Array [212] => ( [213] => ) [214] => [215] => ) [216] => [217] => [template_dir] => /var/www/alpha_opinion-8/opinion-8/includes/smarty/templates/default [218] => [compile_dir] => /var/www/alpha_opinion-8/opinion-8/includes/../smarty/templates_c [219] => [config_dir] => /var/www/alpha_opinion-8/opinion-8/includes/smarty/config [220] => [plugins_dir] => /var/www/alpha_opinion-8/opinion-8/includes/smarty/libs/plugins [221] => [debugging] => [222] => [error_reporting] => [223] => [debug_tpl] => [224] => [debugging_ctrl] => NONE [225] => [compile_check] => 1 [226] => [force_compile] => [227] => [caching] => 0 [228] => [cache_dir] => /var/www/alpha_opinion-8/opinion-8/includes/../smarty/cache [229] => [cache_lifetime] => 3600 [230] => [cache_modified_check] => [231] => [php_handling] => 0 [232] => [security] => [233] => [secure_dir] => Array [234] => ( [235] => ) [236] => [237] => [security_settings] => Array [238] => ( [239] => [PHP_HANDLING] => [240] => [IF_FUNCS] => Array [241] => ( [242] => [0] => array [243] => [1] => list [244] => [2] => isset [245] => [3] => empty [246] => [4] => count [247] => [5] => sizeof [248] => [6] => in_array [249] => [7] => is_array [250] => [8] => true [251] => [9] => false [252] => [10] => null [253] => ) [254] => [255] => [INCLUDE_ANY] => [256] => [PHP_TAGS] => [257] => [MODIFIER_FUNCS] => Array [258] => ( [259] => [0] => count [260] => ) [261] => [262] => [ALLOW_CONSTANTS] => [263] => ) [264] => [265] => [trusted_dir] => Array [266] => ( [267] => ) [268] => [269] => [left_delimiter] => { [270] => [right_delimiter] => } [271] => [request_vars_order] => EGPCS [272] => [request_use_auto_globals] => 1 [273] => [compile_id] => [274] => [use_sub_dirs] => [275] => [default_modifiers] => Array [276] => ( [277] => ) [278] => [279] => [default_resource_type] => file [280] => [cache_handler_func] => [281] => [autoload_filters] => Array [282] => ( [283] => ) [284] => [285] => [config_overwrite] => 1 [286] => [config_booleanize] => 1 [287] => [config_read_hidden] => [288] => [config_fix_newlines] => 1 [289] => [default_template_handler_func] => [290] => [compiler_file] => Smarty_Compiler.class.php [291] => [compiler_class] => Smarty_Compiler [292] => [config_class] => Config_File [293] => [_tpl_vars] => Array [294] => ( [295] => [SCRIPT_NAME] => /secure/websurvey.php [296] => [current_language] => en [297] => [change_language_url] => /secure/websurvey.php?request_uri=%2Frobots.txt&http_host=alpha.opinion-8.com&change_current_language= [298] => ) [299] => [300] => [_smarty_vars] => [301] => [_sections] => Array [302] => ( [303] => ) [304] => [305] => [_foreach] => Array [306] => ( [307] => ) [308] => [309] => [_tag_stack] => Array [310] => ( [311] => ) [312] => [313] => [_conf_obj] => [314] => [_config] => Array [315] => ( [316] => [0] => Array [317] => ( [318] => [vars] => Array [319] => ( [320] => ) [321] => [322] => [files] => Array [323] => ( [324] => ) [325] => [326] => ) [327] => [328] => ) [329] => [330] => [_smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f [331] => [_version] => 2.6.18 [332] => [_inclusion_depth] => 0 [333] => [_compile_id] => [334] => [_smarty_debug_id] => SMARTY_DEBUG [335] => [_smarty_debug_info] => Array [336] => ( [337] => ) [338] => [339] => [_cache_info] => Array [340] => ( [341] => ) [342] => [343] => [_file_perms] => 420 [344] => [_dir_perms] => 505 [345] => [_reg_objects] => Array [346] => ( [347] => ) [348] => [349] => [_plugins] => Array [350] => ( [351] => [modifier] => Array [352] => ( [353] => ) [354] => [355] => [function] => Array [356] => ( [357] => ) [358] => [359] => [block] => Array [360] => ( [361] => ) [362] => [363] => [compiler] => Array [364] => ( [365] => ) [366] => [367] => [prefilter] => Array [368] => ( [369] => ) [370] => [371] => [postfilter] => Array [372] => ( [373] => ) [374] => [375] => [outputfilter] => Array [376] => ( [377] => ) [378] => [379] => [resource] => Array [380] => ( [381] => ) [382] => [383] => [insert] => Array [384] => ( [385] => ) [386] => [387] => ) [388] => [389] => [_cache_serials] => Array [390] => ( [391] => ) [392] => [393] => [_cache_include] => [394] => [_cache_including] => [395] => ) [396] => [397] => [lang] => lang Object [398] => ( [399] => [db] => sqsdb Object [400] => ( [401] => [report_db] => [402] => [ping] => [403] => [link] => Resource id #44 [404] => [lower_case_field_names] => [405] => [starttime] => 1283945471.58996300 [406] => [result] => [407] => [sql] => SELECT id FROM lang WHERE code="en" [408] => ) [409] => [410] => [code] => en [411] => [code_id] => [412] => [cache] => Array [413] => ( [414] => ) [415] => [416] => ) [417] => [418] => [reseller] => [419] => [hostname] => alpha.opinion-8.co.uk [420] => [SQL] => SELECT template_directory FROM reseller WHERE domain_name="alpha.opinion-8.co.uk" [421] => [uri] => /secure/websurvey.php?request_uri=%2Frobots.txt&http_host=alpha.opinion-8.com&change_current_language= [422] => [SurveyType_ID] => 2 [423] => [Survey_ID] => [424] => [request_uri] => /robots.txt [425] => [http_host] => alpha.opinion-8.com [426] => [parts] => Array [427] => ( [428] => [0] => /robots.txt [429] => ) [430] => [431] => [path] => /robots.txt/ [432] => [sql] => SELECT survey_id_fk FROM survey_url WHERE request_uri="/robots.txt/" [433] => ) [434] => [435] => [nasty_stuff] => Array [436] => ( [437] => ****This row has been removed**** [438] => ****This row has been removed**** [439] => ****This row has been removed**** [440] => ****This row has been removed**** [441] => ****This row has been removed**** [442] => ****This row has been removed**** [443] => ) [444] => [445] => ) [446] => )