PDF generate Error [1.3.2.1]

Please post all install related problems here. Visit this forum first for troubleshooting.
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

Do not use <!-- StartDruck --> ...

Sections which should be hidden from print has to be wrapped in:

Code: Select all

<!--NO_PRINT_START//-->
...
<!--NO_PRINT_END//-->
It's the same for PRINT and PRINT_PDF.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

eh100091 wrote:Yes - in each page as HTML Part.
That's not the right solution!!! There is a special scrip whcih also support phpMyVisites. Check template/inc_script/disabled/pixelTracking.php

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
eh100091
Posts: 54
Joined: Sat 10. Jul 2004, 09:01
Location: Mauthausen
Contact:

Post by eh100091 »

Should I insert the code in the pixelTracking.php like that?

....
<!--NO_PRINT_START//-->
$_TrackingCode = '<!-- phpMyVisites -->' . LF;
...
$_TrackingCode .= '<!-- /phpmyvisites -->' . LF;
<!--NO_PRINT_END//-->
.....
Best regards from Upperaustria
Schoene Gruesse aus Oberoesterreich

http://horners.at

Peter
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

I have traced a bit why this happens - phpMyVisites tracking pixel does not respond with correct mime type. This might result in error.

You can see what I mean when you try to load just the tracking image alone - no correct result.

I check to patch it.

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Post by Oliver Georgi »

OK, solved - what a crap (the lib I use). Available with coming phpwcms 1.3.3.

Seems this will cost me lot of time within next weeks again to bring wider UTF-8 support.

I made some fixes:
- to handle Images having no general image extension like "gif, jpg, jpeg, png"
- fix to support images having not set attribute width or height
- some fixes for false set vars

Oliver
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply