Installing the Magento ecommerce platform on Heart Internet is a complete pig of a thing to do. However I’ve discovered some great tutorials and tips to make sure your installation goes smoothly:
Step 1. Upload all of the files to your web server (took me the best part of 1/2 a day).
Step 2. Create a mySQL database in the Heart control panel
Step 3. Contact Heart Internet support and ask them to allow ‘CREATE TEMP TABLE’ permissions on the database (turned off by default for security reasons)
Step 4. Turn on PHP5 in the Heart Internet control panel
Step 5. Set up file permissions thus…
777
/public_html/var/.htaccess,
/public_html/app/etc
/public_html/var,
/public_html/media (and all folders under media)755
/public_html/index.php
/public_html/
Step 6. Edit /public_html/.htaccess and add:
#############################
## For heart internet
SetEnv DEFAULT_PHP_VERSION 5
php_flag short_open_tag on
Step 7. Create a file called php5.ini in /public_html/
Step 8. add the following line into the php5.ini
php_flag short_open_tag on
Step 9. Go to the site and begin installation. It usually errors on the first page but press F5 and it will continue.
Step 10. You will need to skip domain authentication and turn on SEO friendly URL rewriting in the wizard on the page where you enter the mySQL information
Step 11. Log in to the back end.
Step 12. Now download this file which will re-set the permissions for your back office which fixes a lot of issues people have
Step 13. the end (or beginning as the case may be).
Thanks to SolarPolar and Pixel


Thanks for the walk-through. It worked fine for me!
Thanks Rob, If you can figure out how to make a site multi lingual and multi currency then please let me know as thats my next task.
Not sure if this helps, it comes from a comment in Theme Forest
—
1. Install Magento and install the template using the installation instructions included in the zip.
2. Create a new “Store View” pointing to the same theme but using the French Locale (which is available for free).
You will end up with exactly what you are looking for (you’ll have a drop down for “English” and “French” – just make sure to name your store views “English” and “French”).
i am also on heartinternet the first time i tried to install i got to the set up stage ( following the steps in the offical manual!) and then for some reason it started looping not allowing me access to the setup wizard.
I’m going to try these steps ( waiting to delete old files and uploading) but i have a couple of questions ( i’m a newbie to php and magento, but have an it background)
step 5 are all file permission set to 755 except for /var /app & /media which should be set to 777
step 11 do you mean log into the magento backend or the mysql backend?
Rakesh. all the files and folders under 777 shoukld be set to 777, and all under 755 should be 755.
and log into the magento back end.
thanks mark!
Got it working, this little tutorial is fantastic and i appreciate you putting this up. A pity that’s not on heart internets own knowledgebase.
Mistakes were in own my making, I set permission to act recursively filtering through folders, when for example for the media folder, all i had to do was change permission on that foler and its 3 sub folders.
got to step 9 and refreshing on f5 does work and allows you to go through. as a step 9.5 it should be noted that heart prefixes your user name and database, I was stuck for a moment and though i had messed up the install or that heart had messed up the create temp table. but the username and database name are the same.
Thanks again!
no worries, thanks for adding in about the database naming thing i missed that :)
Just a quick note on step 1, I have found that uploading the files as a zip then going to the control panel file manager and unzipping saves heaps of time; literally took 5 mins for the whole magento folder.
Ok – I’ve followed these instructions – application is hosted on Heart Internet and I’m still getting Internal Server Error messages – when I log in to the admin and sometimes when I press the Proceed to checkout button on the front end – as you can imaging quite an issue.
Any idea what might be causing these errors?
Just so you know – I’ve already tried permissions and :
RLimitMem 128000000 128000000,
and :
ProcessLifeTime 7200
IPCCommTimeout 7200
IPCConnectTimeout 300
and unfortunately nothing helps.
try running the permissions script again… it kind of sets things straight
Thanks Mark,
I’ve spoken to Heart Internet and they’ve increased the memory limit on the server – since then it seem to work fine. I did however do all this using htaccess – but as you can see it doesn’t always work!
Hi Mark,
For anyone reading this having trouble getting this to work I tried changing step 5 and setting all the 777 permissions to 755 instead, for some reason this allowed me to get past the very first installation page without an ‘Internal Server Error’
Sorry to post twice! Also, (I’m not recommending you do this) but if you are really desperate (like I was!) and you don’t have admin rights to speak to Heart and tell them to allow ‘CREATE TEMP TABLE’ permissions on the database (in Step 3) you can do this: http://www.magentocommerce.com/boards/viewthread/77582/P15/#t227176 (post 3 by shape.drop)
Email update by Richard at http://www.brillcreative.co.uk
He suggests changing ‘CREATE TEMPORARY TABLE’ to CREATE TABLE and ‘DROP TEMPORARY TABLE’ to ‘DROP TABLE’ in app/code/core/Mage/Sales/sql/sales_setup/mysql4-upgrade-0.9.51-0.9.52.php but I did a find and replace and it changed it in 3 other sql update files.
This is highly un-recommended but helped me out of a desperate last minute situation!
Hope this helps someone.
Hi Mark, I have been trying to use this to do a Magento install on HI but after the database info input page I keep getting THERE HAS BEEN AN ERROR PROCESSING YOUR REQUEST.
Any ideas? – help would be much appreciated – obviously!
How are you finding the performance of magento on heart internet? looking to install it myself however, they really recommend that you use a dedicated server (obviously)
Any feedback would be awesome,
Thanks,
G.
it drags on shared hosts
Worked like a dream been pulling my hair out with this, especially the base URL validation.
Cheers !
Wayne
This is a very helpful tutorial of how to set up magento. One thing that might make it a bit easier to set up magento is if you have some images to go along with the instructions. It is great to be able to check that your doing the right things by looking at your screen compared to the images. Otherwise great tutorial to follow.