Search

We have 86 guests online
File Does Not Exist Error PDF Print E-mail
 

By Arelowo Alao, on 28-12-2009 20:52

Views : 1381    

Favoured : 47

Published in : Frequently Asked Questions, FAQs


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.
 


Last update : 05-04-2010 22:49

   
Quote this article in website
Favoured
Print
Send to friend
Related articles
Save this to del.icio.us

Users' Comments  RSS feed comment
 

Average user rating

   (0 vote)

 

Display 2 of 2 comments

Downloading Fail

By: Mike (Guest) on 05-06-2010 17:44

Downloading Fail

By: Mike (Guest IP 90.185.54.229) on 05-06-2010 17:44

Dear Aretimes.com 
 
I did as mentioned above but without music success.. I keep getting the "file not found". I'm not sure if I have done everything right. 
 
What I've done is to open my Filezilla and create a folder in the "www/" part (in the list where all my domains are listed), I transfered the song(s) to the folder and linked to it though the settings menu in joomla but, I keep getting the error. 
 
- Also, I jumped from Virtuemart to Maian music, it's so much better! I'm supriced how easy it is to setup and everything! WONDERFUL!:D

 

» Report this comment to administrator

» Reply to this comment...

file does not exist

By: ian (Guest) on 20-01-2010 02:32

file does not exist

By: ian (Guest IP 64.4.94.61) on 20-01-2010 02:32

I got this error before, I didnt do the code as mentioned. I noticed my .mp3s that were being loaded had spaces in the file names. I got rid of the spaces and replaced them with an underscore and it worked :) 
 
ex: My_Song.mp3

 

» Report this comment to administrator

» Reply to this comment...

Display 2 of 2 comments



Add your comment
Name
E-mail
Title  
Comment
 
Available characters: 600
   Notify me of follow-up comments
   
   



mXcomment 1.0.8 © 2007-2010 - visualclinic.fr
License Creative Commons - Some rights reserved
< Prev