I've been trying for 2 days to change my download folder to level above public_html.
Yes, I have read the tutorial/faq and have searched this thread. I still can't find what I need to know...or I'm to blind and frustrated to see it.
First, if I go by this tutorial:
https://www.zen-cart.com/tutorials/i...hp?article=280,
it will not work because this line:
define('DIR_FS_CATALOG', '/home/myname/public_html/store/');
says the store folder is the top folder in the structure.
Well...I'm reloacting the download folder higher in the folder chain, so this will not work.
When I change the download line to read:
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . '/home/myname/mystore/mydownloads/');
I receive an error on my store front that says the download folder can't be found at:
/home/myname/public_html/mystore//home/myname/mystore/mydownloadfolder/
This leads me to beleive I need to change my FS CATALOG to a higher level.
Can I change my DIR_FS_CATALOG to /home/myname/ then add this:
define('DIR_FS_DOWNLOAD',
DIR_FS_CATALOG . 'public_html/mystore/',
then prefix all of my dependent folders like this:
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'mystore/folder1/folder2/mydownloads/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'public_html/mystore/pub/');
define('DIR_WS_UPLOADS', DIR_WS_IMAGES . 'public_html/mystore/uploads/');
define('DIR_FS_UPLOADS', DIR_FS_CATALOG . DIR_WS_UPLOADS);
define('DIR_FS_EMAIL_TEMPLATES', DIR_FS_CATALOG . 'public_html/mystore/email/');
?
I'm sure I could download a good copy of both configure files and just try what I've explained. But I need to know if I'm headed in the right direction or if I'm going to corrupt something by doing this.
I'm with hostmonster...folder settings were 755 and redirect was turned on.
I would appreciate any help.
Mike
Bookmarks