Hi,
Some days ago I wrote about a problem to get images displayed when CMSMS is installed as document root: Images do upload fine using Image Manager, but no thumbnails are shown, and clicking the image link results in a 403 error.
Since then, I've repeated the install process some times, both in a directory within my server (let us say http://my.server/cms) where it runs with no trouble, and as server document root (http://my.server/), where the problem always comes again.
I have read all forum threads about "moving to root", looking for some hint given that it seems a similar issue, but all comments point to the only requirement being editing config.php for the adequate paths. However, as far as I know, paths settings are correrct, without extra slashes:
$config['root_path'] = '/usr/local/www/apache22/data/cms'; // NOTE: This is the Apache document root as well
$config['previews_path'] = '/usr/local/www/apache22/data/cms/tmp/cache';
$config['uploads_path'] = '/usr/local/www/apache22/data/cms/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';
$config['image_uploads_path'] = '/usr/local/www/apache22/data/cms/uploads/images';
$config['image_uploads_url'] = $config['root_url'] . '/uploads/images';
Pretty URLs and mod_rewrite are currently disabled, just for sake of simplicity.
All required folders are set to 777.
Uploads to Image Manager go fine and thumbnails are created on uploads/images directory.
When trying to display them, Apache log shows that images are being requested from '/usr/local/uploads' (instead from image uploads path above) and from here the 403 error.
Please, any help?
NK.
Unable to get images displayed when CMSMS is installed as document root
For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
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