I'm trying to move my Magento store from local to web server. But I run into a problem:
The install wizzard pops out, I can't figure out why.
What I tryed till now:
- Double checked the database settings - OK.
Mage.phpexists in app folder.- Deleted files from
/varfolder - left only the folder's. - UPDATE: Changed permisions to
777- Problem remains...
Thank you guys.
here is the content of local.xml, maybe there is a problem? I've changed the Host, user, pass and db.
<config>
<global>
<install>
<date><![CDATA[Wed, 08 May 2013 17:08:50 +0000]]></date>
</install>
<crypt>
<key><![CDATA[e90bf233553fe3516b20edc85438eb3d]]></key>
</crypt>
<disable_local_modules>false</disable_local_modules>
<resources>
<db>
<table_prefix><![CDATA[]]></table_prefix>
</db>
<default_setup>
<connection>
<host><![CDATA[127.0.0.1]]></host>
<username><![CDATA[root]]></username>
<password><![CDATA[]]></password>
<dbname><![CDATA[todoiphonestore]></dbname>
<initStatements><![CDATA[SET NAMES utf8]]></initStatements>
<model><![CDATA[mysql4]]></model>
<type><![CDATA[pdo_mysql]]></type>
<pdoType><![CDATA[]]></pdoType>
<active>1</active>
</connection>
</default_setup>
</resources>
<session_save><![CDATA[files]]></session_save>
</global>
<admin>
<routers>
<adminhtml>
<args>
<frontName><![CDATA[admin]]></frontName>
</args>
</adminhtml>
</routers>
</admin>
Update and solution:
If you'll take a closer look to the local.xml I've pasted you'll see my mistake, I was mising one of the ] sign's in <dbname> so Magento couln't connect to the database... When I added this symbol, everything became normal. Well, few more minor issues, but the main problem was solved.
app/etc/local.xmlfiles exist and have reading permissions for the user under which the web server is running?Mage.phpin the right placeMage.phpin/appfolder.