Warning: is_file() [function.is-file]: open_basedir restriction in effect joomla

กฎการใช้บอร์ด
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting

ตอบกระทู้

รูปแสดงอารมณ์
:icon_plusone: :like: :plusone: :gfb: :-D :) :( :-o 8O :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen: :angry: :baa: :biggrin:
รูปแสดงอารมณ์อื่นๆ

BBCode เปิด
[img] เปิด
[url] เปิด
[Smile icon] เปิด

กระทู้แนะนำ
   

มุมมองที่ขยายได้ กระทู้แนะนำ: Warning: is_file() [function.is-file]: open_basedir restriction in effect joomla

Warning: is_file() [function.is-file]: open_basedir restriction in effect joomla

โดย mindphp » 03/07/2012 1:50 am

ปัญหา Warning: is_file() [function.is-file]: open_basedir restriction in effect ของ Jomsocail บน joomla 2.5

ข้อความ แจ้ง Error บน Host
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(/plugins/community/wordfilter/wordfilter.php) is not within the allowed path(s): (/home/baslover/:/tmp:/var/tmp:/usr/local/lib/php/) in /home/baslover/domains/domain.com/public_html/libraries/joomla/filesystem/file.php on line 523

ปัญหามาจาก ไฟล์ libraries/user.php ของ com_community
line นี้

โค้ด: เลือกทั้งหมด

if(JFile::Exists(CPluginHelper::getPluginURI('community','wordfilter').DS.'wordfilter.php') && JPluginHelper::isEnabled('community', 'wordfilter')) 
แก้เป็น

โค้ด: เลือกทั้งหมด

if(JFile::Exists(CJPATH_BASE . DS.'plugins' .DS.'community'.DS .'wordfilter'.DS.'wordfilter.php') && JPluginHelper::isEnabled('community', 'wordfilter')) 

ข้างบน