Page 1 of 1

Two Apps; One Xataface

PostPosted: Sun Apr 01, 2012 3:12 pm
by gbyerly
I have an app installed on a web server in a domain subdirectory. It runs by addressing the root directory / subdirectory, i.e., http://www.domain.com/app1. I have a 2nd app which is meant to be a copy of the first with its own database and associated tables. I copied the existing database (structure only) and renamed it. I copied the app1subdirectory and called it app2. I searched for all occurrences of the database name in the app2 subdirectory and replaced them with the second database name with its associated credentials.

When i run the second app at http://www.domain.com/app2, it displays the data from the app1 database.

Any ideas?

Re: Two Apps; One Xataface

PostPosted: Mon Apr 02, 2012 9:38 am
by shannah
Whatever database specified in the conf.ini file is the one that it will use.

Re: Two Apps; One Xataface

PostPosted: Mon Apr 02, 2012 10:33 am
by gbyerly
Steve,

You are referring to the conf.ini in the app1 or app2 folder, rather than the one in the xataface folder, correct? If so, the database credentials have been changed in the app2 folder to reflect the new database I created. Any other ideas?

Re: Two Apps; One Xataface

PostPosted: Mon Apr 02, 2012 10:48 am
by gbyerly
Steve,

I fixed the problem. It was an error on my part in the calling URL.

Glenn