Prestashop Fatal error: Allowed memory size exhausted

I was testing Prestashop yesterday after installing on my server. At first there was some issues with fsockopen and mod_rewrite. Both were fixed after updating the php.ini file.

The another error surfaced when I tried to generate a PDF invoice and delivery slip.
When you try to view Orders in the back office, and click on the ‘View Invoice’ button, it opens a blank window, trying to generate the PDF, but eventually gives me a HTTP500 error. Seems like the allowed memory size of 32M is not enough to generate the PDF. Kept getting the error Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 39 bytes)

Found out the only way to resolve it is to increase the memory_limit to at least 64M. Informed backend about the issue and they agreed to increase the value for me. Finally I’m able to generate the PDF.

Out of curiosity, I went snooping around the PHP.ini documentation and guess what? I found out besides asking backend to increase the memory_limit, there another workaround. It can also be done by editing the and insert the line ini_set(‘memory_limit’,’64M’);

But take note, if you are in a shared environment, backend usually unable to increase the global memory limit, meaning that even if they change your local php.ini memory limit you will still be restricted by the global settings

Jacky Cheung – Blessing

This is one of my all time favourite songs from Jacky since small..

I got nothing better to do in the office, so i actually made a translation listening to it.. lol


Here goes…


never ask or speak and let every go unspoken
let us quietly go through the moment
do not wave or turn back when i sing this song
as tears may start flowing

i hope this smile will always be kept in your heart
going through every season with you

so much for the worries and concern, life is inevitably bitter and painful
unfortunately, we only learn to cherish and hold one after losing them

it’s hard to let go of love
it’s hard to keep a person
we go our separate ways the moment we bid farewell
the cold and warmth
heart felt little by little

though the pain has parted
yet it still appears before my eyes
it’s just so hard to say goodbye
perhaps it’s just fate ?
something that keeps me looking forward to..?

Credit Card Fraud

I’ve been reading a lot about credit card fraud but I never came across my mind that it would happen to me. I’ve always wanted to ditch the lousy Ambank Mastercard that I have. But due to work i never had the time to do it.

Earlier, so happens that I was free and since I’ve not logged into my Ambank Online account for quite some time, I went in and it gave me a shocker.  My card has been charged RM1198 but no information what it is charged for. I called Ambank customer service and found out that it’s only 1 out of 4 transaction that has already been posted to my account. 3 more is still pending.

Some idiot used my card to make booking for tickets from MAS Airlines (RM1198) & Air Asia(RM399) on 18th Sept 2011. Another charges from Oregon X Ray Council Teutopolis (RM399) which I couldn’t find any information online regarding the company. Aside from that, 1 more transaction for Air Asia (RM874) charged to my account yesterday 20th Sept 2011.

Thank God! that I logged into my account just to check. I promptly raised a dispute on the charges. Hopefully they can do a chargeback on it. Else, I’ll have to bring the issue up to Bank Negara to settle it.

If only I cancelled the stupid card earlier, I would not have this kinda problem happening to me. I have no issue with Maybank nor Public Bank. At least they would call me to verify on the transaction. Sigh!

Seriously, who ever owns a credit card, be sure to check on the transaction daily, if not, every few days just to make sure nobody misused your card.

Hennessy Artistry ‘The Global Art of Mixing’ 2011

Finally ! After few attempts to get an invite, this year managed to get a pass for H-Artistry. Not as huge as the previous one but this is definitely one of the event that you should not miss!

This year’s H-Artistry ‘The Global Art of Mixing’ will be held at in Penang at Voodoo, Upper Penang Road on April 28. and The Opera, Sunway Pyramid two days later on April 30.  I’ve not actually been to Opera nor any H-Artistry yet. So I’m not quite sure what to expect there.

But what you’ll expect a few new stuffs that Hennessy has planned for revellers this year. Here’s a spoiler
1. H-Artisry had gone thru a new facelift to ensure its revellers a refreshing experience. Aside from the new logo and a brand new Facebook page, they’re pumping more fun into the whole new Hennessy Mixing Zone which allow revellers to be involved in a much more fun, engaging and experiential role.

2. Whilst its trademark Hennessy Mixing Bar remains to serve guests with the ever tantalizing Hennessy V.S.O.P signature long drinks, the rest of the area will feature new interactive zones which include the Hennessy iMix Challenge for iPad enthusiasts and Hennessy Music Mix Synth booths that encourages the blending of different musical genres to encapsulate the true spirit of H-Artistry’s ‘The Global Art of Mixing’.

3. The Hennessy Interactive Photowall is also upgraded in 2011 to allow guests to enhance their photos digitally by choosing different visual backgrounds and shout out phrases such as, ‘Hennessy Rocks’, ‘Show me the Hennessy’ and ‘I Love Hennessy’.

4. Party-goers coming into the party this year will receive a new radio-frequency identification (RFID) wristband that allows them to log on to their respective Facebook accounts and automatically post their activities as status updates whenever they scan their wristbands onto a RFID reader located at each Hennessy Mixing booth. In addition, photos of guests taken at the Hennessy Interactive Photowall will be uploaded onto H-Artistry’s official Facebook fan page at upon which, guests can also instantaneously tag themselves on the photos using their RFID wristband.

5. Indoors meanwhile will see the complete revolutionizing of the arena into one world-class super-club set-up. Both Voodoo and The Opera will feature a new look providing guests with a refreshed experience and the much loved Hennessy bars that will be serving delectable concoctions of Hennessy Apple, Hennessy Berry, Hennessy Ginger, and Hennessy Citrus.

H-Artistry 2011 Artistes

H-Artistry 2011 Artistes

Leading the line-up at the upcoming H-Artistry party is Australian electro/house duo, Vandalism which comprises of DJ/Producer Andy Van (previously of Madison Avenue fame) and vocalist/songwriter Cassie Van.

Staying true to H-Artistry’s innovative approach in blending musical genres of the East and West, the upcoming party will also see Malaysia’s very own up and coming rock sensations, Kyoto Protocol conquering the stage.

Joining them at the party are two of the hottest female DJs in town, Miss Eva T and DJ Lizz. Together, they form Spinderella, a hip-hop, R&B, electro/house spinning duo that churns out tunes which are unique and fresh.


Toshiba Face Recognition is not Fool-proof

I was setting up my supervisor’s new Toshiba L645 laptop and found out that their face recognition software is not foolproof after going through so much hassle registering your FACE into the system.

During registration of your FACE, it will ask you to turn your head left and right, up and down like a retard. Basically it’s capturing your silly face from different angle. Users will think it has advance technology to actually do a 3D scan of your face to log in to your system. But in face, it just use those captures you did previously to compare.

Then I told my supervisor, that I can log in without him showing his face to the camera. He says no way. So what I did was, I took a photo of his face on my mobile. Then, I enlarge it and showed it to the laptop’s recognition system. Guess what? I logged in hassle free . LoL