Urgent: link a file which is on my server from a mail

Author Message

Christophe Leroy

Friday 06 June 2008 3:36:51 am

hello,

I have used the module SendAppForm and everything work well.
I have a file uploaded on the server here:
mysite\var\ezflow_site\storage\upload

and I receive mails with a link to :
http://mysite/index.php/site/var/ezflow_site/storage/upload/myfileuploaded.doc

but when I click on the file, I have an error message:

Module not found

The requested module var could not be found.

Possible reasons for this are:

* The module name was misspelled, try changing the URL.
* The module does not exist on this site.
* This site uses siteaccess matching in the URL and you did not supply one, try inserting a siteaccess name before the module in the URL .

Do you have an idea?

Thanks,

Chris

Michael Scofield

Monday 09 June 2008 11:40:58 pm

Have you tried to put the file in another directory?

I think eZ Publish is interpreting your URL as a System Url. Maybe you can solve it putting the file in another folder.

Christophe Leroy

Wednesday 11 June 2008 12:11:25 am

I have found the solution. The link is just wrong. I shouldn't have written index.php/site in the rul. The good one is:
http://mysite/var/ezflow_site/storage/upload/myfileuploaded.doc

Thanks,

Chris

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.