Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

multiple domains, different stores with one install and connected to the same database
 
Allysin
Sr. Member
 
Avatar
Total Posts:  215
Joined:  2008-04-03
 

Hi,

I’ve tried to set up a second domain with a second store but I get the following Error:

app/Mage.php was not found

my index.php has:

$mageFilename = ‘app/Mage.php’;

require_once ‘/home/orchid/public_html/’;

and

umask(0);
Mage::run(’gardens’, ‘website’);

Can someone please tell me what’s wrong? I contacted the hosting provider (we have several domains on a shared hosting plan) and they said:

Hello,

Everything under the orchid account is under:

/home/orchid

so the full filesystem path is going to be relative to that. If, in FTP you see
public_html/somedirectory it’ll be:

/home/orchid/public_html/somedirectory

I would like to mention that Magento is installed in the root directory on the server (public_html).

Thank you so much for any help you can give me,

Love kiss

Allysin

 
Magento Community Magento Community
Magento Community
Magento Community
 
inthewoods
Sr. Member
 
Avatar
Total Posts:  103
Joined:  2008-07-11
Carson, Wa.
 

change “app/Mage.php” to the absolute server path of the magento install. Example: “/home/orchid/public_html/magento/app/Mage.php”

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top