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.

eZ debug

Timing: Jan 19 2025 00:25:45
Script start
Timing: Jan 19 2025 00:25:45
Module start 'layout'
Timing: Jan 19 2025 00:25:45
Module start 'content'
Timing: Jan 19 2025 00:25:46
Module end 'content'
Timing: Jan 19 2025 00:25:46
Script end

Main resources:

Total runtime0.8982 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.1797152.6406
Module start 'layout' 0.00490.0028 741.820339.4766
Module start 'content' 0.00770.8892 781.2969470.3906
Module end 'content' 0.89690.0013 1,251.68758.1250
Script end 0.8982  1,259.8125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3720160.0002
Check MTime0.00140.1603160.0001
Mysql Total
Database connection0.00060.062810.0006
Mysqli_queries0.850494.6842570.0149
Looping result0.00060.0635550.0000
Template Total0.866096.420.4330
Template load0.00210.234820.0011
Template processing0.863996.177620.4319
Template load and register function0.00020.016910.0002
states
state_id_array0.00090.105810.0009
state_identifier_array0.00070.079520.0004
Override
Cache load0.00180.1998270.0001
Sytem overhead
Fetch class attribute can translate value0.00090.100120.0004
Fetch class attribute name0.00110.123130.0004
XML
Image XML parsing0.00020.027620.0001
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00080.0913100.0001
String conversion0.00000.000740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs