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

พูดคุย phpBB3, SMF ปัญหา การติดตั้ง ปัญหา การลง Mod การแก้ไข หน้าตาบอร์ด การใช้งาน Joomla 1.5, 1.6, 1.7, 2.5 ,3.x รวมถึง Joomla 4 การใช้งาน wordpress และ CMS อื่นๆ
การตั้งคำถาม ควรระบุรุ่นที่ใช้ ในการตั้งคำตามด้วย นะ เช่น SMF 1.1.4 หรือ SMF2.0, OpenERP, Odoo และ รายละเอียดของ server OS, php เวอร์ชั่นไหน ฐานข้อมูลอะไร

Moderator: mindphp

กฎการใช้บอร์ด
คำถามหมวดนี้ ควรระบุ รายละเอียดของ Server OS, เวอร์ชั่น ของ PHP, CMS ที่ท่านใช้
รวมถึง Hosting หรือ Control Panel Hosting
ภาพประจำตัวสมาชิก
mindphp
ผู้ดูแลระบบ MindPHP
ผู้ดูแลระบบ MindPHP
โพสต์: 41384
ลงทะเบียนเมื่อ: 22/09/2008 6:18 pm
ติดต่อ:

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

โพสต์ที่ยังไม่ได้อ่าน โดย mindphp »

ปัญหา 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')) 
ติดตาม VDO: http://www.youtube.com/c/MindphpVideoman
ติดตาม FB: https://www.facebook.com/pages/MindphpC ... 9517401606
หมวดแชร์ความรู้: https://www.mindphp.com/forums/viewforum.php?f=29
รับอบรม และพัฒนาระบบ: https://www.mindphp.com/forums/viewtopic.php?f=6&t=2042
  • Similar Topics
    ตอบกลับ
    แสดง
    โพสต์ล่าสุด

ผู้ใช้งานขณะนี้

สมาชิกกำลังดูบอร์ดนี้: ไม่มีสมาชิกใหม่ และบุคลทั่วไป 121