cancel
Showing results for 
Search instead for 
Did you mean: 

Api Problem After create a multistore in 1.9.2.2.

Api Problem After create a multistore in 1.9.2.2.

I've created a multistore in 1.9.2.2 and the only way to get it run is to modify the Index.php as Follow:

switch($_SERVER['HTTP_HOST']) { case 'domain1.de': $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : 'shopcode'; $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'website'; break; case 'domain2.de': $mageRunCode = isset($_SERVER['MAGE_RUN_CODE']) ? $_SERVER['MAGE_RUN_CODE'] : neueshopcode´; $mageRunType = isset($_SERVER['MAGE_RUN_TYPE']) ? $_SERVER['MAGE_RUN_TYPE'] : 'website'; break; }

Thats Great but - a Tool which i Need to work has no Connection to the store After i modified the file.

If i Check my URL http://Website.de/index.php/api/xmlrpc

It shows the following Error:

630

faultString

Unable to read request

Can anyone help me?