ESXI: Move VM between hosts

By |2014-07-26T14:14:24+01:00July 26th, 2014|Technology, Virtualization, Web Development|

Here is a “how-to” to move VMs between ESXi hosts without vCenter and completely for FREE:
Here is the scenario:
We have two ESXi hosts: “esxi-old” and “esxi-new” like below:

We want our VMs (here webserver, devFactory and database) to be copied (or you may call it moved/migrated) to the “esxi-new” host.

 
Follow these steps carefully without skipping any:

A: On esxi-old host

  1. Create a new user on ESXi host (I recommend for user name: ovfuser) follow this tutorial from buildvirtual.net
    • WARNING: Use only alphanumeric characters in the password, else you will get an error! [REF #1]
    • Assign the admin role for this ovfuser
    • Remember to remove this user once all vm copy/migration […]
Comments Off on ESXI: Move VM between hosts

[Solved] Joomla 3.0 admin radio switch buttons do not display their state

By |2012-11-15T18:22:57+01:00November 15th, 2012|Technology, Web Development|

If you are using Joomla 3.0 with the ISIS administrator template, and have installed some modules and themes like JA T3 Framework or GANTRY Framework, you might notice that radio switch buttons in your administration panel do not show their state.
Here is a screenshot of how settings “Hide / Show” buttons might show:
Joomla Settings Switch buttons no state
This can be fixed easily:
Edit the file:

 JOOMLA_ROOT/administrator/templates/isis/js/template.js 

Change the line (around 35) from:

 $(".btn-group input[checked=checked]").each(function() 

to

 $(".btn-group input:checked").each(function() 

Here is what you will have once you reload your admin page:
Joomla ISIS template radio switch working correctly
The issue resides in the method the function checks if a radio button is checked or not. This […]

Comments Off on [Solved] Joomla 3.0 admin radio switch buttons do not display their state

Alternative PHP Cache, APC, on GoDaddy Hosting

By |2012-10-03T17:29:40+01:00October 3rd, 2012|Technology, Web Development|

As I said earlier, Godaddy is implementing APC ( a great cache functionality) on its shared hosting plans. In a recent contact I had with them, it looks like the launch day is tomorrow.
Godaddy.comTill now, Godaddy disabled (by default) this extension for clients using actually Zend and Ioncube; good choice; as these 3 extensions represent an incompatibility risk.
If you want to benefit from the “awaited” great performance boosts with APC, you need to disable Zend and Ioncube extension and enable APC.

Enable APC on Godaddy.com Hosting

Here is how to do it:
Open your working php.ini/php5.ini file (it might be in a subfolder or on your root folder)
If you have Zend or Ioncube extensions enabled, and you are sure your sites will […]

Optimize your CS-Cart store

By |2012-09-26T23:57:15+01:00September 26th, 2012|Blogging, E-commerce, Technology, Web Development|

Faster websites get better SEO scores and get better indexes in search engines, a Google employee once said "Website should be fast", your visitors will agree, trust me. Faster and optimized eCommerce websites do sell more than 40% more than slower ones, just because they are faster. You "will" agree once you see the money come ;) trust me.

APC caching for CS-Cart 3 and Smarty 2

By |2012-09-25T12:44:16+01:00September 25th, 2012|E-commerce, Web Development|


Today I got and email from Godaddy saying that Godaddy.com is implementing APC cache from 1st October 2012. APC cache helps your pages load a lot faster, but it is not always easy to implement it into your software. Smarty, the template engine, implements the APC cache from its version 3, but the older versions of Smarty, are a bit trickier to master.
Finding a good way of implementing APC cache to your Smarty 2 is a challenge, but don’t worry, I am here :D.
Here is a method to implement APC cache to your CS-Cart eCommerce software, which is using Smarty 2 as its templating engine:
You need to:

  1. Create a SMARTY cache handler for handling APC cache. Be careful that […]

Set cookie domain for CS-Cart

By |2012-09-24T02:25:52+01:00September 24th, 2012|E-commerce, Technology, Web Development|

If your are using CS-Cart eCommerce software, you might need to configure CS-Cart to set its cookies to a specific domain or subdomain.
To do this, you need to modify a bit the “CORE” of CS-Cart.

  1. Edit the file :
<CS-CART_ROOT>/core/fn.common.php
  1. Around lines 2035 to 2044, you will find the fn_set_cookie() function,
  2. Modify the last line of this function from:
 return setcookie($var, $value, $expiry, $current_path);


to

 $current_domain = (defined('HTTPS')) ? Registry::get('config.https_path') : Registry::get('config.http_path');
 if ($current_domain != ''){
    return setcookie($var, $value, $expiry, $current_path, $current_domain);
 }else{
    return setcookie($var, $value, $expiry, $current_path);
 }

Happy creating!

Comments Off on Set cookie domain for CS-Cart

GoDaddy Down

By |2019-06-09T20:05:14+01:00September 11th, 2012|Security, Technology, Web Development|

Godaddy.comWell, there are lots of news about GoDaddy.com being down, now more than 4 hours, but the question is: How Godaddy.com will compensate the losses?!
People hosting their websites on Godaddy.com servers, and its resellers, lost lots of money in this outage.
“Over 50 local Myrtle Beach hotels that use GoDaddy services through Fuel Interactive could be impacted by as much as $30,000 an hour, collectively, for each hour the sites are down.” says Wmbfnews. (1)

 

On the other hand, Disa Johnson says that Godaddy didn’t resolve the issue by themselves. It was the hacker who “had a heart” and let go!!!! (2)
How can making troubles for others be called “having a heart”??
Just search about this outage on Google […]

Comments Off on GoDaddy Down

Optimize JA T3 Framework on your Joomla website

By |2012-08-15T23:23:00+01:00August 15th, 2012|Web Development|

After a long long time, I’m back again :D
I’m give you a little trick to speed up your Joomla website and optimize its loading time.
If you are using the JoomlArt.com’s JA T3 Framework, which is really great, you might experience slow joomla website and long wainting times until something shows up!
Pages being slow are a pain for the visitors and might make them go away from your website.
I found out that if you enable the CSS and JS optimise options from your template’s settings page, the requests made to the optimised CSS and JS files are redirected multiple times which causes serious performance issues and slows down your pages! Strange huh??
 
That is because of a bug in the JAT3 base system […]