Posts: 5
Threads: 1
Joined: Jun 2012
Reputation:
0
Hello.
I want to set up a stand alone website for Form Tools and install the files into the root of the website instead of a subfolder - ../formtools. I have problems when I try this. It works if I put it in the default subfolder but not when I install files into root of website. I am on a Windows server and I do not have permission issues. Thanks for your help.
Posts: 143
Threads: 19
Joined: Dec 2010
Reputation:
5
While I haven't tried that (or remember hearing about anyone trying that), it seems like it should work without a hitch. What problems exactly, are you having?
Not a FT employee, just a FT user lending a hand. If I've been helpful, please rate.
Posts: 5
Threads: 1
Joined: Jun 2012
Reputation:
0
Jun 7th, 2012, 11:25 AM
(This post was last modified: Jun 7th, 2012, 11:28 AM by seph.)
It gives an error that seems to be common for people. Let me premise this by saying I really don't think it is a permissions issue. This is my server and for the sake of testing and set up I have given the "Everyone" group read & write permissions on all folders in this site. I think the problem has to do with the root directory value. This is the error when I do not have the files in a subfolder (/formtools). As I mentioned, I don't get this error when I put the files in a subfolder using the same permissions across the board.
Either the theme cache folder doesn't have write-permissions, or your $g_root_dir value is invalid. Please update the /themes//cache to have full read-write permissions
(Jun 7th, 2012, 11:12 AM)michatmaster7 Wrote: While I haven't tried that (or remember hearing about anyone trying that), it seems like it should work without a hitch. What problems exactly, are you having?
Posts: 143
Threads: 19
Joined: Dec 2010
Reputation:
5
Jun 7th, 2012, 11:50 AM
(This post was last modified: Jun 7th, 2012, 11:50 AM by michatmaster7.)
You need to update the \global\config.php file with the appropriate information. I hope that helps! It probably got confused when you tried to put the installation at the root.
PS - the config.php file I mentioned is one of very few that NEVER get overwritten during updates. Ben leaves that file alone, so you don't have to keep changing it.
Not a FT employee, just a FT user lending a hand. If I've been helpful, please rate.
Posts: 5
Threads: 1
Joined: Jun 2012
Reputation:
0
Jun 7th, 2012, 12:06 PM
(This post was last modified: Jun 7th, 2012, 12:06 PM by seph.)
No such file in that folder. I am using the newest version. I just downloaded again, unzipped and there is no file by that name in the "global" folder.
Maybe it's been moved or renamed?
(Jun 7th, 2012, 11:50 AM)michatmaster7 Wrote: You need to update the \global\config.php file with the appropriate information. I hope that helps! It probably got confused when you tried to put the installation at the root.
PS - the config.php file I mentioned is one of very few that NEVER get overwritten during updates. Ben leaves that file alone, so you don't have to keep changing it.
Posts: 143
Threads: 19
Joined: Dec 2010
Reputation:
5
Jun 7th, 2012, 12:11 PM
(This post was last modified: Jun 7th, 2012, 12:18 PM by michatmaster7.)
Um.....
Ah ha, here's more info about it: http://docs.formtools.org/userdoc2_1/?page=config_file
(Jun 7th, 2012, 11:25 AM)seph Wrote: Either the theme cache folder doesn't have write-permissions, or your $g_root_dir value is invalid. Please update the /themes//cache to have full read-write permissions
Are you using a Windows Server? Something about that error message doesn't settle well. Why are there two backslashes there? Was that you mistyping it or??
Not a FT employee, just a FT user lending a hand. If I've been helpful, please rate.
Posts: 5
Threads: 1
Joined: Jun 2012
Reputation:
0
Jun 7th, 2012, 12:29 PM
(This post was last modified: Jun 7th, 2012, 12:33 PM by seph.)
Awesome! Thanks! I started the setup process so that it would create the config.php file, I then moved all of the files into the root of the website and made changes to the config.php file to show updated paths for root of website. 5 Stars for you!
Also, to answer the add-on questions... Yes I am using a Windows server and no, there were no typos. Here is what my config file looks like with updated (but privacy adjusted) paths...
$g_root_url = "http://forms.com";
$g_root_dir = "C:\\wwwroot\\forms.com\\";
(Jun 7th, 2012, 12:11 PM)michatmaster7 Wrote: Um.....
Ah ha, here's more info about it: http://docs.formtools.org/userdoc2_1/?page=config_file
(Jun 7th, 2012, 11:25 AM)seph Wrote: Either the theme cache folder doesn't have write-permissions, or your $g_root_dir value is invalid. Please update the /themes//cache to have full read-write permissions
Are you using a Windows Server? Something about that error message doesn't settle well. Why are there two backslashes there? Was that you mistyping it or??
Posts: 143
Threads: 19
Joined: Dec 2010
Reputation:
5
YAY! I'm so glad it works! So the trick that worked was:
1) install normally in some folder of the website
2) go through the initial installation process
3) move the installation back to the root of the web
4) edit the \global\config.php file
Yes? I'm so happy it worked out!
Not a FT employee, just a FT user lending a hand. If I've been helpful, please rate.
Posts: 5
Threads: 1
Joined: Jun 2012
Reputation:
0
Yes, that's it!
I just did a small edit to your steps to show the default folder for initial installation.
(Jun 7th, 2012, 12:42 PM)michatmaster7 Wrote: YAY! I'm so glad it works! So the trick that worked was:
1) install normally in "/formtools" folder of the website
2) go through the initial installation process
3) move the installation back to the root of the web
4) edit the \global\config.php file
Yes? I'm so happy it worked out!
Posts: 2
Threads: 1
Joined: Jul 2012
Reputation:
0
Jul 2nd, 2012, 11:54 AM
(This post was last modified: Jul 2nd, 2012, 3:26 PM by Woodsey.)
I've been using formtools without issue for years, and this morning I tried to log in, and received the following message:
"Either the theme cache folder doesn't have write-permissions, or your $g_root_dir value is invalid. Please update the /nfs/.../formtools/themes/default/cache to have full read-write permissions (777 on unix)."
(The ellipsis are taking the place of part of the path.) I've not made any changes recently; in fact I haven't even logged into the database for weeks. I checked the permissions on the cache folder... they're set correctly. I think the directory is correct, since I've never messed with that file.
I'm not an expert in programming... at all.
I was considering re-installing, but I was concerned that I might lose the database.
Any help would be appreciated.
Thanks!
|