Two Apps; One Xataface
Archived from the Xataface Users forum.
gbyerly — Sun Apr 01, 2012 3:12 pm
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?
shannah — Mon Apr 02, 2012 9:38 am
Whatever database specified in the conf.ini file is the one that it will use.
gbyerly — Mon Apr 02, 2012 10:33 am
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?
gbyerly — Mon Apr 02, 2012 10:48 am
Steve,
I fixed the problem. It was an error on my part in the calling URL.
Glenn