I installed Vanilla locally on my laptop and then copied the files and the database up to my hosted server only to find that it didn't work. I spent over an hour trying to find what I needed to fixup to get it to work on my server only to give up and reinstall on the server.
I would still like to be able to bring it down locally so that I could develop addons but I'm not sure what files I would need to change to make it happen. It seems that conf/config.php and the .ini file in /cache need to change but I changed them and they were not enough. What else needs to change?
Also, does Vanilla overwrite conf/config.php? I made changes there to sniff out the host and use different database credentials but I swear they disappeared so I assume that Vanilla recreates that file; if so how can I set up the source code to use different credentials depending on where it is served from?
Thanks in advance.
0 • •
Comments
if so you have to do a full find and replace... with the new path...
same thing happened to me when i moved my development site from d:\ to e:\ drive...
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •http://vanillaforums.org/discussion/14054/vanilla-working-on-local-but-not-global.-why
I didnt tried the the config.php file though. I just cant figure out the solution. Can anyone help? Thanks in advance.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •Developer at Vanilla Forums, Inc. [GitHub, Twitter]
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •ok, a file replace where?
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •@troppman, that's not good advice and is really old.
You just need to delete all of the /cache/*.ini files.
- Spam
- Abuse
- Troll
0 • Off Topic Insightful Awesome LOL •