Tools
Login

Are Times

You are here: Home » Are Support » F.A.Q » File Does Not Exist Error
Thursday, 25 May 2017


File Does Not Exist Error

E-mail Print PDF
Your website folder name can not have "example.com".  A "dot" is usually reserved for files so if you have a folder named this the download won't work.  The best solution is to store your downloads in a folder outside of your webroot.

Joomla install

/home/user/public_html/joomla

 

Where your folder should be

/home/user/downloads

 

 

If you are getting a file does not exist error perform the following steps:

 

1. Open  components/com_maian15/classes/class_cart.inc.php and search for the function forcedownload

in this function locate the following code:

if (!file_exists($archiveName)) {
            echo $msg;
            exit;
        }


Change it to


if (!file_exists($archiveName)) {
            echo $archiveName;
            exit;
        }


Now instead of getting the
File Does Not Exist!! error you will see how your downloads are being generated.