Results 1 to 10 of 10
  1. #1
    Join Date
    Nov 2008
    Posts
    45
    Plugin Contributions
    0

    Default download folder doesn't exist - can it be recreated?

    Our /home/my_user_name/public_html/mystore/download folder has gone missing. (We are not sure whether it did exist at one time, as this is the first time we have tried to locate it for testing) Our website isn't 'live' yet. We've tried to recreate it manually, but unfortunately, we are still getting an error message on our site saying that it doesn't exist. Does anyone know of a way of recreating without starting again with a fresh install please. We would like to avoid that if at all possible, as we have had loads of development work done by a third party.
    Thanks for your help in advance!

  2. #2
    Join Date
    Nov 2007
    Location
    Sunny Coast, Australia
    Posts
    3,379
    Plugin Contributions
    9

    Default Re: download folder doesn't exist - can it be recreated?

    Quote Originally Posted by suedouglas View Post
    Our /home/my_user_name/public_html/mystore/download folder has gone missing. (We are not sure whether it did exist at one time, as this is the first time we have tried to locate it for testing) Our website isn't 'live' yet. We've tried to recreate it manually, but unfortunately, we are still getting an error message on our site saying that it doesn't exist. Does anyone know of a way of recreating without starting again with a fresh install please. We would like to avoid that if at all possible, as we have had loads of development work done by a third party.
    Thanks for your help in advance!
    When you say "tried to recreate it manually", did you FTP into your site and tried to create the folder this way?

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,716
    Plugin Contributions
    123

    Default Re: download folder doesn't exist - can it be recreated?

    Look in includes/configure.php for the define DIR_FS_DOWNLOAD - perhaps they put it somewhere else, for example above your web root (which is not a bad strategy).
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Nov 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: download folder doesn't exist - can it be recreated?

    Quote Originally Posted by frank18 View Post
    When you say "tried to recreate it manually", did you FTP into your site and tried to create the folder this way?
    Thanks for your replay. No, I just created a new folder and named it download.

  5. #5
    Join Date
    Jul 2012
    Posts
    16,737
    Plugin Contributions
    17

    Default Re: download folder doesn't exist - can it be recreated?

    Quote Originally Posted by suedouglas View Post
    Thanks for your replay. No, I just created a new folder and named it download.
    Take a look at swguy's suggestion. As for the result of creating the download directory as identified above, when you say it doesn't work does that mean if you refresh the screen the download directory just "created" doesn't actually exist (permissions issue more likely) or is it that Zc doesn't "recognize" that it exists (more likely swguy's suggestion). It may also have to do with the pub directory and settings in the admin->configuration->attributes, but one step at a time.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  6. #6
    Join Date
    Nov 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: download folder doesn't exist - can it be recreated?

    Quote Originally Posted by swguy View Post
    Look in includes/configure.php for the define DIR_FS_DOWNLOAD - perhaps they put it somewhere else, for example above your web root (which is not a bad strategy).
    Thanks for your reply. I already checked that, and it's pointing to the place where it usually is, but the folder didn't actually exist. There was something odd about the configure.php file though, and that was that some paths in there (although not the download one) were pointing to /home instead of /home2 (our home is called /home2) The download file was pointing to /home2/my_user_name/public_html/mystore/download which is correct.

  7. #7
    Join Date
    Nov 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: download folder doesn't exist - can it be recreated?

    Please see my reply to swguy. The download folder I created did exist in that I was able to put a file in there OK? The permissions were OK (I checked at the time on the download folder, although I can't remember what I set it to (644 rings a bell though!) I didn't check any other folder permissions). I've since restored to an earlier backup and the download folder doesn't exist in there either, but there is one thing that's changed and that is that the error message on the website is now expecting the download folder to be in /home/.... (before it was /home2/....) Our /home since the restore now seems to have changed to /home4, I have just checked the configure.php (after the restore) and that is still pointing to both /home/ paths and /home2/ paths as it was before. Now our home is /home4/ should all paths in the configure.php files be pointing there? Any help would be appreciated!

  8. #8
    Join Date
    Jul 2012
    Posts
    16,737
    Plugin Contributions
    17

    Default Re: download folder doesn't exist - can it be recreated?

    You said you're not "live"... Setup on a publicly accessible server? Or on a local computer all installed by "you"?

    I ask because some hosts provide a path to which all such paths should be pointed, but once that is accessed, the computer points to yet a different location (sort of like a redirect)... This may be the case for you. To what path does your cPanel indicate for ftp/php related interaction? It may not even include a home#... Further it may be that it expects the path to simply begin with /home/ and the rest is figured out. Certainly having a variety of paths in the includes/configure.php file is going to cause trouble if they are all supposed to address one location.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  9. #9
    Join Date
    Nov 2008
    Posts
    45
    Plugin Contributions
    0

    Default Re: download folder doesn't exist - can it be recreated?

    Quote Originally Posted by mc12345678 View Post
    You said you're not "live"... Setup on a publicly accessible server? Or on a local computer all installed by "you"?

    I ask because some hosts provide a path to which all such paths should be pointed, but once that is accessed, the computer points to yet a different location (sort of like a redirect)... This may be the case for you. To what path does your cPanel indicate for ftp/php related interaction? It may not even include a home#... Further it may be that it expects the path to simply begin with /home/ and the rest is figured out. Certainly having a variety of paths in the includes/configure.php file is going to cause trouble if they are all supposed to address one location.
    Thanks for your help we are with Hostgator and they have said that it doesn't matter that we have some references to /home/ and some to /home2/ in our config files even though our php files are now in /home4/ I'm going to try recreating the download file again and I'll pay close attention to the permissions on the download file just in case it was a permissions problem previously. Thanks for your help! In your opinion though, should I be able to create the download file?

  10. #10
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,716
    Plugin Contributions
    123

    Default Re: download folder doesn't exist - can it be recreated?

    > In your opinion though, should I be able to create the download file?

    Yes. Create a directory called "download" at the same level as your "public_html" directory. Put your files in there. Update the references to the download folder in the configure.php files. Done.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

 

 

Similar Threads

  1. Can we customize the DOWNLOAD Folder ?
    By prabhatM in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 6 Jul 2015, 06:58 PM
  2. Can I have more than one download folder
    By travel124 in forum General Questions
    Replies: 4
    Last Post: 11 Aug 2008, 05:22 AM
  3. says my cache folder doesn't exist in [db_cache table]
    By kateoeight in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 19 Apr 2007, 03:21 PM
  4. why i can download file from download folder directly?
    By plonolp in forum General Questions
    Replies: 5
    Last Post: 12 Apr 2007, 11:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR