farcrycore / core

FarCry Core: a web app framework for the ColdFusion language (supporting Lucee & Adobe ColdFusion engines). An ideal platform for building bespoke or tailor made solutions.

Home Page:http://www.farcrycore.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FarCry 7 Installation error

asimakos opened this issue · comments

Hello!
I have downloaded and tried to install FarCry 7 (latest version - chelsea theme) according to Installation Guide. I have used Lucee Server 5.2.9 via Commandbox environment and MySQL 5.6.
At the end of my installation (password not mentioned), i get the appropriate successful message

farcry4
but afterwards when i try to visit both login and view site links, i receive the following screenshots:

farcry7

farcry8

Any idea that could help me?

Regards

For some reason the "farcryConstructor.cfm" has a section of code that shouldn't be there, the "developer specific constructor" block near the end of the file that has an if statement and an include.

You should be able to edit the file and remove those few lines of code, like the removed lines in this commit;

farcrycore/project-chelsea@bb5cc04#diff-c84d93a7b5afb230c6933321454386a4da437741b93195645deece4d8bf7eb31

If you make that change it should resolve the problem.

Thanks for your reply!

I followed your instructions carefully! Unfortunately i have got a slight issue with View site, Login looks good.

app1

app2

Any idea that could help me? By the way if i want to update the app, i append in the url ?updateapp=[hello], where hello is the key and what is the difference with updateall.

Regards

If you try adding ?debug=1 to the URL the 404 page will know that you're running locally and give you some more details.

I'm guessing there might be an issue with the default site tree for some reason. If you can log in to the Webtop, go to the Site tab and see if you can preview the home page from there. If it's in Draft mode then it would need to be Approved before it's visible to anonymous users.

I append ?debug=1 to the URL and i receive the following

page1

in Webtop, Site Tab everything is approved and still 404 page
page2

For your convenience, i could email you the project if there is no problem.

Regards

Sounds like you need to run the Fix RefObjects utility the webtop admin.

Ok, I think I know the issue. The installer is supposed to trigger a process that populates the "refobjects" table, but it didn't run because of the first error you got that was blocking application startup.

If you log in to the Webtop and go to the Admin tab, Developer Tools, then Fix Refobjects, you should be able to fix missing refobjects with that tool (I think the default checked items is enough).

In my Webtop screen, i click this menu item and everything will be fine(?)

repair

and afterwards i navigate to the following screen, where the default check items is enough or need to check more)

repair2

and voila...

final

Thanks a lot for your assistance!!!

Excellent, glad you got it working :)