“Info: To add this product into your cart you have to select a product variant on the details page.”

For guys/gals who are scratching their heads for the  “To add this product into your cart you have to select a product variant on the details page.” message on Virtuemart.

Here’s  what I found and did to fix this “bug” (The client is using Virtuemart 1.1.8 on Joomla 1.5.23)

Using period ( . ) on a Custom Attribute will cause the “..select a product variant…” message. Do not use semi-colon ( ; ) as this is used by Virtuemart to separate Custom Attribute field names.
Read the rest of this entry »

Plagiarism and content copying

This post is actually a reply to meble drewniane in reply to the comment here.

I haven’t had much thought regarding plagiarism or copyright infringements. Although I admit some of my posts here came from other sites, especially the SWIFT code and the BANK codes which came from various bank sites, Paypal, and some other business sites. Although such information are considered general information I guess. The reason I posted it here is being a personal reminder/reference when I send my bills to my clients and how they send money to my bank. Secondary is to help others guys who are into online banking or billing, or wachatheymightcallit.

Now, how do I prevent content from being stolen? I don’t really know. Probably pray the guys to having amnesia so they would forget what they read from your site. Content/posts are what we have in mind that we want to write about and/or share to others.  And maybe share their thoughts in return. Such sharing of thoughts often times produce derivatives of ideas and coming up with other new ideas and again sharing the thoughts on some and several subjects.

Read the rest of this entry »

Fatal error: Allowed memory size of x bytes exhausted (tried to allocate y bytes) in /var/host/public_html/administrator/components /com_virtuemart/classes/ps_checkout.php on line xyz

Just recently I encountered this boggling “Fatal Error: Allowed memory…” message when I upgraded a Joomla component totally unrelated to Virtuemart. Nevertheless, the error suddenly appeared.

To fix this, you have to increase your memory limit. One fix is to create (if it’s not already there) a PHP.ini file on your root folder. You add the line:

memory_limit = 32M

But if its already there, try increasing it with probably 40M and try it out. If it’s still getting the error, try to increase it some more, probably 64M.

You can also try setting your .htaccess with:

php_value memory_limit 32M

 

Code snippets blocks and syntax highlighters

While working on some posts regarding some SugarCRM mods, I encountered a need to setup some plugin to enable me to include in my post a code snippets blocks, commonly called syntax highlighters on WordPress.

Trying out some plugins, I found it not suiting my needs. Although I found them great but it’s just not the feature I want. Most are using javascript to rewrite the content, some are not really my liking.

Read the rest of this entry »

SugarCRM layout is messed up after installing or upgrading

I ‘m not sure if this always happens but after I install or upgrade SugarCRM I got a messed up theme. What I usually do wwhen that happend is the change some entry on config.php:

'dir_mode' => 1533,
'file_mode' =>436,

save then delete everything under the cache folder.

How to remove Powered By SugarCRM, logo and footer

Sometimes a client would ask a certain copyright notice be removed from a licensed application knowing that they may lose the warranty that they may have with the application provider. Anyway, I have no object to that nor I have a say to it. And so the main thing client want is to have the Powered By SugarCRM that you can see at the footer. It’s usually accompanied by the logo and the copyright notice. The client wants to have their company logo appear instead of Powered By SugarCRM.

 

Read the rest of this entry »

Getting confused with SugarCRM’s cache

I was doing customise job on a SugarCRM site when I noticed my latest update is not showing up on the site. Later I found out that SugarCRM was getting its data from its cache folder. Although I understand that cache system supposedly makes the site go faster, but still the SugarCRM is still reading the files from a folder and not stored as actual cached files. This I may not understand but I’ll leave it as is.

Instead I turned on the Developer Mode found under the Advanced group at sugarcrm.site/index.php?module=Configurator&action=EditView .  Also, I copy my latest updates (CSS, PHP) to the cache folder under the same folder name just to make sure.

 

No SPAM comments please

I’m pretty sure bloggers like me encountered lots of nonsense comments on their blogsite. Although I actually appreciate the effort in doing so, even  though most are SPAM comments, I still prefer commentors to read the post before even leaving a comment.

To keep my blogsite being cluttered with SPAM comments, I see to it that I have control on approving, disapproving, trashing, and marking comments as SPAM. Some I know are actually SPAM but I approve it anyway as the comment is somewhat related to the post. I know the importance of creating lots of one way links to the site mentioned in the comments so I allow them on my blogsite, with my approval of course.

Paypal Bank Codes for Philippine Banks

9 digit bank code

ALLIED BANKING CORP – 010320013
AUSTRALIA NEW ZEALAND – 010700015
ASIA UNITED BANK – 011020011

BANGKO SENTRAL NG PILIPINAS – 010030015
BANGKOK BANK – 010670019
BANK OF AMERICA – 010120019
BANK OF CHINA – 011140014
BANK OF TOKYO – 010460012
BANCO DE ORO (& EPCIB) – 010530667
BANK OF COMMERCE – 010440016
BANK OF THE PHIL ISLANDS – 010040018
Read the rest of this entry »

Philippine Bank SWIFT CODES (Bank Identifier Codes)

ABN AMRO Bank ABNAPHMMXXX
Allied Banking Corporation ABCMPHMMXXX
American Express Bank Philippines AMEXPHMMXXX
Asia United Bank Corporation AUBKPHMMXXX
Australia and New Zealand Bank ANZBPHMXXXX

Read the rest of this entry »