Hi all!.
I am having some problem on my site www.efbishockeysupport.dk
The just startede today! And the problem is that when users are trying to submit webforms. Its all good, and the submission is getting thru.
Although. After submitting users are met with a green background and the text:
""$form_state is: Array ( [submitted] => 1 [webform] => Array ( [component_tree] => Array ( [children] => Array ( [1] => Array ( [nid] => 230 [cid] => 1 [form_key] => navn [name] => Navn [type] => textfield [value] => [extra] => Array ( [disabled] => 0 [unique] => 0 [conditional_operator] => = [width] => [maxlength] => [field_prefix] => [field_suffix] => [description] => [attributes] => Array ( )
[conditional_component] =>
[conditional_values] =>
)
[mandatory] => 1
[pid] => 0
[weight] => 0
[email] => 1
[page_num] => 1
)
[2] => Array
(
[nid] => 230
[cid] => 2
[form_key] => antal_personer
[name] => Antal personer
[type] => select
[value] =>
[extra] => Array
(
[items] => 1
2 3 4 5 6 7 8 9 10 [multiple] => 0 [aslist] => Y [other_text] => Other... [optrand] => 0 [conditional_operator] => = [other_option] => [description] => [conditional_component] => [conditional_values] => )
[mandatory] => 1
[pid] => 0
[weight] => 1
[email] => 1
[page_num] => 1
)
[3] => Array
(
[nid] => 230
[cid] => 3
[form_key] => mobilnummer
[name] => Mobilnummer
[type] => textfield
[value] =>
[extra] => Array
(
[disabled] => 0
[unique] => 0
[conditional_operator] => =
[width] =>
[maxlength] =>
[field_prefix] =>
[field_suffix] =>
[description] =>
[attributes] => Array
(
)
[conditional_component] =>
[conditional_values] =>
)
[mandatory] => 1
[pid] => 0
[weight] => 2
[email] => 1
[page_num] => 1
)
[4] => Array
(
[nid] => 230
[cid] => 4
[form_key] => medlem
[name] => Medlem
[type] => select
[value] =>
[extra] => Array
(
[items] => Ja
Nej [multiple] => 0 [aslist] => 0 [other_text] => Other... [optrand] => 0 [conditional_operator] => = [other_option] => [description] => [conditional_component] => [conditional_values] => )
[mandatory] => 1
[pid] => 0
[weight] => 3
[email] => 1
[page_num] => 1
)
)
)
[page_count] => 1
[page_num] => 1
)
[values] => Array
(
[submitted] => Array
(
[1] => test
[2] => 1
[3] => test
[4] => Ja
)
[details] => Array
(
[nid] => 230
[sid] => 282
[finished] => 0
[is_new] => 1
)
[op] => Indsend
[submit] => Indsend
[form_build_id] => form-b86db854aaca1f868f32bdde2a651700
[form_token] => e1c008dba91730349391513e00e4eecb
[form_id] => webform_client_form_230
[submitted_tree] => Array
(
[navn] => test
[antal_personer] => 1
[mobilnummer] => test
[medlem] => Ja
)
)
[clicked_button] => Array
(
[#type] => submit
[#value] => Indsend
[#weight] => 10
[#post] => Array
(
[submitted] => Array
(
[navn] => test
[antal_personer] => 1
[mobilnummer] => test
[medlem] => Ja
)
[details] => Array
(
[sid] =>
[finished] => 0
)
[form_build_id] => form-f22dbb24f7187417eeb02356113bd094
[form_token] => e1c008dba91730349391513e00e4eecb
[form_id] => webform_client_form_230
[op] => Indsend
)
[#programmed] =>
[#tree] =>
[#parents] => Array
(
[0] => submit
)
[#array_parents] => Array
(
[0] => buttons
[1] => submit
)
[#processed] =>
[#description] =>
[#attributes] => Array
(
)
[#required] =>
[#input] => 1
[#name] => op
[#button_type] => submit
[#executes_submit_callback] => 1
[#process] => Array
(
[0] => form_expand_ahah
)
[#id] => edit-submit
)
[redirect] =>
) $_SERVER is: Array ( [PATH] => /bin:/usr/bin:/usr/local/bin [FCGI_ROLE] => RESPONDER [CONTENT_LENGTH] => 1187 [CONTENT_TYPE] => multipart/form-data; boundary=---------------------------7da3b4c1605ee [DOCUMENT_ROOT] => /customers/efbishockeysupport.dk/efbishockeysupport.dk/httpd.www [DOMAIN_NAME] => efbishockeysupport.dk [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, application/x-ms-application, application/x-ms-xbap, application/vnd.ms-xpsdocument, application/xaml+xml, */* [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_ACCEPT_LANGUAGE] => da [HTTP_CACHE_CONTROL] => no-cache [HTTP_CONNECTION] => Keep-Alive [HTTP_COOKIE] => SESSd22fb438e55a9bbbb4f5d763950a6555=843bf822ec48ee798b1ac731d68fe1b2; SESSa626e836136a2554dcc7bbd96e83122d=1d0204ec624391f0fe6e2aee22fa92a0; SESSb738150f9c25b1bdc1115776732fb0fe=bccef73f1169766e6ae88e33dbf71c4e; splash_cookie_1260452641=a%3A1%3A%7Bs%3A4%3A%22time%22%3Bi%3A1260452646%3B%7D; splash_cookie_1260452659=a%3A1%3A%7Bs%3A4%3A%22time%22%3Bi%3A1260452739%3B%7D; splash_cookie_1260452778=a%3A1%3A%7Bs%3A4%3A%22time%22%3Bi%3A1260877187%3B%7D; shoutinfo=EFBIS%7C; has_js=1 [HTTP_HOST] => www.efbishockeysupport.dk [HTTP_REFERER] => http://www.efbishockeysupport.dk/node/230 [HTTP_UA_CPU] => x86 [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) [ONECOM_TMPDIR] => /customers/efbishockeysupport.dk/efbishockeysupport.dk/tmp [REDIRECT_DOMAIN_NAME] => efbishockeysupport.dk [REDIRECT_ONECOM_TMPDIR] => /customers/efbishockeysupport.dk/efbishockeysupport.dk/tmp [REDIRECT_QUERY_STRING] => q=node/230 [REDIRECT_REDIRECT_DOMAIN_NAME] => efbishockeysupport.dk [REDIRECT_REDIRECT_ONECOM_TMPDIR] => /customers/efbishockeysupport.dk/efbishockeysupport.dk/tmp [REDIRECT_REDIRECT_SCRIPT_URI] => http://www.efbishockeysupport.dk/node/230 [REDIRECT_REDIRECT_SCRIPT_URL] => /node/230 [REDIRECT_REDIRECT_STATUS] => 200 [REDIRECT_REDIRECT_UNIQUE_ID] => S45v4cMv94IAAAnbdeQ [REDIRECT_REDIRECT_WEBC_USER_DOCUMENT_ROOT] => /customers/efbishockeysupport.dk/efbishockeysupport.dk/httpd.www [REDIRECT_REDIRECT_WEBC_USER_DOMAIN_NAME] => efbishockeysupport.dk [REDIRECT_SCRIPT_URI] => http://www.efbishockeysupport.dk/node/230 [REDIRECT_SCRIPT_URL] => /node/230 [REDIRECT_STATUS] => 200 [REDIRECT_UNIQUE_ID] => S45v4cMv94IAAAnbdeQ [REDIRECT_URL] => /index.php [REDIRECT_WEBC_USER_DOCUMENT_ROOT] => /customers/efbishockeysupport.dk/efbishockeysupport.dk/httpd.www [REDIRECT_WEBC_USER_DOMAIN_NAME] => efbishockeysupport.dk [REMOTE_ADDR] => 93.167.227.129 [REMOTE_PORT] => 18804 [SCRIPT_FILENAME] => /customers/efbishockeysupport.dk/efbishockeysupport.dk/httpd.www/index.php [SCRIPT_URI] => http://www.efbishockeysupport.dk/node/230 [SCRIPT_URL] => /node/230 [SERVER_ADDR] => 195.47.247.130 [SERVER_ADMIN] => support@one.com [SERVER_NAME] => www.efbishockeysupport.dk [SERVER_PORT] => 80 [SERVER_SIGNATURE] => [SERVER_SOFTWARE] => Apache [UNIQUE_ID] => S45v4cMv94IAAAnbdeQ [WEBC_USER_DOCUMENT_ROOT] => /customers/efbishockeysupport.dk/efbishockeysupport.dk/httpd.www [WEBC_USER_DOMAIN_NAME] => efbishockeysupport.dk [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => q=node/230 [REQUEST_URI] => /node/230 [SCRIPT_NAME] => /index.php [ORIG_SCRIPT_FILENAME] => /usr/lib/apache/suexec-allowed-bins/genericphpwrapper [ORIG_PATH_INFO] => /index.php [ORIG_PATH_TRANSLATED] => /customers/efbishockeysupport.dk/efbishockeysupport.dk/httpd.www/index.php [ORIG_SCRIPT_NAME] => /php-bin [PHP_SELF] => /index.php [REQUEST_TIME] => 1267625953 ) $_POST is: Array ( [submitted] => Array ( [navn] => test [antal_personer] => 1 [mobilnummer] => test [medlem] => Ja )
[details] => Array
(
[sid] =>
[finished] => 0
)
[form_build_id] => form-f22dbb24f7187417eeb02356113bd094
[form_token] => e1c008dba91730349391513e00e4eecb
[form_id] => webform_client_form_230
[op] => Indsend
"
What might be the problem?
Comments
It looks like you have a
It looks like you have a print_r or (print/echo) printing information and it is interfering with the page.
@ Nevets - I havent change
@ Nevets - I havent change anything on the page, regarding print_r? or something like that :) actulaly i havent change anything on the page in weeks :) and all webforms have worked fine. Where can i change the print/echo stuff?
When trying to submit on webforms created earlier it works just fine, no code showing!
I would start by searching
I would start by searching the code for 'form_state is:', probably start with the webform module (and/or any custom modules).
form_state
if (variable_get('webform_debug', 0) >= 2) {
drupal_set_message('$form_state is:
');
drupal_set_message('$_SERVER is:
');
drupal_set_message('$_POST is:
');
}
Should i turn any of thoes "true" to "false"? :) - Found in the webform_module file.
Sry for the lame questions but kinda new with all the kodes :)
Visit Administer › Site
Visit Administer › Site configuration › Webform, under "Advanced options" set "Webforms debug" to "off"
@ Nevets
Well that did it! :) - Thanks! :) Cant remember i change that tough! But again! THANKS :)