jmunnerl Posted March 27, 2008 Share Posted March 27, 2008 In the web admin, when I would view one of my products that has a download associated with it, it would say Warning: no file uploaded. This is strange since I had added a file to the product for download, and I had placed the file in the Downloads folder. When I went to the file manager in the web admin and tried to upload a file to the downloads folder I got the following error. (notice the two backslashes before downloads???) Error: I can not write to this directory. Please set the right user permissions on: /var/www/html/catalog//download It looks to me like the path to my download folder is screwed up. Does anyone know how to fix this? I went to the catalog/includes/configure.php file to and found these settings which looked fine to me??? define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/var/www/html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Any help would be much appreciated. Thanks... Link to comment Share on other sites More sharing options...
jmunnerl Posted March 28, 2008 Author Share Posted March 28, 2008 In the web admin, when I would view one of my products that has a download associated with it, it would say Warning: no file uploaded. This is strange since I had added a file to the product for download, and I had placed the file in the Downloads folder. When I went to the file manager in the web admin and tried to upload a file to the downloads folder I got the following error. (notice the two backslashes before downloads???) Error: I can not write to this directory. Please set the right user permissions on: /var/www/html/catalog//download It looks to me like the path to my download folder is screwed up. Does anyone know how to fix this? I went to the catalog/includes/configure.php file to and found these settings which looked fine to me??? define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/'); define('DIR_FS_CATALOG', '/var/www/html/catalog/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); Any help would be much appreciated. Thanks... OK. The download path was fine, and after fixing the permissions, I don't get the error that I can't write to downloads anymore. However, I'm still plagued by the fact that when I view one of my products from the web admin for which I had already uploaded a file, it says Warning: no file uploaded??????????? Link to comment Share on other sites More sharing options...
Avec Posted March 28, 2008 Share Posted March 28, 2008 If you preview a product, but don't upload an image at that time, it will say "no file uploaded" Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.