PDF generate Error [1.3.2.1]

Please post all install related problems here. Visit this forum first for troubleshooting.
eh100091
Posts: 54
Joined: Sat 10. Jul 2004, 09:01
Location: Mauthausen
Contact:

PDF generate Error [1.3.2.1]

Post 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]
Best regards from Upperaustria
Schoene Gruesse aus Oberoesterreich

http://horners.at

Peter
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post 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)
eh100091
Posts: 54
Joined: Sat 10. Jul 2004, 09:01
Location: Mauthausen
Contact:

Post by eh100091 »

I have insert this link in the template section instead of the [PRINT]drucken[/PRINT] function.
The normaly print funktion works fine.
Best regards from Upperaustria
Schoene Gruesse aus Oberoesterreich

http://horners.at

Peter
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post 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
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post by Heiko H. »

Hi eh100091,

place the phpmyvisites-stuff outsite the <!-- StartDruck --><!-- StopDruck -->.

That's the problem :wink:


Heiko...
eh100091
Posts: 54
Joined: Sat 10. Jul 2004, 09:01
Location: Mauthausen
Contact:

Post 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?
Best regards from Upperaustria
Schoene Gruesse aus Oberoesterreich

http://horners.at

Peter
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post by Heiko H. »

:shock: LOOK AT THIS :shock:
VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Heiko H. wrote:Hi eh100091,

place the phpmyvisites-stuff outsite the <!-- StartDruck --><!-- StopDruck -->.
User avatar
Jensensen
Posts: 3000
Joined: Tue 17. Oct 2006, 21:11
Location: auf der mlauer

Post 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
{so_much} | Knick-Knack. | GitHub
Umlaute im URL sind meistens immer Kacke.
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post 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!!!
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post 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]
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post 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!
User avatar
Heiko H.
Posts: 868
Joined: Thu 27. Oct 2005, 11:41
Location: Dresden
Contact:

Post 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...
eh100091
Posts: 54
Joined: Sat 10. Jul 2004, 09:01
Location: Mauthausen
Contact:

Post 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.
Best regards from Upperaustria
Schoene Gruesse aus Oberoesterreich

http://horners.at

Peter
User avatar
marcus@localhorst
Posts: 815
Joined: Fri 28. May 2004, 11:31
Location: localhorst
Contact:

Post 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?
eh100091
Posts: 54
Joined: Sat 10. Jul 2004, 09:01
Location: Mauthausen
Contact:

Post by eh100091 »

Yes - in each page as HTML Part.
Best regards from Upperaustria
Schoene Gruesse aus Oberoesterreich

http://horners.at

Peter
Post Reply