Wednesday, May 20, 2015

Joomla blank page in the front (1.5) and Fatal error: Call to undefined function apc_fetch()

  • Joomla 1.5 ย้ายจาก Remote host (Debian 7) to Local host (Ubuntu 15.04)
  • แล้วรันหน้า front เป็น blank ทำไงหว่า จะ debug ไงวะ PHP ตูก็เขียนไม่ค่อยเป็นซะด้วยซวยล่ะ

Solved
  • turn error reporting on by editing your configuration.php.
     
  • added the following line after the } and before the ?> this is what you get
}
ini_set( 'display_errors', true ); error_reporting( E_ALL );
?>

  • it will show FATAL ERROR then search this error in google
  • in my case it show
Fatal error: Call to undefined function apc_fetch() in ...
  • solved this case by switching the cache setting from YES to NO. 

Ref
  • http://forum.joomla.org/viewtopic.php?f=36&t=260137&start=30
  • http://forum.joomla.org/viewtopic.php?p=2063314

No comments:

Post a Comment

Popular Posts