Two Apps; One Xataface

A place for users and developers of the Xataface to discuss and receive support.

Two Apps; One Xataface

Postby 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?
gbyerly
 
Posts: 21
Joined: Sun Apr 03, 2011 7:12 pm

Re: Two Apps; One Xataface

Postby shannah » Mon Apr 02, 2012 9:38 am

Whatever database specified in the conf.ini file is the one that it will use.
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

Re: Two Apps; One Xataface

Postby 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
 
Posts: 21
Joined: Sun Apr 03, 2011 7:12 pm

Re: Two Apps; One Xataface

Postby 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
gbyerly
 
Posts: 21
Joined: Sun Apr 03, 2011 7:12 pm


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 6 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved