Trust me, i'm an engineer ! Brewing *nix since Year 2000

Server Management 1

YUM: Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast

Have you ever ecounter this error “Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast”?

If you are running a server that was not able ti connect to an active repository server for weeks, that error will prompt about an outdated repository entries. This can be solved by purging the “yum data”

PHP with Smarty Template Engine 0

Autoloading Class Problem With Smarty

If you are using Smarty Template engine with your PHP code and you happen to use an autoloader, then you may have encountered an autoloading class problem with Smarty stating that the file “Smarty_Internal_TemplateBase” can’t be found and your script produces a FATAL error. Smarty is using it’s own autoloader using the spl_autoload_register method and our autoloader is messing it up.

PHP Programming Start to End 0

PHP Autoloading Class

Many developers writing object-oriented applications create one PHP source file per class definition. One of the biggest annoyances is having to write a long list of needed includes at the beginning of each script (one for each class).

In PHP 5, this is no longer necessary. The spl_autoload_register() function registers any number of autloaders, enabling for classes and interfaces to be automatically loaded if they are currently not defined. By registering autoloaders, PHP is given a last chance to load the class or interface before it fails with an error.

PayPal with PayMaya 197

How to Withdraw to PayMaya from PayPal

PayPal supports withdrawal to VISA cards and luckily your PayMaya card is powered by VISA. PayPal allows withdrawal feature, allowing you to transfer funds from your PayPal account to your Visa® branded credit, debit or prepaid card. This new feature will enable you to gain convenient access to your funds and is available in 26 countries, including Malaysia, India, Indonesia and the Philippines.

My28s Exclusive to Smart 2

MyPhone 28s is officially out of stock

The beloved and also hated MyPhone 28S is officially out of stock.

Being loved due to its power, price and bundled offers and at the same time hated for it’s low battery capacity and memory. The bad sides of this entry level phone but what do you expect from a phone exclusive to Smart priced at P888?