Page 1 of 2
PDF generate Error [1.3.2.1]
Posted: Thu 26. Apr 2007, 15:17
by eh100091
I've installed the new version 1.3.2.1 - I also tried the new PDF function - a new window opens und post the following error:
FPDF error: Unsupported image type: php
Implimentation [PRINT_PDF] PDF erzeugen [/PRINT_PDF]
Posted: Thu 26. Apr 2007, 15:32
by marcus@localhorst
yeah - it says all

the images are broken or unsupportet...
which kind of images do you use?
sometimes I get this error with jpg pics which are displayed on webpage right but fu.ck up the pdf. Does the function work on other pages? (with/without pics)
Posted: Thu 26. Apr 2007, 17:38
by eh100091
I have insert this link in the template section instead of the [PRINT]drucken[/PRINT] function.
The normaly print funktion works fine.
Posted: Thu 26. Apr 2007, 18:24
by marcus@localhorst
eh100091 wrote:I have insert this link in the template section instead of the [PRINT]drucken[/PRINT] function.
The normaly print funktion works fine.

Shure that's not the point - printing has nothing to do with pdf

the FPDF generator kick out the error whats wrong, not phpwcms! php is an unsupported image type. this says all and that may the point to start.
try to remove this from your source:
Code: Select all
<noscript><p>Free web analytics, website statistics
<img src="http://www.horners.at/counter/phpmyvisites.php" alt="Statistics" style="border:0" />
</p></noscript>
this seems your image which is not supported.
maybe I'm wrong, but thats the only Idea I got for the moment.
best marcus
Posted: Thu 26. Apr 2007, 18:40
by Heiko H.
Hi eh100091,
place the phpmyvisites-stuff outsite the <!-- StartDruck --><!-- StopDruck -->.
That's the problem
Heiko...
Posted: Thu 26. Apr 2007, 18:42
by eh100091
thanks marcus!
the external counter is the problem. But i can't remove it. Is there any possibility to ignore it during pdf making?
Posted: Thu 26. Apr 2007, 18:55
by Heiko H.

LOOK AT THIS
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Heiko H. wrote:Hi eh100091,
place the phpmyvisites-stuff outsite the <!-- StartDruck --><!-- StopDruck -->.
Posted: Thu 26. Apr 2007, 18:59
by Jensensen
Hi Peter,
I'm not completely familiar with the new print to pdf,
but I guess it should work with your print_layout.css
for your
external_counter div-area
try
#external_counter { display: none;}
greetz
Posted: Thu 26. Apr 2007, 19:06
by Heiko H.
Code: Select all
<!-- StartDruck -->
{CONTENT}
other stuff
<!-- StopDruck -->
<!-- phpmyvisites -->
<a href="http://www.horners.at/" title="Willkommen bei der Familie Horner!"
onclick="window.open(this.href);return(false);"><script type="text/javascript">
<!--
var a_vars = Array();
var pagename=document.title;
var phpmyvisitesSite = 1;
var phpmyvisitesURL = "http://www.horners.at/counter/phpmyvisites.php";
//-->
</script>
<script language="javascript" src="http://www.horners.at/counter/phpmyvisites.js" type="text/javascript"></script></a>
<noscript><p>Free web analytics, website statistics
<img src="http://www.horners.at/counter/phpmyvisites.php" alt="Statistics" style="border:0" />
</p></noscript>
<!-- /phpmyvisites -->
etc. ...
is enough!!!
Posted: Thu 26. Apr 2007, 19:07
by marcus@localhorst
Jensensen wrote:Hi Peter,
I'm not completely familiar with the new print to pdf,
but I guess it should work with your print_layout.css
for your
external_counter div-area
try
#external_counter { display: none;}
greetz
I haven't test the new phpwcms version is that <!--start--> stuff overtaken by oliver? I'm not shure?!
[EDIT] it seems combined with the printlayout?![/EDIT]
As far as I know, the call of phpmyvisits.php via image tag is not really supportet by phpmv (I guess i read this in their forum)
m.
[EDIT] haha - wir (ich) quälen uns hier mit englischen beschreibungsversuchen rum, dabei dürften wir alle deutsch sprechen, oder?

) aber wir sind ja im englischen part des forums...[/EDIT]
Posted: Thu 26. Apr 2007, 19:16
by marcus@localhorst
@eh100091
use the pixeltracking.php in frontend_render/disable to add your phpmv tracking code, because this is placed right after content['all'] {CONTENT} and so after the <!--StopDruck--> switch! and remove the statcode from your template!
Posted: Thu 26. Apr 2007, 19:26
by Heiko H.
marcus@localhorst wrote:@eh100091
use the pixeltracking.php in frontend_render/disable to add your phpmv tracking code, because this is placed right after content['all'] {CONTENT} and so after the <!--StopDruck--> switch! and remove the statcode from your template!
YES, or place the
Code: Select all
<!-- phpmyvisites -->
<a href="http://www.horners.at/" title="Willkommen bei der Familie Horner!"
onclick="window.open(this.href);return(false);"><script type="text/javascript">
<!--
var a_vars = Array();
var pagename=document.title;
var phpmyvisitesSite = 1;
var phpmyvisitesURL = "http://www.horners.at/counter/phpmyvisites.php";
//-->
</script>
<script language="javascript" src="http://www.horners.at/counter/phpmyvisites.js" type="text/javascript"></script></a>
<noscript><p>Free web analytics, website statistics
<img src="http://www.horners.at/counter/phpmyvisites.php" alt="Statistics" style="border:0" />
</p></noscript>
<!-- /phpmyvisites -->
anywhere else.
e.g. under your Left-Navi or under the footer, or ...
Heiko...
Posted: Thu 26. Apr 2007, 20:26
by eh100091
The counter code is included in each Article. So the counter recognize every step of you in my Homepage. Only the [PRINT_PDF] context is in the template as a link in the footer.
Posted: Thu 26. Apr 2007, 21:37
by marcus@localhorst
eh100091 wrote:The counter code is included in each Article. So the counter recognize every step of you in my Homepage. Only the [PRINT_PDF] context is in the template as a link in the footer.
du fügst den javascript code in jeden artikel extra rein, oder hab ich das falsch verstanden?
Posted: Thu 26. Apr 2007, 21:49
by eh100091
Yes - in each page as HTML Part.