Сайт Drupal 6 на Yahoo Small Business Hosing

Аватар пользователя pithagora pithagora 20 октября 2009 в 12:21

У меня сайт на Yahoo Small Business Hosting (PHP 4, MySQL 4, Apache 1.3). Из старта, как установил там Друпал, не мог послать сообщения по е-мэйлу, а также из Web Form Submission, при попытке скачять файл который был ставлен в Веб Форм, дает 403 Forbidden. Вопрос - это как то связанно с хостингом и с версиями PHP, MySQL? Дебаг репорт при отправки информации через Веб Форм-

* E-mail Headers:

Array
(
[X-Mailer] => Drupal Webform (PHP/4.3.11)
)

To: someuser.com
From: "Test NAME"
Subject: Form submission from: Order
E-mail Body:

Submitted on 10/20/2009 - 10:08
Submitted by anonymous user: [IP]

Submitted values are:

Format selection: second format
Elements number: 20
Photo editing: editing form 2
Variant colaja: Variant 2

-- next --
Upload your photo: http://sitename/sites/default/files/webform/yourphotos_here/1269.jpg
Receive delivery: in our office
City:
First name:
Last name:
Street address:
Country: Russia
Postal code:

The results of this submission may be viewed at:http://sitename/?q=node/1/submission/30

* $form_state is:

Array
(
[submitted] => 1
[values] => Array
(
[your_fotos_here] =>
[details] => Array
(
[page_num] => 2
[page_count] => 2
[email_subject] => default
[email_from_name] => Test NAME
[email_from_address] => default
[nid] => 1
[sid] => 30
[is_new] => 1
)

[previous] => < Previous Page
[op] => Order
[submit] => Order
[form_build_id] => form-2c11648cba90cb326666e60004469721
[form_id] => webform_client_form_1
[submitted] => Array
(
[3] => second format
[4] => 20
[5] => editing form 2
[6] => Variant 2
[8] => next
[9] => a:10:{s:8:"filename";s:8:"1269.jpg";s:8:"filepath";s:52:"sites/default/files/webform/yourphotos_here/1269.jpg";s:8:"filemime";s:10:"image/jpeg";s:6:"source";s:15:"your_fotos_here";s:11:"destination";s:52:"sites/default/files/webform/yourphotos_here/1269.jpg";s:8:"filesize";s:5:"79882";s:3:"uid";i:0;s:6:"status";i:1;s:9:"timestamp";i:1256022487;s:3:"fid";s:2:"29";}
[10] => in our office
[15] =>
[12] =>
[13] =>
[14] =>
[17] => Russia
[18] =>
)

[submitted_tree] => Array
(
[format_selection] => second format
[elements_number] => 20
[photo_editing] => editing form 2
[variant_colaja] => Variant 2
[next] => next
[your_fotos_here] => a:10:{s:8:"filename";s:8:"1269.jpg";s:8:"filepath";s:52:"sites/default/files/webform/yourphotos_here/1269.jpg";s:8:"filemime";s:10:"image/jpeg";s:6:"source";s:15:"your_fotos_here";s:11:"destination";s:52:"sites/default/files/webform/yourphotos_here/1269.jpg";s:8:"filesize";s:5:"79882";s:3:"uid";i:0;s:6:"status";i:1;s:9:"timestamp";i:1256022487;s:3:"fid";s:2:"29";}
[receive_delivery] => in our office
[city] =>
[first_name] =>
[last_name] =>
[street_address] =>
[country] => Russia
[postal_code] =>
)

)

[clicked_button] => Array
(
[#type] => submit
[#value] => Order
[#weight] => 1001
[#post] => Array
(
[submitted] => Array
(
[your_fotos_here] => Array
(
[new] => your_fotos_here
)

[receive_delivery] => in our office
[city] =>
[first_name] =>
[last_name] =>
[street_address] =>
[country] => Russia
[postal_code] =>
)

[details] => Array
(
[page_num] => 2
[page_count] => 2
[email_subject] => default
[email_from_name] => Test NAME
[email_from_address] => default
)

[form_build_id] => form-2c11648cba90cb326666e60004469721
[form_id] => webform_client_form_1
[op] => Order
)

[#programmed] =>
[#tree] =>
[#parents] => Array
(
[0] => submit
)

[#array_parents] => Array
(
[0] => 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
(
[FCGI_ROLE] => RESPONDER
[CONTENT_LENGTH] => 81978
[CONTENT_TYPE] => multipart/form-data; boundary=---------------------------284332986920142
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_CHARSET] => windows-1251,utf-8;q=0.7,*;q=0.7
[HTTP_ACCEPT_ENCODING] => gzip
[HTTP_ACCEPT_LANGUAGE] => ru,en-us;q=0.7,en;q=0.3
[HTTP_CACHE_CONTROL] => no-cache
[HTTP_CLIENT_IP] => IP
[HTTP_CONNECTION] => close
[HTTP_COOKIE] => BX=22v22oh5bh7ek&b=3&s=8i; SESS3a041df44f2fc52ed10038e2af4571a7=43abb0b21c560643d249dec2e19c4241; SESS1842def61b9219688a4c0c39283822c4=fde8c49b2fb5a21f5dcee5b7074bd7be; has_js=1
[HTTP_HOST] => www.espanto.eu
[HTTP_REFERER] => http://sitename/?q=node/1
[HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3
[HTTP_X_FORWARDED_FOR] => IP
[PATH] => /usr/bin:/bin
[REDIRECT_QUERY_STRING] => q=node/1
[REDIRECT_STATUS] => 200
[REDIRECT_URL] => /index.php
[REMOTE_ADDR] => IP
[REMOTE_PORT] => 53917
[SCRIPT_FILENAME] => /index.php
[SCRIPT_URI] => http://sitename/
[SCRIPT_URL] => /
[SERVER_NAME] => sitename
[SERVER_PORT] => 80
[SERVER_SOFTWARE] => Apache/1.3.37 (Unix) mod_ssl/2.8.28 OpenSSL/0.9.6b FrontPage/5.0.2.2510 mod_fastcgi/2.4.2
[GATEWAY_INTERFACE] => CGI/1.1
[SERVER_PROTOCOL] => HTTP/1.1
[REQUEST_METHOD] => POST
[QUERY_STRING] => q=node/1
[REQUEST_URI] => /?q=node/1
[SCRIPT_NAME] => /index.php
[ORD] => 0
[PHP_VERSION] =>
[YID] => succespostnet
[PHPRC] => /usr/lib/php/php4.ini
[PHP_FCGI_CHILDREN] => 2
[PDB_LIST] => 8.12.146.20,8.12.146.21,8.12.146.22,8.12.146.23,8.12.146.16,8.12.146.17,8.12.146.18,8.12.146.19
[REAL_ROOT] => /
[SIG] => sdJCftXT.8OWoq.Zytxemw--
[SC] => us2
[LD_PRELOAD] => /usr/lib/libygcWrap.so
[LD_LIBRARY_PATH] => /usr/lib
[LD_32_PRELOAD] => /usr/lib/libygcWrap.so
[LD_32_LIBRARY_PATH] => /usr/lib
[DOCUMENT_ROOT] => /
[PHP_SELF] => /index.php
[argv] => Array
(
[0] => q=node/1
)

[argc] => 1
)

* $_POST is:

Array
(
[submitted] => Array
(
[your_fotos_here] => Array
(
[new] => your_fotos_here
)

[receive_delivery] => in our office
[city] =>
[first_name] =>
[last_name] =>
[street_address] =>
[country] => Russia
[postal_code] =>
)

[details] => Array
(
[page_num] => 2
[page_count] => 2
[email_subject] => default
[email_from_name] => Test NAME
[email_from_address] => default
)

[form_build_id] => form-2c11648cba90cb326666e60004469721
[form_id] => webform_client_form_1
[op] => Order
)

0 Thanks