two interspire shopping cart in the same web hosting account

Modules, Add-ons and custom code that's more than just a quick hack or Mod.
erik216
Posts: 5
Joined: Tue Nov 03, 2009 5:03 am

two interspire shopping cart in the same web hosting account

Post by erik216 »

I want to use two interspire shopping cart in the same web hosting account.
One use for current online sell use.
One use for testing for myself.

The shopping cart which current online sell use
locate in root directory.

The shopping cart which testing for myself
locate in a folder called newsite

But I don't know why my testing shopping cart also loaded root directory file?
Such as that load root directory /lib/init.php
But I expect system will load /newsite/lib/init.php
Why do occur this problem.
And how to solve.
Because if I cannot separate two shopping cart setting. I cannot finish of my project.
Thank for your help!
Tony Barnes
Posts: 744
Joined: Thu Jun 18, 2009 8:59 am

Re: two interspire shopping cart in the same web hosting account

Post by Tony Barnes »

I take it you have a development license for the "newsite" - if so just stick everything in there, copy the database so that you can work with that, and amend settings in the config file to show /newsite/ - that's all. I did this for out 5.5.2 install, worked a treat
meules
Confirmed
Confirmed
Posts: 95
Joined: Wed Jun 17, 2009 8:56 pm
Location: NL

Re: two interspire shopping cart in the same web hosting account

Post by meules »

I've had 2 copies running under the same hosting account aswell. One for testing and one for selling. This always worked without exception. After a while I deleted the old 'test cart' and re-uploaded a new one (a new version 5.5.4 and I did this before in the same way). Since then I can't install the 'new testcart' anymore. I keep getting internal 500 errors :x when I try to install the cart.

Does anyone have any clue on how to fix this? I do have an test account with ISC.

Thanks for your help.
ISC v6
Tony Barnes
Posts: 744
Joined: Thu Jun 18, 2009 8:59 am

Re: two interspire shopping cart in the same web hosting account

Post by Tony Barnes »

Have you gone in and edited the config files to reflect the different home directory?
meules
Confirmed
Confirmed
Posts: 95
Joined: Wed Jun 17, 2009 8:56 pm
Location: NL

Re: two interspire shopping cart in the same web hosting account

Post by meules »

Tony,

I assume you meant the files in the /config/ map? What exactely do I have to change then? I tried several things but I still get the 500 error.

Any help?
ISC v6
Tony Barnes
Posts: 744
Joined: Thu Jun 18, 2009 8:59 am

Re: two interspire shopping cart in the same web hosting account

Post by Tony Barnes »

Just making sure that the store location is http://www.mystore.com and not something like http://www.mystore.com/teststore in config/config.php
meules
Confirmed
Confirmed
Posts: 95
Joined: Wed Jun 17, 2009 8:56 pm
Location: NL

Re: two interspire shopping cart in the same web hosting account

Post by meules »

Tony,

Thanks for your reply.... Can you be more specific in the way I have to alter the config file?? My test store is at www.mystore.com/dev and my live store is at www.mystore.com. Does this have something to do with it? Now i'm in a position where neither my host nor ISC have a clue where the fault could be!!?

Do you have any thoughts on this?

Anyway thanks for your reply
ISC v6
Tony Barnes
Posts: 744
Joined: Thu Jun 18, 2009 8:59 am

Re: two interspire shopping cart in the same web hosting account

Post by Tony Barnes »

In config/config.php ~line 30, your existing site should be:
$GLOBALS['ISC_CFG']["ShopPath"] = 'http://www.mystore.com';
and the test site should be
$GLOBALS['ISC_CFG']["ShopPath"] = 'http://www.mystore.com/dev';
I'd be shocked if ISC couldn't help you with this though - so I guess it is already set correctly?
meules
Confirmed
Confirmed
Posts: 95
Joined: Wed Jun 17, 2009 8:56 pm
Location: NL

Re: two interspire shopping cart in the same web hosting account

Post by meules »

Tony,

Thanks again for your reply. I tried that before but that didn't help :( ISC said that some settings in the .htaccess were wrong. Tried that but that also didn't work. My host says all the settings are correct etc. So I'm back to the beginning. I'll open a new ticket, but I doubt that will help. Maybe you have another suggestion?

Anyway thanks for your help so far
ISC v6
Tony Barnes
Posts: 744
Joined: Thu Jun 18, 2009 8:59 am

Re: two interspire shopping cart in the same web hosting account

Post by Tony Barnes »

Sorry, it's at the "poke it with a stick" stage for me!
Post Reply