Zend_Loader autoload deprecated in Zend Framework 1.8

I found this notice after upgrade Zend Framework to 1.8 Notice: Zend_Loader::Zend_Loader::registerAutoload is deprecated as of 1.8.0 and will be removed with 2.0.0; use Zend_Loader_Autoloader instead in C:\AppServ\www\league\library\Zend\Loader.php on line 207 Because Zend_Loader's autoloader has been deprecated in Zend Framework version 1.8 and I use this line in bootstrap. require_once 'Zend/Loader.php'; Zend_Loader::registerAutoload(); The solution is change them to require_once 'Zend/Loader/Autoloader.php'; $loader = Zend_Loader_Autoloader::getInstance(); $loader->registerNamespace('../application'); $loader->setFallbackAutoloader(true); $loader->suppressNotFoundWarnings(false);
ionCube PHP Loader on RHEL Server

My work have to use software that requires the ionCube PHP Loader to encode scripts. This instruction is explain "How to install iconCube loader on RHEL4".
- Goto http://www.ioncube.com/loaders.php and download ionCube loader.
ioncube_loaders_lin_x86.tar.gz - upload to server machine and extract
tar -zxvf ioncube_loaders_lin_x86.tar.gz - Copy the 'ioncube-loader-helper.php' and 'ioncube-encoded-file.php' to a directory where you expect encoded files to be working.
cp ./ioncube/ioncube-loader-helper.php /your-www-root/
cp ./ioncube/ioncube-encoded-file.php /your-www-root/ - Access the 'ioncube-loader-helper.php' script from a web server or with a PHP executable. This script can help you to find information about Loader installation.
http://yoursite.com/ioncube-loader-helper.php - Choose the 'run-time loading installation instructions.' option.
The script will try to locate and install the required Loader, and will produce output as it runs.Looking for Loader 'ioncube_loader_lin_5.2.so'
Extensions Dir: /usr/local/php5/lib/php/extensions/current (/usr/local/php5/lib/php/extensions/5.2.8)
Relative Path: /something - add the following line before any other zend_extension lines.
zend_extension = /<path>/ioncube_loader_lin_5.2.sowhere /<path>/ is where you've installed the loader, e.g. /usr/local/php5/lib/php/extensions/5.2.8
If there are no zend_extension lines already, you can put the line at any point in the file. I'm usingzend_extension = /usr/local/php5/lib/php/extensions/5.2.8/ioncube_loader_lin_5.2.so - Copy ioncube_loader_lin_x.x.so to your extension path.
sudo cp ioncube_loader_lin_5.2.so /usr/local/php5/lib/php/extensions/5.2.8/
Finally, restart your web server software for the changes to take effect./etc/init.d/httpd restart
Sendmail service 60 second delay
The problem is our mail sent through ActionMailer takes 60 seconds, and It effect to Task Management System. Coz the system gonna send mail every event that happen. like Create new task, Update task logs.
I google and found cause
sendmail always waits for 60 seconds when your hostname is not a FQHN (fully qualified host name). And It will asume a temporary DNS lookup failure and try again (while actually sending out the mail, strangely enough).
just edit /etc/sysconfig/network HOSTNAME=yourdomain.something
and edit /etc/hosts 999.999.99.99 yourdomain.something and then reboot server. After that Sendmail wil not delay at all.
(I use Fedora core 9 with clean sendmail without config changes.)
Magento User Guide Book
จริงๆแล้วคนที่จะศึกษา Magento ก็มีหลายช่องทางให้เลือก เพราะทุกๆ Opensource Project ก็จะมีเอกสารให้คนที่สนใจอ่านกันฟรีๆอยู่แล้ว
ตัว Magento เองก็มี Resource หลายอย่างทั้ง Knowledge Base, Wiki, Forum, Chat, Blog ที่ Varien และ Community เป็นคนสร้างเนื้อหา (ปกติผมอ่านแต่สองอันแรก)
ปัญหาอาจจะเพราะ Knowledge Base เค้ามีเนื้อหาน้อยถ้าเทียบกับขนาดและความซับซ้อนของ framework (ไม่ถึง 70 หัวข้อ)
Wiki ที่มีก็ไม่ได้ใช้ format ที่คนส่วนใหญ่คุ้นเคยอย่าง MediaWiki (Magento ใช้ DocuWiki)
ก็เลยต้องมี Magento User Guide ขึ้นมา ลองไล่ดูจาก Table of Contents แล้วก็เป็น User Guide ที่หวังจะเพิ่มจำนวนผู้ใช้งาน Magento ให้มากขึ้น เพราะเนื้อหาจะขยายความจาก Magento User Guide in Wiki format
แต่...เล่มละ $19.95 แน่ะ (ebook only ด้วย) ใครสนใจก็ไป Order ได้ที่ Magento User Guide Ebook ส่วนผมขออ่านใน Wiki ไปก่อนละกันนะครับแห่ะๆ
ปล. ก่อนหน้านี้ php|architect's ก็ออกหนังสือ Guide to E-Commerce Programming with Magento มา แต่ review ใน amazon บอกว่าไม่ค่อยดีเท่าไหร่
Phuket Trip
อัพblog แบบขี้เกียจ
- ช่วงสงกรานต์ไปภูเก็ตมา 5 วัน
- ขับรถไป ใช้เวลาเดินทางไป รวมกลับ 28 ชม.
- พี่ผู้หมวดขับรถให้ และพกปืนไปด้วย
- แวะนอนที่ตรัง 2 คืน ที่ป่าตอง 2 คืน
- อาหารใต้อร่อยมาก ถูกมาก และเผ็ดมากด้วยเช่นกัน
- โกปี้ + ติ่มซำอร่อยมาก แต่หมูย่างเมืองตรัง ร้านที่ไปกินไม่อร่อยเลย
- คนภูเก็ตเค้าเล่นน้ำสงกรานต์กันวันเดียว (วันที่ 13)
- แต่คนที่ตรัง ไม่เล่นน้ำสงกรานต์เลย!!
- โรงแรมที่ไปพัก ไม่มีลูกค้าคนไทยเลย นอกจากพวกเรา!!
- แถมตอนซึนามิ มีคนตายในนี้เยอะมาก
- อาหารเช้าที่โรงแรมอร่อยมากก
- เล่นคลื่นที่หาดกะตะสนุกมาก คลื่นแรงซัดซะเกือบตาย
- เต้าซ้ออร่อย ถ้ากินตอนมันร้อนๆ
- หมี่ฮกเกี้ยน รสชาติเฉยๆ เอามาม่าใส่ใข่ดิบลงไป ก็คงรสชาติเดียวกัน
- อาหารทะเลที่ป่าตอง แพงและไม่ค่อยอร่อย
- หาดหยงหลิงเน่ามาก อย่าเชื่อรูปในหนังสือนำเที่ยว
แกงใต้ โกปี้ตรัง คลื่นกะตะ คือ3สุดยอดของทริปนี้ (รูป Phuket Trip)
















