Hi,
I have a server running Kloxo on top of CentOS with PhP 5.2.6
Now Kloxo has a slightly unusual structure in that the php process (user apache) sees paths from the server root (but supposedly still can't access files belonging to other sites).
so we have /home/[user]/[domain]/html/uploads/images/
The site is generally working (just upgraded to 1.6.7), but image manager isn't - it seems to be expecting a /var/www/html/uploads/images/ structure (as existed on the old ensim server where I first established this site. Where do I reconfigure this? - without compromising security!
[solved] Open_basedir problem with image manager
[solved] Open_basedir problem with image manager
Last edited by Dramatic on Fri Mar 05, 2010 9:33 am, edited 1 time in total.
Re: Open_basedir problem with image manager
Did you look in config.php? Lots of settings need to be changed when moving a site.
Re: Open_basedir problem with image manager
Apparently I did update config.php (the switch was done a few months back, this is the first time anyone has tried to upload an image):
Yet the image manager displays Invalid base directory: /var/www/html/uploads/images
Code: Select all
#Where are uploaded files put? This defaults to uploads.
$config['uploads_path'] = '/home/the_vine/vine.org.nz/html/uploads';
#Where is the url to this uploads directory?
$config['uploads_url'] = $config['root_url'] . '/uploads';
[SOLVED] Open_basedir problem with image manager
AAAAAARRRGGHH
There is a separate path for IMAGE uploads buried further down in config.
Sorry, but that is not good design!
There is a separate path for IMAGE uploads buried further down in config.
Sorry, but that is not good design!