รบกวนท่านเซียน joomla ทีครับ

เริ่มโดย nyton, 10 พฤษภาคม 2010, 12:09:47

หัวข้อก่อนหน้า - หัวข้อถัดไป

0 สมาชิก และ 1 ผู้มาเยือน กำลังดูหัวข้อนี้

nyton

Unable to write entry
/libraries/joomla/utilities/compat/php50x.php on line 70

ผมได้ทำ permission ใน Directoty Permission system หมดแล้ว เข้าไปแก้ไขใน host แล้วยังไม่ได้ ล่าสุดเป็นมา 2 เว็บแล้ว เว็บที่เคยทำก็ปกติดีไม่รู้จะไปแก้ไขตรงไหน

ช่วยทีนะครับ :P
[direct=http://www.talkaroundgame.com/]แนะนําเกมส์ pc 2014[/direct] | [direct=http://www.banmongkon.com//]ฮวงจุ้ยบ้าน[/direct]

sunkoster

ไม่รู้เหมือนกัน

chmod  777 ให้ กับ ไฟล์ php50x.php ยัง
ถ้าแล้ว ดูซิว่า โดคในไฟล์ php50x.php บรรทัดที่ 70 ลงไป มันเขียโคดไรไว้ มีการเขียนไฟล์ พาร์ทไหนป่าว
[direct=http://zfind.item69.com/]amazon advance search products[/direct] | [direct=http://zfind.item69.com/]amazon[/direct]

nyton

อ๋อ ทำ 777 ไปเรียบร้อยแล้วคับก็ไม่ได้ ผมลองดู Code แล้วนะไม่พบว่า ชี้ path ไปผิดเลย ผมยังงงอยู่เลย ปกติแล้วไม่เป็นอย่างนี้  :o
[direct=http://www.talkaroundgame.com/]แนะนําเกมส์ pc 2014[/direct] | [direct=http://www.banmongkon.com//]ฮวงจุ้ยบ้าน[/direct]

shalogent

มันเป็นที่ Server หรือป่าวครับ ถ้าอยู่เป็นทั้ง สองเว็บอะครับ
แบบ server อัพเดทอะไรหรือป่าว แล้วไอสองเว็บนั่นนะพึงลงอะไรใหม่ที่เหมือนกันไปหรือป่าวครับ ให้ลองสังเกตดู
[direct=http://www.pondrichtour.com]
เที่ยวกุ้ยหลินเมืองไทย เขาสก เชียวหลาน กับพร-ฤทธิ์ ทัวร์
[/direct]

nyton

อ้างถึงจาก: shalogent ใน 10 พฤษภาคม 2010, 14:07:55
มันเป็นที่ Server หรือป่าวครับ ถ้าอยู่เป็นทั้ง สองเว็บอะครับ
แบบ server อัพเดทอะไรหรือป่าว แล้วไอสองเว็บนั่นนะพึงลงอะไรใหม่ที่เหมือนกันไปหรือป่าวครับ ให้ลองสังเกตดู

เออ นั่นซิ เดี๋ยวจะลองถามดู ส่วนนี่โค๊ดครับ บรรทัดที่มันน่าจะ error


if (($fh = @fopen($filename, $mode, $use_inc_path)) === false) {
trigger_error('file_put_contents() failed to open stream: Permission denied', E_USER_WARNING);
return false;
}

// Write to the file
$bytes = 0;
if (($bytes = @fwrite($fh, $content)) === false) {
$errormsg = sprintf('file_put_contents() Failed to write %d bytes to %s',
$length,
$filename);
trigger_error($errormsg, E_USER_WARNING);
return false;
}

// Close the handle
@fclose($fh);

// Check all the data was written
if ($bytes != $length) {
$errormsg = sprintf('file_put_contents() Only %d of %d bytes written, possibly out of free disk space.',
$bytes,
$length);
trigger_error($errormsg, E_USER_WARNING);
return false;
}

// Return length
return $bytes;
}
}

/**
* Ported PHP5 function to PHP4 for forward compatibility
*/

if (version_compare(phpversion(), '5.0') < 0) {
    eval('
    function clone($object) {
      return unserialize(serialize($object));
    }
    ');
  }

if(!function_exists('stripos')) {
function stripos($haystack, $needle, $offset = 0) {
  return strpos(strtolower($haystack), strtolower($needle), $offset);
}
}


[direct=http://www.talkaroundgame.com/]แนะนําเกมส์ pc 2014[/direct] | [direct=http://www.banmongkon.com//]ฮวงจุ้ยบ้าน[/direct]

nyton

ขอดันอีกหน่อยละกันในกรณีถ้าเป็นที่ Server จริง แล้วทำไม web เก่าที่ทำไปยังใช้งานได้ แล้วควรจะแจ้งทาง Server Host ยังไง :'(
[direct=http://www.talkaroundgame.com/]แนะนําเกมส์ pc 2014[/direct] | [direct=http://www.banmongkon.com//]ฮวงจุ้ยบ้าน[/direct]

numau109

ที่เคยเจอคือเป็นเพราะ path root ไม่ได้ 777 ครับ  ลองดู ถ้าไม่ได้็ติดต่อผู้ให้บริการ

nyton

อ้างถึงจาก: numau109 ใน 10 พฤษภาคม 2010, 18:25:37
ที่เคยเจอคือเป็นเพราะ path root ไม่ได้ 777 ครับ  ลองดู ถ้าไม่ได้็ติดต่อผู้ให้บริการ

ผู้ให้บริการก็คือตัวเองนี่แหละ HOST ตะเองคับ ขอบคุณทุกกระทู้นะครับเดี๋ยวลองดูก่อนเพราะว่ามันเคยทำได้มันก็ต้องทำได้
[direct=http://www.talkaroundgame.com/]แนะนําเกมส์ pc 2014[/direct] | [direct=http://www.banmongkon.com//]ฮวงจุ้ยบ้าน[/direct]

Aekio

อ้างถึงจาก: nyton ใน 11 พฤษภาคม 2010, 11:17:28
อ้างถึงจาก: numau109 ใน 10 พฤษภาคม 2010, 18:25:37
ที่เคยเจอคือเป็นเพราะ path root ไม่ได้ 777 ครับ  ลองดู ถ้าไม่ได้็ติดต่อผู้ให้บริการ

ผู้ให้บริการก็คือตัวเองนี่แหละ HOST ตะเองคับ ขอบคุณทุกกระทู้นะครับเดี๋ยวลองดูก่อนเพราะว่ามันเคยทำได้มันก็ต้องทำได้

รบกวน Quote บรรทัดที่ 70 มาเลยได้ไหมครับ เพราะว่าในส่วนที่ Quote มาเยอะๆ นั้น ไม่รู้ว่าไลน์ไหนคือไลน์ที่ 70 น่ะครับ เลยไม่สามารถช่วยระบุปัญหาได้

ถ้ายังไงผมแนะนำให้ลองเข้าไปแก้ permission ผ่านทาง cpanel หรือ directadmin (หรืออะไรก็ตามที่ใช้อยู่) ดูเลยครับ เพราะว่าบางครั้งเวลาใช้ FTP มันอาจไม่สามารถเปลี่ยน permission ไฟล์ที่เป็นของ apache ได้นะครับ (บางทีเราอัพทุกอย่างปกติ แต่อำนาจไฟล์ไม่ได้เป็นของ root แต่ดันเป็นของ apache นะครับ)

เข้าไฟล์ Manager ไปจัดการล้าง apache เป็น root ครับจากนั้นลองเปลี่ยน permission ดูใหม่อีกหน
[direct=https://www.appdisqus.com]สมาร์ทโฟน[/direct] l [direct=https://www.appdisqus.com/ios-home]ข่าว iPhone / iPad [/direct] l [direct=https://www.appdisqus.com/android-home]ข่าว Android[/direct] l [direct=https://www.appdisqus.com/windows-home]ข่าว Windows Phone[/direct] l [direct=https://www.appdisqus.com/gaming-home]ข่าววงการเกม PS4 / XBox / PC[/direct]

nyton

ผมก็คิดว่าไม่ได้  error ตรงไฟล์นั้นหรอก ผมว่ามันน่าจะเป็นปัญหา permision แน่ ๆ เลย เด๊ยวผมลองแก้ไขเรื่อย ๆ ละกันมันต้องทำได้ :'(
[direct=http://www.talkaroundgame.com/]แนะนําเกมส์ pc 2014[/direct] | [direct=http://www.banmongkon.com//]ฮวงจุ้ยบ้าน[/direct]