Magento Hosting BLOG

Blog about Magento, Technologies and Hosting Service

Magento Hosting :: Understanding Magento Full Page Cache

clock August 28, 2013 07:51 by author Mike

Magento Full Page Cache (FPC) is a very useful technique or mechanism that allows us to copy web content by storing the output of a given URL to a temporary container (caching) to help reduce bandwidth usage, cpu load, memory comsuption, database stress, perceived lag among other benefits.

We need to understand what the run function in Mage_Core_Model_App does and how it is architected:

/**
* Run application. Run process responsible for request processing and sending response.
* List of supported parameters: * scope_code - code of default scope (website/store_group/store code)
* scope_type - type of default scope (website/group/store)
* options - configuration options
*
* @param array $params application run parameters
* @return Mage_Core_Model_App
*/
public function run($params)
{
$options = isset($params['options']) ? $params['options'] : array();
$this->baseInit($options);
Mage::register('application_params', $params);

if ($this->_cache->processRequest()) {
$this->getResponse()->sendResponse();
} else { $this->_initModules();
$this->loadAreaPart(Mage_Core_Model_App_Area::AREA_GLOBAL, Mage_Core_Model_App_Area::PART_EVENTS);
if ($this->_config->isLocalConfigLoaded()) {
$scopeCode = isset($params['scope_code']) ? $params['scope_code'] : '';
$scopeType = isset($params['scope_type']) ? $params['scope_type'] : 'store';
$this->_initCurrentStore($scopeCode, $scopeType);
$this->_initRequest();
Mage_Core_Model_Resource_Setup::applyAllDataUpdates();
}

$this->getFrontController()->dispatch();
}
return $this;
}

The most important part in that function is:

$this->_cache->processRequest()

What that line does is that checks if you have defined a caching node like this under app/etc/cache.xml:

cache.xml is just an arbitrary name I chose for this blog post (It’s not really arbitrary as you will see later).

The request processor node gets checked whenever the cache model gets instantiated:

/**
* Class constructor. Initialize cache instance based on options
*
* @param array $options
*/
public function __construct(array $options = array())
{

$this->_defaultBackendOptions['cache_dir'] = Mage::getBaseDir('cache');
/**
* Initialize id prefix
*/
$this->_idPrefix = isset($options['id_prefix']) ? $options['id_prefix'] : '';
if (!$this->_idPrefix && isset($options['prefix'])) { $this->_idPrefix = $options['prefix'];
}
if (empty($this->_idPrefix)) {
$this->_idPrefix = substr(md5(Mage::getConfig()->getOptions()->getEtcDir()), 0, 3).'_';
}

$backend = $this->_getBackendOptions($options);
$frontend = $this->_getFrontendOptions($options);

$this->_frontend = Zend_Cache::factory('Varien_Cache_Core', $backend['type'], $frontend, $backend['options'],
true, true, true );
if (isset($options['request_processors'])) {
$this->_requestProcessors = $options['request_processors']; } if (isset($options['disallow_save']))
{ $this->_disallowSave = $options['disallow_save'];
}
}


This piece of code:

if (isset($options['request_processors'])) {
$this->_requestProcessors = $options['request_processors'];
}

Is what matters most.

The next thing that magento does is to find / initialize the class you have defined and it expects that you have an extractContent function defined in your model. How you do that is totally up to you but look at Magento’s implementation and get a hint or two.

Magento Full Page Cache has its own config model that loads your module’s (see no arbitrary) cache.xml file which gets initialized whenever you dispatch this event core_block_abstract_to_html_after and do you know where that event gets dispatched? If you thought in the toHtml method in Mage_Core_Block_Abstract then you should be writing this article not me.


Anyhow, the Enterprise_PageCache_Model_Observer::renderBlockPlaceholder observes that event and initializes the Enterprise config model. It has a method called _initPlaceholders which iterates through all of the cache.xml nodes and finds the definition of the holes and fillers. This model is the one that basically takes control of filling the holes you defined in the cache.xml which has a syntax similar to this:



So now we know how Magento finds the cache, config, events and adds the container name in the page. However we don’t know what the containers are? Essentially they are the ones responsible for filling the holes you have defined. Each container has two important methods applyWithoutApp and applyInApp that Vinai has explained exceptionally well here. But it will be awesome if you go take a look and be amazed because trust me YOU will need to, to fully understand it.

The function that will probably will matter most for you is:

/**
* Render block content from placeholder
*
* @return string|false
*/
protected function _renderBlock()
{
}


As that is the one that will get your dynamic content (read holes).



Magento Hosting :: Add an administrator password a Magento admin user using MySQL

clock July 29, 2013 11:29 by author ben

Magento is a very powerful and fast growing ecommerce script, created by Varien. It is an open-source platform using Zend PHP and MySQL databases. Magento offers great flexibility through its modular architecture, is completely scalable and has a wide range of control options that its users appreciate.

In this section, we are going to build a MySQL script that you can use for adding a new admin account within seconds.

It is recommended to have a salted password hash ready.

Paste into the MySQL script:


Don’t forget to set your own values on lines 4-8, 26, 27.

Note: If you use Magento CE 1.3.2.4-1.4.*, remove lines 16 and 17.

Now you are ready to run script:


That is it! Now you can execute script any time you need to add admin account.

Alternatively

If you are not comfortable using script than another way can meet your needs:

1. Click Insert button to make new admin_user record. Fill out necessary fields using existing record values and this manual as template.


2. Next we need to add record to admin_role table.

Here user_id – is ID of user that we have created. parent_id is role_id of Administrators record:

Test your new admin account.



Magento Hosting - ASPHostPortal.com :: Magento API Roles Not Updating

clock June 28, 2013 06:14 by author Mike

Magento is an opensource e-Commerce web application trusted by the world's leading brands. Magento has become a popular choice in the last few years because of all the choices and features it gives while developing an ecommerce website. If you or a 3rd party developer needs to access your Magento powered ecommerce store, then you’ll want to do so via the built-in API. Granting access to the Magento API is a fairly simple task. Giving a Role custom or full access is done under Web Services > Roles. Choose your Role, then select the Role Resources tab. From this screen you can set the access that this particular Role has.

While creating a Role and giving access to the Catalog section I noticed that the Role Resources were never updating, no matter if I gave full or custom permissions. The version of Magento was 1.6.2 (latest at the time of development). There is apparently a bug with the code that affects 1.6.X versions of Magento Community Edition (CE).

The fix is fairly simple and requires a small code adjustment on the core code. Generally, it’s best to copy over the core code you are editing to a local version as your edits will get overwritten if you update the core code. But, since we know that this has been patched in 1.7, it’s best to let Magento overwrite it when we do upgrade.

Below is the code edit: Inside app/code/core/Mage/AdminHtml/Block/Api/Tab/RolesEdit.php we will look inside the constructor for a function call to getPermission.

The old line of code should be:

if (array_key_exists(strtolower($item->getResource_id()), $resources) && $item->getPermission() == 'allow')

The new line of code should be:

if (array_key_exists(strtolower($item->getResource_id()), $resources) && $item->getApiPermission() == 'allow')

This's all step fixed the issue for others running 1.6.X and not being able to edit an API User’s Role Resouces.



Magento Hosting :: SEO Tips for Setting Up Magento eCommerce and Making the Magento product import fully automatic

clock June 14, 2013 06:21 by author ben

Magento eCommerce is quickly becoming one of the more popular eCommerce platforms for businesses of all sizes. Launched in March of 2008, this platform seems to have it all—catalog management, mobile commerce, analytics and reporting, checkout, etc.—and offers both a free version as well as a paid enterprise-level version. However, there is one thing that Magento eCommerce doesn’t get right: SEO.

Search engine optimization (SEO) is one of the most important aspects of Internet marketing. Fortunately, Magento eCommerce isn’t a lost cause. Although it may not be search-engine-ready right away, there are a few things a company owner can do to help get it ready.

Getting Magento eCommerce Ready for SEO

  • Rewrite the Default URL.

You should always look at your URL configuration and make sure it is ready to go for the search engine bots. Long URLs, or URLs in their dynamic forms, can be confusing to search engines and then cause them to miss information that a URL can offer. Fixing a URL configuration is known as “rewriting” the URL, and this can often be completed with a variety of tools. With the Magento platform, it’s as easy as clicking the System section à Configuration panel à Web option à and setting the feature to “Yes.

You may also want to turn off your Store ID code additions so they are not included in your URL. You can find this option in the web configuration setting,

Finally, it’s a good idea to take advantage of 301 redirects to make sure that whether your visitors type in the domain with a “www” and used without the “www” they are taken to the same place. To do this, you must access your site’s .htaccess file and set up rewrites so that search engines know how to index your URLs. You can learn more about the .htaccess file here.

  • Customize aspects of all the different pages for SEO.

As with all things SEO, the content on the magneto platform needs to be optimized for search engines. This means that you should focus on a few specific keywords and make sure that your meta tags, title of your pages, and URL are all optimized for that keyword. You can do this by going to the backend of your site and going from Catalog à the Manage categories section. You will also want to make sure that your images are optimized by using your keywords in the titles of your images. You can find this by going from Images à to Product information.

  • Help speed up your site.

Having a site that loads and works quickly is becoming more and more important in the eyes of Google, but it’s also important if you want to keep your users engaged and decrease frustration. The Magento platform is not known for its speed, but fortunately there are a few things you can do to help speed up the system. First, go to the cache management section and enable all of the caching choices. Next, consider whether or not your web host can handle the volume Magento offers. Finally, combine all of your CSS files into a single page to help improve speed.

Making the Magento product import fully automatic.

If we got the above working, we need to get the working fully automatic. We want to import our products and do a complete reindex of magento every night. First we create a file that can be executed by the shell that imports the products and reindexes it. Call it something like import.sh (sh from shell):

echo mag_import.php 7
php /PATH/TO/YOUR/MAGENTOINSTALLATION/shell/mag_product_import.php 7
echo indexer.php reindexall
php /PATH/TO/YOUR/MAGENTOINSTALLATION/shell/indexer.php reindexall

Try and run the file with the following:

bash /PATH/TO/YOUR/MAGENTOINSTALLATION/shell/shell_dayly.sh

If that all works properly, we can setup our cronjob to do it automatically every night. Enter the following into you shell:

crontab -e

Now, if something happens to our import, somethings goes wrong, etc, we wan't to get notified. Add the following line at the top of the crontab file.

[email protected]

Below the Magento line we add our import cron:

0 0 * * * bash /PATH/TO/YOUR/MAGENTOINSTALLATION/shell/import.sh

Now save the crontab (depends on the editor how) and your all set.

Note: if you want to see error regarding the import, lines that could not be processed open /PATH/TO/YOUR/MAGENTOINSTALLATION/var/log/import.log or browse to the file in the shell and type:

tail -f import.log



Magento Hosting - Installing Magento Extension Properly

clock February 8, 2013 06:34 by author andy_yo

Many customers got the problem during installing the extension because they did installation in wrong way. So in this article We will show you the right way to install a magento extension properly.

About ASPHostPortal.com
ASPHostPortal.com is Microsoft No #1 Recommended Windows and ASP.NET Spotlight Hosting Partner in United States. Microsoft presents this award to ASPHostPortal.com for ability to support the latest Microsoft and ASP.NET technology, such as: WebMatrix, WebDeploy, Visual Studio 2012, ASP.NET 4.5, ASP.NET MVC 4.0, Silverlight 5 and Visual Studio Lightswitch. Click here for more information

 

When installing an extension, you should follow these steps:

1. Backup your site before installing any extension. Some extension might crash your site if you install it in wrong way or it contains the bad code.
* if it is posible then install and review the extension on a stagging server or development site first. This will help you to avoid down time of live site if there is a problem during installing the extension.

2. Make sure you enable magento cache. To do this, go to Admin -> System -> Cache Management
This is also an importance step that some customers missed. If the cache is disabled then magento can start setting up during uploading the extension files. Some importance files might have not uploaded yet and causes the system do setting up in wrong way.

3. If you install the extension via magento connect then go to Admin -> System -> Magento Connect -> Magento Connect Manager. There are some articles show you the detail steps in this way so I will don’t discuss further.
In almost cases you will need to install the extension manually via FTP or SSH. By this way you will need to upload the extension files to your magento location. All extension files should be organized in these folders: app, skin, js and no file should be replaced for the first time you install the extension.

* If you see another folder than app, skin or js folders, be careful before you upload it. Ask the extension provider for making sure it is nescessary and will not effect to your system.

* If the system alerts a file might be replaced in the first time you install the extension, be careful because you might replace the core file and it will crash your site.

4. When all extension files are uploaded, you will need to check the template and skin files to see if they are placed in right folder. Your custom theme might be in these folders:
- magento/app/design/frontend/<theme_package>/<theme_name>
- magento/skin/frontend/<theme_package>/<theme_name>
If your extension template and skin files are in difference theme package:

- <extension_files>/skin/frontend/<other_package>/default

- <extension_files>/app/design/frontend/<other_package>/default

Then you will need to copy these folder to your theme package.

* Some extension might just work in backend and does not have template or skin files. So don’t worry if you don’t see them.

5. Now you can refresh or disable the cache to let magento run extension setting up and start configuring the extension.

6. Logout and login the backend again. Some customers leave this step so they get access denied or 404 error page when accessing the extension configuration panel.

7. Some extension can start working now but some need to do certain configrations in backend or in adjust the custom theme. Follow the user guide of the extension to configure the extension.

8. If you need to customize the extension template or skin, you should copy the files to your custom theme folders. If you do it in the default theme you might lose your work when you upgrade or reinstall the extension.

Here is just some key steps that show you how to install a magento extension properly. Some extension might need to do some special configration or adjust your custom theme so you will need to read the installation and user guide carefully. If you not sure what you are doing then stop and ask the extension provider for help or you might crash your site and lose money in down time. If you don’t have base knowledge about magento then it is better to purchase for installation service. This will keep your head free and avoid risk on your site and business.



Magento Hosting - ASPHostPortal :: How Magento Web Development Helps Your Business

clock October 12, 2011 07:42 by author Jervis

Nowadays, there are many Magento Web Development websites available which uses the Magento platform for designing and developing ecommerce websites. Ecommerce is much more than selling a product or a service online now a day. It is obvious that selling of services or products one offers not only lets him/ her expand their business and customer base worldwide but also reduces his/ her burden of controlling maximum customers with less mistakes or loss of desired customers. Today, to be successful in this competitive and fast growing world where internet is everything for the buyers, one must have an eye catching, easy to use Ecommerce website that gets you the best results out from it!

There are many online websites available which provide you with the best in industry Magento Website Development. These have Magento Web Developers who are experienced enough to get you the best website which will attract the customers on its own. These experienced Magento Web Developers can help you design a website that lets you achieve maximum traffic and conversion rates as well as a maximum return on your investment. Magento Website Development is a useful tool for the Ecommerce merchants to promote their products and services online easily. It is essential for an Ecommerce website to fulfill the constant changes in demand in this fast changing technological world and getting your Ecommerce website developed in Magento will help you a lot to meet the requirements of the varied customers.

Magento theme and template design are also there in Magento website development which allows a user or a developer to provide you with innumerable web designs, body, themes, colors and many other things which are helpful in making your website eye catching. Through Magento Web Development, your customers will be able to find your products easily and will be able to order and view product details easily and quickly. When there’s no room for glitches and no time for down time, just get your website developed or redeveloped in Magento which will help you build an Ecommerce website that your customers will enjoy using. To meet such requirements Magento theme and template design and customization could come as a handy tool.

Magento Web Development is the backbone of Ecommerce websites and helps in making your website stand among your competitors. To stand different from thousands of rest of the Ecommerce websites, you just need to get your website developed in Magento and modify your themes and then claim a unique back ground experience for your website users. This can be done in order to retain more and more prospective customers who visit your website and become the final consumer.

if you need Magento hosting with affordable price, you can visit our site at http://www.asphostportal.com.

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they’re really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

-
DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization – as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal’s top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients’ critical sites and services.



Magento Hosting - ASPHostPortal :: Magento Development Gives Your Online Business An Edge Over Your Competitors

clock September 28, 2011 07:20 by author Jervis

Magento has become a popular choice in the last few years because of all the choices and features it gives while developing an ecommerce website. Magento development has brought in a lot of value to the ecommerce sites as with the help of Magento customization one can really make a website that has the uniqueness required to stand out in the crowd of thousands of similar websites available on the web. Not only this but the ease with which Magento development helps you create and manage your site is proving to be a feature that bring in the quality to create useful websites.

As we all know that most of the businesses are dealing online which gives leverage to your business in the sense that helps in transgressing the physical boundaries and you can reach out to your customers irrespective of your location. This is why ecommerce websites have become so important in the business world. Similarly to handle something this important you need to find a way that will make sure the success is achieved and Magento development is that very option. It not only helps you to customize your site but also helps you add features like third party payment gateways and shipping features through Magento module development so that you can increase the utility of the site.

Whether you hire a Magento developer or create one of your own, Magento is the right choice. Magento module development has helped in creating many such sites that has seen the development of ones business to quite an extent helping their owners to expand and create better business opportunities. Magento themes/ template customization, Magento Module development, Module installation, Custom designed page, Magento template / theme development, Unified payment gateway integration, Magento backend and store management training, Extension development are just few of the options that developers have to utilize in creating useful websites.

Since there are many templates and themes available for Magento, the developers can use the options creatively for creating a customized website which will have features that will suit the business requirement meeting the demands of the customers. This is why Magento has scored over other ecommerce platforms.

So if you want to create better business avenues and want to serve your clients better than create a website that has your signature style and represents your business. Magento development and Magento customization is the right choice for such a purpose.

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they’re really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.


You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization – as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal’s top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients’ critical sites and services.



Magento Hosting - ASPHostPortal :: How to Choose Magento Hosting Service that Suits Your Need

clock September 21, 2011 06:28 by author Jervis

Magento hosting is currently available from hundreds of thousands of providers. The decision of what Magento hosting company to use can be the difference between the success and the demise of a Magento shopping cart website. While any Magento hosting, eCommerce hosting, or even generic web hosting company may look the same at first glance- placed in very simple terms, nothing could be further from the truth. There are three key elements we are going to be observing:

- Reliability
- Security
- Performance

While these again may appear like generic enough terms to select any web hosting company, they are not. Let's review each of these topics by how they apply specifically to Magento hosting, in hopes to reveal who the few realistic Magento hosting companies really are.

Reliability

It's a simple fact that it is too easy to start a web hosting company. Most hosting companies are "hobby hosts", or one-man shows. They have no systems administration staff, or customer service staff over off hours. They do not have administrative access to the servers that host your site virtually, and certainly not physically. They are resellers with no experience in how to correctly host a web site, and a very low chance of staying in business for very long. Magento has system requirements that are not enabled by default in a very large percentage of the web hosting companies out there, and will likely not function optimally, or possibly even at all, if your web host has not tuned a web hosting environment to play nicely with Magento. These web hosting companies will not have the ability to meet the unique web hosting support demands of your Magento shopping cart.

The first thing that you should look at when choosing a Magento hosting company is how long they have been in business. Companies on the official Magento Enterprise Hosting Partner list are ideal. Firstly, these companies know the ins and outs of the Magento application on day one, and will not be left experimenting on your hosting when problems happen. Some of the companies on the official list, such as Nexcess, have been working directly with Magento for over a decade. The number of Magento hosting companies that this can be said for can be counted on one hand, but are a great place to start your search.

Security

Security is a topic that's crucial for any eCommerce web site. If your site stores valuable financial info such as credit card numbers and personal contacts, as most Magento shops do, the severity of this topic is multiplied. No organization can afford to risk the devastating effects of having such data compromised. Many Magento hosting environments consist of private, virtual partitions of a server. This protects against a number of potential exploits that can be opened up by irresponsible webmasters that might otherwise share a server with your Magento shopping cart site.

Whatever company you choose for Magento hosting, it's a good idea to do daily PCI (payment card industry) scans, using a service such as ScanAlert or McAfee Secure. In addition to the extra assurance that these badges give your visitors (which have been proven to drastically improve conversions by bolstering trust), this also means your Magento hosting remains safe. New exploits come out every day, and countless web hosting companies never test for PCI compliance. Before ordering hosting, ask your host if they are PCI compliant, but don't stop there- test it yourself!

Performance

Performance tuning is a topic not to be taken lightly in a Magento hosting service, and overlooking the impact of this factor is perhaps the most common mistake that companies make when selecting their Magento host. Did you know that studies have repeatedly proven that users gravitate drastically towards faster web sites? Think about it. No venue is more competitive to sell your product that the Internet. If two Magento shopping carts have the same products, but one is consistently just 10% faster, which would you gravitate towards?

This trend has become so clear, that Google has taken to penalizing slower web sites in their search results. In fact, the search giant is so serious about penalizing your slow web server, that speeding up your web site is directly stated in their Webmaster Guidelines as a way to make your site rank better in their results. While Magento is pretty fast out-of-the-box, it won't perform up to spec unless you are in a Magento hosting environment tuned for Magento, and overall performance. Such performance gains can be found by looking at Magento's official Enterprise Hosting Partners, referenced on the Magento web site, as a number of these hosts have developed isolated Magento hosting environments tuned specifically towards speeding up the unique behavior of a Magento shopping cart.

In conclusion,

1. Don't make the same mistake that most amateur Magento webmasters make. Take the time to learn about your Magento hosting provider before your order service, and they will treat you well!

2. We have been in this business for years and you can trust your site with us. You just spend $5.00/month to get professional magento hosting.

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they’re really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.


You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization – as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal’s top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients’ critical sites and services.



Magento Hosting - ASPHostPortal :: How to Solve Error 500 Internal Server Error in Magento

clock July 21, 2011 06:40 by author Jervis

If you are installing Magento directly on your server, then you may get some errors while opening the installation wizard on your browser, i.e, 500 INTERNAL SERVER ERROR. Its mainly because of the wrong FILE PERMISSIONS.

The best way to solve this issue is here,

1. Download
Magento Cleanup Tool
2. Unzip magento-cleanup.php to the root directory where Magento is installed.
3. Browse to
http://yourdomain.com/magento/magento-cleanup.php

Hope it helps!!

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they’re really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

-
DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization – as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal’s top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients’ critical sites and services.



Magento Hosting - ASPHostPortal :: How to Connect Different Database from Magento

clock May 27, 2011 05:38 by author Jervis

Some of you might have worked on Magento.

I am listing here points for connecting another database from Magento.

1) Suppose your database for Magento Project is named ‘magento’.
2) There is one other database named ‘wp’.
3) For using this database inside Magento, you need to setup connection in ‘config.xml’ file which
resides in ‘urmagentodirectory/app/etc’
4) In ‘config.xml’ there is a tag ‘’ inside which default connection is setup, you need to write this code under this.

<wp_setup>
    <connection>
    <host>< ![CDATA[hostname]]></host>
    <username>< ![CDATA[username]]></username>
    <password>< ![CDATA[password]]></password>
    <dbname>< ![CDATA[wp]]></dbname>
    <model>mysql4</model>
    <initstatements>SET NAMES utf8</initstatements>
    <type>pdo_mysql</type>
    <active>1</active>
    </connection>
</wp_setup>
<wp_write>
    <connection>
    <use>wp_setup</use>
    </connection>
</wp_write>
<wp_read>
    <connection>
    <use>wp_setup</use>
    </connection>
</wp_read>

5) Now you can use this connection by following


<?php
$read = Mage::getSingleton('core/resource')->getConnection('wp_read');
$write = Mage::getSingleton('core/resource')->getConnection('wp_write');
?>

Reasons why you must trust ASPHostPortal.com

Every provider will tell you how they treat their support, uptime, expertise, guarantees, etc., are. Take a close look. What they’re really offering you is nothing close to what ASPHostPortal does. You will be treated with respect and provided the courtesy and service you would expect from a world-class web hosting business.

You’ll have highly trained, skilled professional technical support people ready, willing, and wanting to help you 24 hours a day. Your web hosting account servers are monitored from three monitoring points, with two alert points, every minute, 24 hours a day, 7 days a week, 365 days a year. The followings are the list of other added- benefits you can find when hosting with us:

- DELL Hardware
Dell hardware is engineered to keep critical enterprise applications running around the clock with clustered solutions fully tested and certified by Dell and other leading operating system and application providers.
- Recovery Systems
Recovery becomes easy and seamless with our fully managed backup services. We monitor your server to ensure your data is properly backed up and recoverable so when the time comes, you can easily repair or recover your data.
- Control Panel
We provide one of the most comprehensive customer control panels available. Providing maximum control and ease of use, our Control Panel serves as the central management point for your ASPHostPortal account. You’ll use a flexible, powerful hosting control panel that will give you direct control over your web hosting account. Our control panel and systems configuration is fully automated and this means your settings are configured automatically and instantly.
- Excellent Expertise in Technology
The reason we can provide you with a great amount of power, flexibility, and simplicity at such a discounted price is due to incredible efficiencies within our business. We have not just been providing hosting for many clients for years, we have also been researching, developing, and innovating every aspect of our operations, systems, procedures, strategy, management, and teams. Our operations are based on a continual improvement program where we review thousands of systems, operational and management metrics in real-time, to fine-tune every aspect of our operation and activities. We continually train and retrain all people in our teams. We provide all people in our teams with the time, space, and inspiration to research, understand, and explore the Internet in search of greater knowledge. We do this while providing you with the best hosting services for the lowest possible price.
- Data Center
ASPHostPortal modular Tier-3 data center was specifically designed to be a world-class web hosting facility totally dedicated to uncompromised performance and security
- Monitoring Services
From the moment your server is connected to our network it is monitored for connectivity, disk, memory and CPU utilization – as well as hardware failures. Our engineers are alerted to potential issues before they become critical.
- Network
ASPHostPortal has architected its network like no other hosting company. Every facet of our network infrastructure scales to gigabit speeds with no single point of failure.
- Security
Network security and the security of your server are ASPHostPortal’s top priorities. Our security team is constantly monitoring the entire network for unusual or suspicious behavior so that when it is detected we can address the issue before our network or your server is affected.
- Support Services
Engineers staff our data center 24 hours a day, 7 days a week, 365 days a year to manage the network infrastructure and oversee top-of-the-line servers that host our clients’ critical sites and services.



About ASPHostPortal.com

We’re a company that works differently to most. Value is what we output and help our customers achieve, not how much money we put in the bank. It’s not because we are altruistic. It’s based on an even simpler principle. "Do good things, and good things will come to you".

Success for us is something that is continually experienced, not something that is reached. For us it is all about the experience – more than the journey. Life is a continual experience. We see the Internet as being an incredible amplifier to the experience of life for all of us. It can help humanity come together to explode in knowledge exploration and discussion. It is continual enlightenment of new ideas, experiences, and passions

Corporate Address (Location)

ASPHostPortal
170 W 56th Street, Suite 121
New York, NY 10019
United States

Sign in