WordPress Upload รูปไม่ได้..

วันนี้นึกว่าเว็บจะใช้งานได้ตามปกติหลังจากย้ายโฮสมาแล้วซะอีก หลังจากแก้ไข Path ที่ผิดพลาดก็ดันไปเจอ Error อีกตัวหนึ่งครับ ทำให้ไม่สามารถที่จะ Upload รูปภาพขึ้นไปได้โดยใช้ Flash uploader ครับ มันจะฟ้อง Error พร้อมกับให้ปุ่ม Dismiss หากไม่สามารถใช้ Flash uploader ก็จะทำให้ความสะดวกในการทำงานลดลงไปมากเลยละครับ  สำหรับ Error ที่มันแจ้งขึ้นมาคือ

HTTP error.

An error occurred in the upload. Please try again later.

แหมม.. ขึ้นมาซะแดงแบบนี้เล่นเอาตกใจแย่เลยครับ สำหรับ Error ตัวนี้แก้ไม่ยากครับ ทำตามขั้นตอนดังต่อไปนี้เลยครับ

  1. Login FTP เพื่อดึงไฟล์ .htaccess กลับมาก่อนครับ
  2. จากนั้นเปิดไฟล์ขึ้นมาแล้วนำ Code นี้แทรกลงไปพร้อมกับ Upload กลับคืนไปทับไฟล์เก่าครับ

<IfModule mod_security.c>
<Files async-upload.php>
SecFilterEngine Off
SecFilterScanPOST Off
</Files>
</IfModule>

เพียงเท่านี้ก็จะสามารถใช้ Flash uploader ได้ตามปกติแล้วละครับ

Wordpress Error

Error Dreamweaver 8 “The following JavaScript error(s) occured”

 

ใครเปิดมาแล้วเป็นแบบนี้บ้างครับ (ขออ้างอิงข้อความของคุณ toto จากเว็บ twebmaster นะครับ)

เขียนเว็บด้วย DW8 มาได้ 2 อาทิตย์แล้วครับ แต่วันนี้(11 พ.ย.49)จู่ๆพอเปิด DW8 แล้วเกิดไคอนดังนี้ครับ (ลงรูปไมได้)
“The following JavaScript 
error(s) occured”
At line 56 of file “C:Program FilesMacroMedia
Dreamweaver 8ConfigurationSharedCommonScriptdwscriptsExtData.js”
ReferrenceError: dwscripts is not defined  ฮืม

พอเปิดเว็บที่เขียนไว้แล้วก็ขึ้นอีกว่า
“The following translators were not loaded due to errors:
ASP.htm: has configuration information that is invalid.
ColdFusion.htm: has configuration information that is invalid.
XSLT.htm: has configuration information that is invalid.”  อายจัง

หลังจากนั้นลองเอาเมาส์ไปพาดข้อความในหน้าที่กำลังทำงานเมื่อคลิกขวาเพื่อทำการก๊อปปี้จะมีไอคอนว่า
“While executing DWContext_Text_Cut command in minus.xml, the following Javascript 
error(s) occured:
TypeError: MM.event has no properties”   ลังเล

ยังไม่หมดนะครับ เมื่อทำการปรับปรุงเว็บไปเรื่อยๆ แล้วกด save ก็จะเจออีก 1 ไอคอน คือ
“While executing onload in tempURL_afterSave.htm, a Javascript 
error occured.”  โกรธ

มากมายขนาดนี้ลองลบใหม่แล้วลงใหม่และเปิดใหม่ก็ยังเป็นอยู่ดี วานผู้รู้ช่วยบอกวิธีแก้ไขด้วยครับ….!!!  ร้องไห้

 

พอดีผมเคยโพสวิธีแก้ไปนานแล้วมากๆ ในเว็บนั้นละครับแต่ตอนนี้ Link มันเสียไปแล้ว เอาเป็นว่าผมขอ Copy ตัวเองมาไว้ใน Blog ของผมเองนะครับ

วิธีการแก้ไขคือ

1. update version ของ Dreamweaver ล่าสุดของมันคือ 8.0.2 นะคับ ได้ในนี้เลยคับ http://download.macromedia.com/pub/dreamweaver/updates/dw_8/8_0_2/win/dw8_802_update_en.exe

2.  ทำการลบไฟล์ FileCache.dat ของ Dreamweaver ชื่อไฟล์คือ WinFileCache-7A9586CB.dat ตาม OS และเวอร์ชั่นที่ใช้เลยนะคับ

ต้องเปิดการซ่อนไฟล์ก่อนนะครับ

Dreamweaver CS3 on Windows Vista:

C:Users[username]AppDataRoamingAdobeDreamweaver 9Configuration

Dreamweaver CS3 on Windows XP:

C:Documents and Settings[username]Application DataAdobeDreamweaver 9Configuration

Dreamweaver 8 on Windows XP:

C:Documents and Settings[username]Application DataMacromediaDreamweaver 8Configuration

 

Dreamweaver 8 on Windows Vista:

C:Users[username]AppDataRoamingMacromediaDreamweaver 8Configuration

 

ลองแก้ตามนี้ดูละกันนะครับ

Wordpress Social Share Plugin powered by Ultimatelysocial