I have tried installing zencart and specifying some folders to be below the webroot, such as the downloads folder.
I have edited the configure.php files both in includes and admin/includes to reflect the changes.
But when i test it out, i get the following error message in the browser
Warning: The downloadable products directory does not exist: /var/www/vhosts/domain.com/httpdocs//var/www/vhosts/domain.com/download/. Downloadable products will not work until this directory is valid.
But the directory is valid and exists under
'/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/download/'
I have also set the configuration files to reflect this correctly
[FONT=Arial]includes/configure.php - under filesystems[/FONT]
[FONT=Arial]
[/FONT][FONT=Courier New]define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/var/www/vhosts/[/FONT][FONT=Courier New]domain.com[/FONT][FONT=Courier New]/download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');
[/FONT][FONT=Courier New]admin/includes/configure.php - under filesystems
[/FONT][FONT=Courier New]define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/var/www/vhosts/[/FONT][FONT=Courier New]domain.com[/FONT][FONT=Courier New]/download/');[/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New]Those are all instances of download and its related "pub" folder. Why therefore does it fail to work properly and still show errors yet apache has also been restarted so as to reconfigure?[/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New]In the vhost.conf file under conf, the following directives have been given so that Zencart can correctly reference the folders below the web root[/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New]<Directory "/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/httpdocs">
php_admin_value open_basedir "/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/cache:/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/httpdocs:/tmp"
php_admin_value open_basedir none
php_admin_value safe_mode 0
</Directory>
<Directory "/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/httpdocs">
php_admin_value open_basedir "/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/media:/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/httpdocs:/tmp"
php_admin_value open_basedir none
php_admin_value safe_mode 0
</Directory>
<Directory "/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/httpdocs">
php_admin_value open_basedir "/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/images:/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/httpdocs:/tmp"
php_admin_value open_basedir none
php_admin_value safe_mode 0
</Directory>
<Directory "/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/httpdocs">
php_admin_value open_basedir "/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/download:/var/www/vhosts/[FONT=Courier New]domain.com[/FONT]/httpdocs:/tmp"
php_admin_value open_basedir none
php_admin_value safe_mode 0
</Directory>
[/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New][/FONT]
[FONT=Courier New]
[/FONT]




