Hi all,
I am trying to run CMSMS 1.2 in a Server2Go environment for an offline demonstration. Ideally, I would like it to work directly from CD, so I wouldn't need to copy the files to a local harddrive. I don't need to write/update the database in this scenario, but of course, CMSMS still needs write access to some folders.
Server2Go offers to redirect write access to temporary folders via environment variables, so in config.php, I set
#Document root as seen from the webserver. No slash at the end
#If page is requested with https use https as root url
#e.g. http://blah.com
$config['root_url'] = 'http://127.0.0.1';
#Path to document root. This should be the directory this file is in.
#e.g. /var/www/localhost
$config['root_path'] = $_ENV["S2G_SERVER_DOCROOT"];
#Where do previews get stored temporarily? It defaults to tmp/cache.
$config['previews_path'] = $_ENV["S2G_TEMP_FOLDER"].'/tmp/cache';
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = $_ENV["S2G_TEMP_FOLDER"].'/uploads';
#Default path and URL for uploaded images in the image manager
$config['image_uploads_path'] = $_ENV["S2G_TEMP_FOLDER"].'/uploads/images';
Now, when running this from CD, CMSMS tells me
"The following directories must be writable by the web server:
tmp/cache
tmp/templates_c"
and of course advises me to chmod 777 tmp/cache and chmod 777 tmp/templates_c.
I only did environment variables replacement in the config.php, where I found the setting for tmp/cache and /uploads but not for tmp/templates_c. Is there a way to also redirect tmp/templates_c to a temporary harddrive folder?
Any hints greatly appreciated!
HolyHen
CMSMS in Server2Go CD environment
Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Return to “[locked] Installation, Setup and Upgrade”
Jump to
- Official Boards
- ↳ README FIRST!!!
- ↳ Announcements
- ↳ General Discussion
- Support Boards
- ↳ CMSMS Core
- ↳ Modules/Add-Ons
- ↳ Help Wanted (commercial)
- ↳ Translations
- Community Boards
- ↳ Tips and Tricks
- ↳ CMS Show Off
- ↳ Layout and Design (CSS & HTML)
- ↳ Feature ideas
- ↳ Developers Discussion
- ↳ The Lounge
- International Discussions
- ↳ Czech/Slovak - Česky/Slovensky
- ↳ Danish - Dansk
- ↳ Dutch - Nederlands
- ↳ Aankondigingen
- ↳ Tips en Trucs
- ↳ Vertalingen & Documentatie
- ↳ Hulp gezocht (commercieel)
- ↳ Finnish - Suomi
- ↳ French - Français
- ↳ German - Deutsch
- ↳ BITTE ZUERST LESEN !!!
- ↳ Ankündigungen
- ↳ Installation und Einstellungen
- ↳ Module und Tags
- ↳ Smarty-Tipps und -Tricks
- ↳ Layout und Design
- ↳ Suchmaschinenoptimierung (SEO)
- ↳ HowTo's
- ↳ Übersetzungen
- ↳ Show Off
- ↳ Hilfe gesucht (kommerziell)
- ↳ Stammtisch
- ↳ Hungarian - Magyar
- ↳ Italian - Italiano
- ↳ Moduli/Plugins
- ↳ Lithuanian - Lietuviškai
- ↳ Darbo / bendradarbiavimo pasiūlymai ir paieška
- ↳ Persian / Farsi
- ↳ Polish - Polski
- ↳ Portuguese - Português
- ↳ Russian - русский
- ↳ Предложения и поиск РАБОТЫ
- ↳ Spanish - Español
- ↳ Swedish - Svenska
- Geekmoot Editions
- ↳ Geekmoot 2016
- ↳ Connections and Conversations
- ↳ Geekmoot 2015
- ↳ Geek Moot 2012
- ↳ Locked: Geek Moot 2010
- Old Forums
- ↳ [locked] CMSMS 2.0 Beta
- ↳ Module Developers
- ↳ Closed Issues
- ↳ [locked] Documentation0ld
- ↳ Suggestions, Modifications & Corrections
- ↳ [locked] CMSMS 1.11 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 1.10 Beta
- ↳ Closed Issues
- ↳ [locked] CMSMS 2.2 Beta
- ↳ [locked] CMSMS MLE fork
- ↳ Modules/Addon patchs
- ↳ [locked] Quality Assurance
- ↳ [locked] Accessability and Usability
- ↳ [locked] Documentation
- ↳ Media and presentations about CMSMS
- ↳ [locked] Installation, Setup and Upgrade