مشکل با open base dir

shz_furion

کاربر عضو
سلام.ببخشید دوستان این مشکل ارور open_basedir داره کلافم میکنه.یک بار درست صفحه بالا میاد،2 ساعت بعدش باز دوباره این ارور مشاهده میشه.

به پشتبانی هم گفتم.به من دو روش برای آدرس دهی به فایل هام دادن ولی هر دو باز همین ارور نمایش داده میشه.کسی میدونه من الان باید چیکار کنم؟؟؟؟

Warning: require() [ ]: open_basedir restriction in effect. File(/home/****/public_html/header.php) is not within the allowed path(s): (/home/*****/public_html/tools:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/*****/public_html/tools/alexa/details.php on line 1

Warning: require(/home/*****/public_html/header.php) [ ]: failed to open stream: Operation not permitted in /home/******/public_html/tools/alexa/details.php on line 1

Warning: require() [ ]: open_basedir restriction in effect. File(/home/*****/public_html/header.php) is not within the allowed path(s): (/home/themevie/public_html/tools:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/*****/public_html/tools/alexa/details.php on line 1

Warning: require(/home/******/public_html/header.php) [ ]: failed to open stream: Operation not permitted in /home/*****/public_html/tools/alexa/details.php on line 1

Fatal error: require() [ ]: Failed opening required '../../header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/******/public_html/tools/alexa/details.php on line 1

 

alifiresoft

کاربر عضو
خب این فایل که توی این آدرسه alexa/details.php حتما مشکل داره. بذارید اینجا یا آدرس بدید بررسی بشه/

 

shz_furion

کاربر عضو
ببین مشکل از فراخونی فایل هست.

اینطوری فراخونی کردم:


کد:
<?php
require('../../config.php');
توی هاست قبلیم مشکلی نبود.ولی وقتی هاست رو عوض کردم،این مشکل پیش اومده.

 

Mohammad

مدیر انجمن
پرسنل مدیریت
مطمئنی مسیر کانفیگ رو درست میدی؟

 
بالا