Install Woe, Help Please

34 views
Skip to first unread message

John Farrar

unread,
Sep 24, 2013, 12:58:19 PM9/24/13
to getx...@googlegroups.com
I have this public facing at the moment.


Does it not rebuild if the site is not based on localhost per the wiki docs?

Simon Bingham

unread,
Sep 25, 2013, 6:41:13 AM9/25/13
to getx...@googlegroups.com
The rebuild will only work if the IsLocalhost method returns true which I guess it isn't in your case. You can see how this works by reviewing lines 9 and 32 in the Application.cfc file (https://github.com/simonbingham/xindi/blob/master/Application.cfc). Hope this helps.

John Farrar

unread,
Sep 25, 2013, 10:40:24 AM9/25/13
to getx...@googlegroups.com
So when we deploy this remotely to shared hosting where we don't have localhost access has anyone gotten this running?

John Whish

unread,
Sep 25, 2013, 11:27:58 AM9/25/13
to getx...@googlegroups.com
Hi John,

It will run fine on a shared hosting environment. You can either edit line 32 in Application.cfc to:

if( !isNull( url.rebuild ) ){

or, run the application on your local dev environment and export the database via a MySQL dump and run it in whatever your host provides (something like phpMyAdmin I'd guess)

Leaving the url.rebuild trigger in there on your shared hosting without the test for a local dev environment would mean that anyone who knew Xindi could wipe out your production database, so I'd advise against it. All the "rebuild" does is to create the database tables and populate it with some test data.

Kind Regards,

John


--
You received this message because you are subscribed to the Google Groups "Xindi CMS CFML" group.
To unsubscribe from this group and stop receiving emails from it, send an email to getxindi+u...@googlegroups.com.
To post to this group, send an email to getx...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/getxindi/b5f02f33-9158-4291-bba1-5e30e492e53e%40googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages