cms in root
Posted: Sat Jun 20, 2009 9:44 am
Hi, i am beeing sick an tired of searching in the forums but didnt get an correct awnser
the problem is 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'] = '/home/nossie/domains/nossie.nl/public_html';
$config['previews_path'] = '/home/nossie/domains/nossie.nl/public_html/tmp/cache';
$config['uploads_path'] = '/home/nossie/domains/nossie.nl/public_html/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';
And for the image upload path
$config['image_uploads_path'] = '/home/nossie/domains/nossie.nl/public_html/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.
this is the image manager in the cms

and this is when u clicked on the image in imagemanager

the adress in the adress bar is correct and the images are on my server but why did the dont show ?
Pleas give me a correct awnser
and not look for the forum foor moving to root etc because i looked for the whole forum for awnsers but didnt find it
Hope to get rid of this error soon
Greets Nossie
Sorry for my bad english
im from the netherlands
the problem is 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'] = '/home/nossie/domains/nossie.nl/public_html';
$config['previews_path'] = '/home/nossie/domains/nossie.nl/public_html/tmp/cache';
$config['uploads_path'] = '/home/nossie/domains/nossie.nl/public_html/uploads';
$config['uploads_url'] = $config['root_url'] . '/uploads';
And for the image upload path
$config['image_uploads_path'] = '/home/nossie/domains/nossie.nl/public_html/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.
this is the image manager in the cms

and this is when u clicked on the image in imagemanager

the adress in the adress bar is correct and the images are on my server but why did the dont show ?
Pleas give me a correct awnser
and not look for the forum foor moving to root etc because i looked for the whole forum for awnsers but didnt find it
Hope to get rid of this error soon
Greets Nossie
Sorry for my bad english
im from the netherlands