PDF / Internetexplorer

Author Message

Norman Leutner

Saturday 02 September 2006 4:39:25 am

Hi,
I'm haviong some trouble with generated pdf files.

When I call http://www.mysite.com/content/pdf/2 using Mozilla,
the pdf is displayed correctly.

Using IE 6.0 it throws an arror that the file is not available...

Any suggestions?

Thanks in advance

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Claudia Kosny

Saturday 02 September 2006 6:24:21 am

Hello Norman

Try to open the pdf file by making a rightclick on the link and selecting download. Does the same happen?

Can you open other pdf files directly in IE?

For testing purposes put the website you are working on in the trusted zone in IE and enable about everything you can, especially if it concerns activeX.
Also check out the links here:

http://ez.no/community/forum/developer/generating_pdf_files_on_the_fly

Maybe you can find something useful there.

If push comes to show, have a look at the file content/pdf.php, function contentPDFPassthrough. Use it to push another pdf file (one that you could view in IE without problems). Does that work or do you get the same error?

Greetings from Luxembourg

Claudia

Norman Leutner

Saturday 02 September 2006 6:25:28 am

Thanks Claudia

Solved...

seems like it had something to do with invalid output characters:

http://ez.no/community/forum/general/pdf_charset_problem#msg108894

Mit freundlichen Grüßen
Best regards

Norman Leutner

____________________________________________________________
eZ Publish Platinum Partner - http://www.all2e.com
http://ez.no/partners/worldwide_partners/all2e_gmbh

Claudia Kosny

Saturday 02 September 2006 6:31:58 am

Hello Norman

Strange, but good to know. I did not know that the content of a pdf file could cause problems with IE, usually it is a mix of IE cache and/or security settings.

Claudia

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 31 2025 01:15:16
Script start
Timing: Jan 31 2025 01:15:16
Module start 'layout'
Timing: Jan 31 2025 01:15:16
Module start 'content'
Timing: Jan 31 2025 01:15:16
Module end 'content'
Timing: Jan 31 2025 01:15:16
Script end

Main resources:

Total runtime0.0245 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0313151.1953
Module start 'layout' 0.00570.0042 739.2266220.6563
Module start 'content' 0.00990.0129 959.88281,001.7734
Module end 'content' 0.02280.0016 1,961.656333.9922
Script end 0.0244  1,995.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002710.8721140.0002
Check MTime0.00124.7676140.0001
Mysql Total
Database connection0.00093.751310.0009
Mysqli_queries0.002811.601930.0009
Looping result0.00000.053610.0000
Template Total0.00114.410.0011
Template load0.00083.441510.0008
Template processing0.00020.940310.0002
Override
Cache load0.00062.251810.0006
General
dbfile0.00145.591080.0002
String conversion0.00000.036140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs