PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : خطای suhosin



reza63
May 15th, 2014, 21:27
سلام
من در یکی از سایت ها از نوع ویبولتین خطای زیر رو دارم

Required variables have gone missing and execution can not continue. Please try again.

This error can sometimes occur as a result of Suhosin / Hardened PHP being installed on your server. If you know that you have Suhosin running and you have access to the PHP configuration, try increasing the value of the following variables:

php_value suhosin.post.max_vars
php_value suhosin.request.max_vars



با گذاشتن دستور زیر در php.ini حل نشد.

suhosin.cookie.encrypt =Off
suhosin.post.max_vars = 5000
suhosin.post.max_value_length = 500000
suhosin.request.max_vars = 5000
suhosin.request.max_value_length = 500000



حتی با گذاشتن این کد در htaccess در ریشه سایت مور نظر خطای زیر رخ می ده:


php_flag suhosin.cookie.encrypt Off
php_value suhosin.request.max_vars 2048
php_value suhosin.post.max_vars 2048


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, webmaster@domain.net and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request

و اینکه من در سرور چندین فایل php.ini دارم چطور می تونم بفهمم کدام اصلی هست؟

20452

Mohsen.b
May 15th, 2014, 21:48
اگر phpinfo بگیری فایل کانفیگ لود شده رو نشون میده.

reza63
May 15th, 2014, 21:50
اگر phpinfo بگیری فایل کانفیگ لود شده رو نشون میده.

راهنمایی می فرمایید چطور میشه این کار رو انجام داد.

من از یک روش استفاده کردم ولی صفحه سفید میاد!

Mohsen.b
May 15th, 2014, 21:56
یه فایل info.php بسازید و توش اینو قرار بدید:
<?
phpinfo();
?>

بعد از طریق IE باز کنید. توی اطلاعاتی که میده فایل ini که لود شده رو نشون میده. در ضمن. suhosin با htaccess disable نمیشه.

reza63
May 15th, 2014, 22:06
20453
یه فایل info.php بسازید و توش اینو قرار بدید:
<?
phpinfo();
?>

بعد از طریق IE باز کنید. توی اطلاعاتی که میده فایل ini که لود شده رو نشون میده. در ضمن. suhosin با htaccess disable نمیشه.

سلام
در ریشه هر سایتی که می زارم و هر مرورگر صفحه سفید میاد

http://www.northernland.ir/info.php

Mohsen.b
May 15th, 2014, 22:09
اطلاعات سرور چیه ؟ پنل ؟ windows or linux

reza63
May 15th, 2014, 22:12
لینوکس هست با دایرکت ادمین

Mohsen.b
May 15th, 2014, 23:00
کلا هیچ فایل php اجرا میشه ؟

OmidX
May 15th, 2014, 23:16
PHP رو سرور شما تحت suhosin کامپایل شده ...

سرور دست خودتون ه ؟ ، باید suhosin رو حذف و PHP + وب سرور رو مجددا کامپایل کنید ...

reza63
May 16th, 2014, 00:02
سرور شخصی هست. و سایت من ویبولتین هست و فعال نشون نیده که php فعال است.

جناب امید میشه راهنمایی بفرمایید چطور باید مراحل رو در دایرکت ادمین انجام بدم.