Topic-icon Issue between localhost/dev/beta and live website

Active Subscriptions:

None
10 years 10 months ago #34485 by davfis
I have three aspects to the website I'm working on:
  • development (locally on my computer as localhost and mapped to dev.whatsyourtone.com)
  • beta (on the server as beta.whatsyourtone.com)
  • live (on the server as www.whatsyourtone.com)

While I am developing this website, I am backing up and restoring the development dev.whatsyourtone.com site (Joomla! database + all site directories) and then restoring these to beta.whatsyourtone.com, excluding certain tables such as Joomla! user table and others that I do not want to overwrite. Once I am ready to go live, I will then restore this backup to the live site at www.whatsyourtone.com.

But.... I am not sure how well this practice is working with JBFConnect... I see several errors when I try to Autotune, and they all seem to be related to this issue of having different site URLs for each system -- dev/beta/live.

For example, I have the following errors and I am concerned that there is going to be some "gotcha" along the way I am not aware of:

File Attachment:


File Attachment:


File Attachment:


Do you have any suggestions of what I can do, or is this not going to be a problem having different URLs in the above settings that do not match the originating system (i.e., everything starts on my development system at dev.whatsyourtone.com)?
The topic has been locked.
Support Specialist
10 years 10 months ago #34505 by alzander
One thing you can do is get JFBConnect configured how you want and move those changes as you already are to beta and then www. Run Autotune on each of the sites to get the 'right' values for Autotune. Then, just don't copy the #__jfbconnect_config table to the new site(s).

If you are still tweaking JFBConnect a lot, you can make the following changes to the Autotune values or your Facebook App:
Domains: whatsyourtune.com (just leave off the subdomain of dev, beta, or www entirely)
Site URL: www.whatsyourtune.com
With those settings, Facebook authentication should work on all of your sites. The issues you may run into (if you don't want to re-run and configure Autotune each time you move)

The De-Authorization Callback URL is the only one you could have some minor issues with. That URL is 'pinged' by Facebook whenever a user de-authorizes (uninstalls) your app. All JFBConnect does with that right now is lets you know in the Usermap area all the users that have done that (they still have accounts on your site). If Facebook is pinging the wrong URL (dev or beta), then that feature won't work. So, you can either re-run Autotune on the Live site, or just live without seeing who uninstalled the app.

I hope that helps explain, but if not, or you have any questions or are seeing real issues, just let me know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
10 years 9 months ago #34624 by davfis
Great suggestions. Thanks, Alex. I'll implement them as you describe.
The topic has been locked.
Support Specialist
10 years 9 months ago #34636 by alzander
Sounds good. Of course, if you do run into any issues, just let us know.

Thanks,
Alex
The topic has been locked.