Magento Community 1.9 Fresh Installation Problems and Solutions
Many of us are trying to get hands-on the new Magento 1.9 Community Edition. IT Managers of different organizations have a future plan to upgrade their existing Magento Community website to this newest version. In this blog article, you will get to know about some common Magento Community 1.9 Installation Problems and their Solutions. We hope that this will be useful to the people who are trying this new version in their local host.

Fatal error: Uncaught exception ‘Mage_Core_ Exception’ with message ‘Unable to find writable var_dir’

Got this error message after uploading Magento to the root directory and attempting to access the /magento/install URL.

Fatal error: Uncaught exception ‘ Mage_Core_Exception ’ with message ‘Unable to find writable var_dir’ in /home/lecpins/public_html/magento /app/code/core/Mage/Core/Model /Config/Options.php:96 Stack trace: #0 /home/lecpins/public_html/magento /app/code/core/Mage/Core/Model /Config/Options.php(33): Mage_Core_Model_Config_Options-> getVarDir() #1 /home/lecpins/public_html/magento /app/Mage.php(182): Mage_Core_Model_Config_Options-> getDir(’var’) #2 /home/lecpins/public_html/magento /app/Mage.php(563): Mage::getBaseDir(’var’) #3 /home/lecpins/public_html/magento /app/Mage.php(452): Mage::printException(Object (Mage_Core_Exception), ‘Unable to find …’) #4 /home/lecpins/public_html/magento /index.php(40): Mage::run() #5 {main} thrown in /home/lecpins/public_html/magento /app/code/core/Mage/Core/Model/ Config/Options.php on line 96

The steps took to get here was to upload the entire unzipped magento directory and change the file permissions for magento /var/.htaccess, the directories magento /app/etc, magento/var, and all the directories under magento/media to 777.


  • Please make sure that you have sufficient disc space and that you have uploaded all magento-downloader files before starting the install wizard.
  • Upload magento files into the root directory instead of /magento/

Configuration stage of the install wizard error

Path “/home/lecpins/public_html/var/ session/ sess_74bf001e915ada2c7ae72d2d7af 24d3d ” must be writable 


 Get pass this point by making your var directory writable (777)

Problem with reindexing after installation

Tried to reindex product prices in system/index management and got an error. Everything else is reindexed normally!

Invalid backend model specified: catalog/ product_attribute_ backend_startdate_specialprice


Possibly this error was raised because of some missing information in the Sample Data. If you are using any sample database of the previous Magento version, avoid that. Add your own Test Data and then start the reindexing.

Can’t Install Magento on LAMP dedicated server

Currently running the latest LAMP stack, (Ubuntu Server, Nginx, Mysql, PHP) on a dedicated server, but when I access the it either gives me 502 bad gateway error or when I access it directly by connecting to the network through the router, (direct connect) it just says welcome to Nginx and does not show the Magento installer.


Check in nginx vhost settings, you need to add /magento/ in “location” paths,

  • location /app/ -> location /magento/app/
  • Add in all paths
  • or copy the magento folder to the website’s root


Fresh install of Magento 1.9, doesn’t work

Installed Magento in XAMPP Local Server, certain features throw the error that “there has been an error processing your request”, and when I click to view the error log it’s like I don’t have the permissions to access the error log.


It definitely sounds like a permissions issue.

Follow this guide to get them set correctly.

http: // /wiki/groups/227/ resetting_file_permissions

Error while trying to install extensions through Magento Connect Manager

  • I manage to install magento 1.9 with multi store, i.e.:

  • Everything works fine, except : I couldn’t install extension anymore using “magento connect manager\”
  • I can login to magento connect manager, but every step that i did, it always show the login form again. Even if I tried to enter the correct login account, the connect manager not responding.


  • Clear Magento Cache
  • Clear Browser Cache
  • Login to Magento Admin and now connect to Magento Connect Manager

Stuck at Database Connection Screen while installing Magento 1.9

I am trying to install the latest version of Magento (using the downloader). I am stuck on the database connection screen. I am asked for the database details but when I click continue I am returned to the same screen but my database settings are replaced by the Magento default database details.


This is because the latest version verifies whether your MySQL supports the InnoDB version. If you are using xampp, edit the xampp\mysql\bin\my.conf file and:

  • Comment the below line (see the # in the beginning):
  • Uncomment (remove #) the folowing lines:
    innodb_data_home_dir = “C:/xampp/mysql/data/”
    innodb_data_file_path = ibdata1:10M:autoextend
    innodb_log_group_home_dir = “C:/xampp/mysql/data/”
    innodb_log_arch_dir = “C:/xampp/mysql/data/”
    ## You can set .._buffer_pool_size up to 50 – 80 %
    ## of RAM but beware of setting memory usage too high
    innodb_buffer_pool_size = 50M
    innodb_additional_mem_pool_ size = 10M
    ## Set .._log_file_size to 25 % of buffer pool size
    innodb_log_file_size = 5M
    innodb_log_buffer_size = 8M
    innodb_flush_log_at_trx_ commit = 1
    innodb_lock_wait_timeout = 50


You may also like:
Magento 2.0 Advanced Pricing
How to Maintain Multi-Warehouse Stock in Magento?
Top ERP Packages to Integrate with Magento