Duping Live site to Beta site

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Duping Live site to Beta site

Post by WylieE » Tue Sep 14, 2010 10:28 am

Hello all,

We are setting up a beta site to mirror our live site. Our live site servers are co-located offsite and we have a management company maintaining the servers. They duplicated all of the site & db content for us. We now have beta.warmoth.com and www.warmoth.com. We've purchased an extra development license for the beta site as we also have an internal development server for the dirty work.

So... our beta site is resolving over to the live site. Our management company indicates the sites and app pools are properly configured, so we are looking at the AC configuration settings. Obviously, we cannot log in to the beta site to make server changes. I can change the Store_StoreURL in the ac_StoreSettings table, but I'm not sure where/how to change the license. How can we change this? Also, are there any other settings I need to change?

Thanks! We're eager to get this beta site set up.

-Eric.
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

plugables
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Sat Aug 15, 2009 4:04 am
Contact:

Re: Duping Live site to Beta site

Post by plugables » Wed Sep 15, 2010 9:20 am

What you can do is to edit App_Data/ablecommerce.config file in your beta store and add demoMode="true" to application attributes.

Change this

Code: Select all

<application connectionStringName="" maintenanceInterval="360" viewStateWarning="0" readOnlyInstance="false" checkoutRetries="100">
To This

Code: Select all

<application connectionStringName="" maintenanceInterval="360" viewStateWarning="0" readOnlyInstance="false" checkoutRetries="100" demoMode="true">
Once you have done this you will be able to access your beta store at beta.warmoth.com without AC redirecting you to the live store.

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Duping Live site to Beta site

Post by WylieE » Wed Sep 15, 2010 10:38 am

We've made some progress since yesterday afternoon.

Our host managed to break the site by trying to update our commercebuilder.lic. This turned out to be somewhat good as it allowed us to enter the correct license for beta.warmoth.com. The site comes up now.

*However*, we can log in but cannot access the admin page or customer account. Both pages return an error. I've been looking through the server event logs to try and see what the error is, but have not seen anything in the logs. We have a self signed SSL cert on the site. I doubt this has anything to do with it as we use the same setup on our internal development server.

Has anyone encountered this? A trust issue or something else?

Thanks,
Eric.
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

plugables
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Sat Aug 15, 2009 4:04 am
Contact:

Re: Duping Live site to Beta site

Post by plugables » Wed Sep 15, 2010 10:58 am

It may be a problem with your SSL settings

Try this

In ablecommerce.config file

change

Code: Select all

<securePages enabled="true" ignoreHandlers="WithStandardExtensions">
to

Code: Select all

<securePages enabled="false" ignoreHandlers="WithStandardExtensions">
and try to access the store admin

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Duping Live site to Beta site

Post by WylieE » Wed Sep 15, 2010 11:45 am

Tried that and get an error 500: Internal server error.

I've been wondering about trust policies and have been reading the installation docs. I'm unclear if this could be impacting anything or is only key during installation.

Argh!
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
heinscott
Captain (CAPT)
Captain (CAPT)
Posts: 375
Joined: Thu May 01, 2008 12:37 pm

Re: Duping Live site to Beta site

Post by heinscott » Wed Sep 15, 2010 11:50 am

On your beta site, have you tried modifying the storesettings table directly? On my local side, I always have to change the value:
SSLEnabled to false before it will run. Make sure you also reset the app pool after you've made the change.

Scott

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Duping Live site to Beta site

Post by WylieE » Wed Sep 15, 2010 11:56 am

heinscott wrote:On your beta site, have you tried modifying the storesettings table directly? On my local side, I always have to change the value:
SSLEnabled to false before it will run. Make sure you also reset the app pool after you've made the change.

Scott
I had tried that separately with no success. Just tried that in conjunction with the securePages enabled="false" in the ablecommerce.config file and still cannot get it to work. Very odd.
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

plugables
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Sat Aug 15, 2009 4:04 am
Contact:

Re: Duping Live site to Beta site

Post by plugables » Thu Sep 16, 2010 6:22 am

Can you get the details of the error that you are getting? Internal server error ... it must be logging the details somewhere.

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Duping Live site to Beta site

Post by WylieE » Tue Sep 21, 2010 5:39 pm

Found the problem.

The app pool was set to use integrated pipeline mode. Apparently AC makes some legacy calls that do not support that mode. Switched to classic mode.

Thanks everyone!
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Duping Live site to Beta site

Post by jmestep » Wed Sep 22, 2010 6:49 am

What build of Able are you on? The newer builds can use integrated pipeline. The only site with a newer build that we have had trouble with had their Able 5 cold fusion site running on the same server until they switched over. We had to set that one to classic.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Duping Live site to Beta site

Post by WylieE » Wed Sep 22, 2010 9:53 am

Hi Judy,

Our beta site is running 7.0.4.
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Duping Live site to Beta site

Post by jmestep » Thu Sep 23, 2010 7:25 am

That's strange. All of our 7.0.4 sites are running integrated except the one that has ColdFusion on the same server.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
WylieE
Captain (CAPT)
Captain (CAPT)
Posts: 281
Joined: Tue Mar 25, 2008 8:26 am
Location: Puyallup, WA
Contact:

Re: Duping Live site to Beta site

Post by WylieE » Thu Sep 23, 2010 10:29 am

jmestep wrote:That's strange. All of our 7.0.4 sites are running integrated except the one that has ColdFusion on the same server.

Ah!! We have some CF leftovers on the same server from a previous eStore ap. That could be the culprit!
Eric Wylie
Warmoth Guitar Products, Inc.
http://www.warmoth.com

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Duping Live site to Beta site

Post by jmestep » Fri Sep 24, 2010 6:56 am

When we first had the problem we couldn't figure out what was going on. Then I vaguely remembered something in the past about ColdFusion on the server so on a hunch we changed the site to classic mode and it worked. I never could find the post on the forum that I thought I had seen.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

Post Reply