ย้าย Host แล้ว WordPress Error

เนื่องจากเว็บไซต์ของผมเว็บนี้เมื่อก่อนนั้นอยู่โฮสนอก แต่ตอนนี้ได้ย้ายเข้ามาในโฮสไทย (โฮสพี่ต่อ tosakp ต้องขอขอบคุณพี่ต่อเป็นอย่าสูงที่รับฝากเว็บผม )  แต่หลังจากย้ายเข้ามาก็เจอปัญหามากมายในการย้ายโฮส Plugins Error บทความ Upload รูปภาพไม่ได้ WP Super Cache ไม่ทำงาน ฯลฯ แต่ปัญหาที่แก้ลำบากเล่นเอางงไปหลายวันคือไม่สามารถ Upload รูปภาพได้นี้ละครับ

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/.fabricating/sutenm/sutenm.com/wp-content/uploads/2009/05) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/.fabricating/sutenm/sutenm.com/wp-content/uploads/2009) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/.fabricating/sutenm/sutenm.com/wp-content/uploads/2009) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/.fabricating/sutenm/sutenm.com/wp-content/uploads) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/.fabricating/sutenm/sutenm.com/wp-content/uploads) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/.fabricating/sutenm/sutenm.com/wp-content) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/.fabricating/sutenm/sutenm.com/wp-content) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/.fabricating/sutenm/sutenm.com) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/.fabricating/sutenm/sutenm.com) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/.fabricating/sutenm) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/.fabricating/sutenm) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/.fabricating) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home/.fabricating) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/home) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1746

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1737

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/www/virtual/sutenm.com/:/home/www/virtual/sutenm.com/phptmp/:/usr/share/php/) in /home/www/virtual/sutenm.com/htdocs/wp-includes/functions.php on line 1746

Unable to create directory /home/.fabricating/sutenm/sutenm.com/wp-content/uploads/2009/05. Is its parent directory writable by the server?
ขึ้น Error แบบนี้ ท่านใดที่เจอปัญหาแบบผม วันนี้ผมจะมาเสนอแนวทางการแก้ไขครับ ปัญหานี้เกิดจากสาเหตุ 2 สาเหตุครับ คือ Permission และ Path ผิดพลาด วิธีแก้คือ
  1. ปรับ Permission Directory uploads และ Directory ย่อยที่อยู่ใน uploads ให้เป็น 777
  2. Login เข้าไปที่ admin เข้าที่ Settings > Miscellaneous > ช่อง Store uploads in this folder แก้ไขเป็น “wp-content/uploads”

เพียงเท่านี้คุณก็จะสามารถ Upload ไฟล์รูปภาพได้ครับ

7 thoughts on “ย้าย Host แล้ว WordPress Error”

  1. ครับ ถ้าไงแวะที่โฮสพี่ไ้ด้ครับ เดี๋ยวเปิดฟรีให้

  2. ตอนนี้ผมย้าย host ไปนอก ยังไม่ได้ point domain ไป อยากลองเทสก่อน ทาง host ให้เรียก แบบ host.com/~user/ ต้องทำยังไงบ้างอ่ะคับ ต้องแก้ไข .htaccess หรือเปล่าครับ

  3. เว็บไทยไม่แนะนำให้ใช้ host นอกครับ ใช้ของไทยนี้ละ
    แต่ถ้าต้องการย้ายไปก็ไม่ต้องแก้ไข .htaccess ครับ แต่ไปแก้ไฟล์ wp-config.php ครับ เปลี่ยนข้อมูล databse เป็นของ host ใหม่ก็ได้แล้วครับ

  4. ถึงเจ้าของเวปไซต์ที่รัก ขอบคุณมากเลยครับ คุณได้ช่วยแก้ปัญหาให้ผม ขอบคุณครับ

Comments are closed.

Wordpress Social Share Plugin powered by Ultimatelysocial