createPDF

By Toledoh - August 30, 2010

Hi Guys.

The createPDF seems to be working... mostly.

The test files are creating the PDF, however for everything other than the "url_as..." the displayed result is a PDF of my 404 error page.

Any ideas?
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] createPDF

By Jason - August 31, 2010

Hi Tim,

What is the url that you're passing to the plugin? Check to make sure that's correct first.

Hope this helps.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] createPDF

By Toledoh - August 31, 2010

Attachments:

html_as_inline.php 1K

Re: [Toledoh] createPDF

By Jason - August 31, 2010

Hi Tim,


Could you also attach url_as_inline.php so I can see how they're different?

You can also try adding this code to the very top of html_as_inline.php:

<?php require_once "../../../lib/viewer_functions.php"; ?>

Give that a try.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [Jason] createPDF

By Toledoh - August 31, 2010

Hi Jason.

I had deleted that line just to see if that was the issue...

Attached are the url versions.
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] createPDF

By Toledoh - August 31, 2010

BTW: have just emailed ftp etc in case you need it.
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] createPDF

By Jason - September 1, 2010

Hi Tim,

I've take a look and haven't been able to find a problem. The plugin works correctly as it does create a pdf. It doesn't seem to produce any errors and all of the tests show that the server does support the plugin.

Before doing the conversion to pdf, the plugin writes the output to a temporary html file. Do you have any .htaccess redirects that affect how .html files are displayed? It is possible that this redirect is what's redirecting to your 404 page.

Let me know. If not, I'll look into this further.

Thanks.
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com

Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

Re: [chris] createPDF

By Toledoh - September 2, 2010

Thanks guys. I've passed your comments onto my host - and will let you know how it goes!
Cheers,

Tim (toledoh.com.au)

Re: [Toledoh] createPDF

By Toledoh - September 6, 2010

Thanks for your direction guys... there was some kind of conflict with the host. I had moved from one to another and the old one was still half set up some how.

Works a treat now.
Cheers,

Tim (toledoh.com.au)