Need a little help

Ask for help or introduce yourself to the community here. This is also an academy for new players/members.
Post Reply
BertJan
Newbie
Posts: 2
Joined: Sun Oct 30, 2005 11:04 pm

Post by BertJan »

Hello everyone!

I've got a problem when I try to run FAF on my server.
All the files are copied and I change the settings in mijn config.php file.

The database setting and the sitedir/gamenews...(Need I change more?)

But when I'm start the game, I get a blank screen with:

Fatal error: Smarty error: the $compile_dir './templates_c/' does not exist, or is not a directory. in c:\domains\mysteries.sohosted.nl\wwwroot\faf\smarty\Smarty.class.php on line 1144

Can anyone tell me what I've done wrong? :unsure:
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

Argh. You've got a windows server, whereas most of us are used to working with *nix.

However...

Try creating a "templates_c" directory and change the permissions to unviersal read/write/execute access. On a *nix system, this would mean chmoding to 777, but I'm not sure how to do that on a Windows server.
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

Ok, after doing a websearch, there is nothing like CHMOD for Windows. If you have full access to your server, you'll need to create the templates_c directory and set it to write access. If you do not have full access to your webserver, you will need to call up tech support for your webhost and ask them to set that directory to write permissions.

The best solution is to use Linux/Unix hosting if available. While Frost And Flame is purposely designed to be portable (you need to make sure you're using FAF 2.0, though).
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

You're probably going to want to download the source again from here, though:

http://faf.staronesw.com/faf.zip

That is the stable source, but with some bugfixes (mostly minor, but I think there is a significant one in there). I updated the zip today, so the recent source is there. It is identical to what we run, so don't worry about instability.
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
BertJan
Newbie
Posts: 2
Joined: Sun Oct 30, 2005 11:04 pm

Post by BertJan »

Thank you very much for the answers.

I'll try it all! :)

User avatar
The Beatles
Fear me for I am root
Posts: 6285
Joined: Tue May 24, 2005 8:12 pm

Post by The Beatles »

Righto!

BTW, are you from the U.S., or not?
:wq
User avatar
Devari
Mr. -1
Posts: 3194
Joined: Wed Mar 10, 2004 5:02 am
Location: British Columbia, Canada

Post by Devari »

No problem! :D

I have a feeling he's from the Netherlands. Pretty cool. :)
If you go down to the woods today, you better not go alone
It's a lovely day in the woods today, but safer to stay at home
BECAUSE EVIL FREEN IS KILLING ALL THE TEDDY BEARS AT THEIR PICNIC
Post Reply
  • Members connected in real time

    🔒 Close the panel of connected members