Viewing 8 replies - 31 through 38 (of 38 total)
  • Plugin Author Chris Taylor

    (@mrwiblog)

    Thanks. I’ll try to get the plugin to check for PHP5 when it is activated.

    I made a new fresh install and it worked.
    Thanks, great work

    Hey everyone,

    my copy of voucherpress is still not working, even though I did a fresh install a couple of times now.

    Any other pointers? I am on GoDaddy as well, and I am running on a Linux server with PHP5 enabled.

    When I open any of the corrupt PDF files, I get this:

    %PDF-1.7
    6 0 obj
    << /Type /Page /Parent 1 0 R /LastModified (D:20110304232409+00’00’) /Resources 2 0 R /MediaBox [0.00 0.00 566.93 255.12] /CropBox [0.00 0.00 566.93 255.12] /BleedBox [0.00 0.00 566.93 255.12] /TrimBox [0.00 0.00 566.93 255.12] /ArtBox [0.00 0.00 566.93 255.12] /Contents 7 0 R /Rotate 0 /Group << /Type /Group /S /Transparency /CS /DeviceRGB >> /Annots [ 5 0 R ] /PZ 1 >>
    endobj
    7 0 obj
    <</Filter /FlateDecode /Length 668>> stream

    I have some problems with VoucherPress, when i try to generate my voucher i had a problem:

    %PDF-1.7
    6 0 obj
    << /Type /Page /Parent 1 0 R /LastModified (D:20110421181446+00’00’) /Resources 2 0 R /MediaBox [0.00 0.00 566.93 255.12] /CropBox [0.00 0.00 566.93 255.12] /BleedBox [0.00 0.00 566.93 255.12] /TrimBox [0.00 0.00 566.93 255.12] /ArtBox [0.00 0.00 566.93 255.12] /Contents 7 0 R /Rotate 0 /Group << /Type /Group /S /Transparency /CS /DeviceRGB >> /Annots [ 5 0 R ] /PZ 1 >>
    endobj
    7 0 obj
    <</Filter /FlateDecode /Length 362>> stream
    x??“Ms?0 ?пь?=к?1 ’€ЧЦкФ“v ^Ф ьи? ‘–ъп? ?tД ??
    ?Нм?П? ??.дАaDс У9}”?!ЕТyф?3@@Б8 П?Г? мNI^I?Т?х\*в ”b(А Ы%Ь@з ??ВД?4W?) n%E hμ ?d?§?R!е”?къ:tH·R#%у?8—Ф(\??йm±w5Gf Ф ?Т??ъ ) ??`R? Б?х–~??Ш@ lb μ\?Z & ?Шмgнц ьQQ;qn?пп$З z
    .э …?Фt·Z–Фюa C??бл€?ЕЯ Р| Aръ!N8т. ?-{и”“? G!?nчB?Я76й =GD|шХ±Нf A A &С:[§ЙюЧ ч?
    зЯЁ ?{й у\j!? ?У?t#x??я4о € Пs–…ЫhБR??

    Well, the PDF files still corrupted. I delete Vouchepress, make a new fresh install and the problem is the same:
    %PDF-1.7
    6 0 obj
    << /Type /Page /Parent 1 0 R /LastModified (D:20110421181446+00’00’) /Resources 2 0 R /MediaBox [0.00 0.00 566.93 255.12] /CropBox [0.00 0.00 566.93 255.12] /BleedBox [0.00 0.00 566.93 255.12] /TrimBox [0.00 0.00 566.93 255.12] /ArtBox [0.00 0.00 566.93 255.12] /Contents 7 0 R /Rotate 0 /Group << /Type /Group /S /Transparency /CS /DeviceRGB >> /Annots [ 5 0 R ] /PZ 1 >>
    endobj
    7 0 obj
    <</Filter /FlateDecode /Length 362>> stream
    x??“Ms?0 ?пь?=к?1 ’€ЧЦкФ“v ^Ф ьи? ‘–ъп? ?tД ??
    ?Нм?П? ??.дАaDс У9}”?!ЕТyф?3@@Б8 П?Г? мNI^I?Т?х\*в ”b(А Ы%Ь@з ??ВД?4W?) n%E hμ ?d?§?R!е”?къ:tH·R#%у?8—Ф(\??йm±w5Gf Ф ?Т??ъ ) ??`R? Б?х–~??Ш@ lb μ\?Z & ?Шмgнц ьQQ;qn?пп$З z
    .э …?Фt·Z–Фюa C??бл€?ЕЯ Р| Aръ!N8т. ?-{и”“? G!?nчB?Я76й =GD|шХ±Нf A A &С:[§ЙюЧ ч?
    зЯЁ ?{й у\j!? ?У?t#x??я4о € Пs–…ЫhБR??

    Can any one help me?

    More info for my host:

    cPanel Version 11.28.87
    Theme x3
    Apache version 2.2.17
    PHP version 5.2.17
    MySQL version 5.0.92-community
    Architecture i686
    Operating system linux
    Path to Perl /usr/bin/perl
    Perl version 5.8.8
    Kernel version 2.6.18-194.11.3.el5PAE

    More info for my PHP 5:

    asp_tags Off
    file_uploads On
    include_path .:/usr/lib/php:/usr/local/lib/php
    max_execution_time 60
    max_input_time 60
    memory_limit 96M
    register_globals Off
    safe_mode Off
    session.save_path /tmp
    upload_max_filesize 40M

    Plugin Author Chris Taylor

    (@mrwiblog)

    I’ve started work on version 1.4 which is a major overhaul of VoucherPress. As part of that overhaul I hope to fix these problems, and fix the large memory usage.

    However I can’t make promises when that work will be completed.

    Hi Chris

    I just installed the 1.4 tried running on php5.2 and 5.3 and still getting the corruption message when I try to open the pdf.

    When I open it in notepad as you suggest to see if I am running out of memory this is the error I get…

    <strong>TCPDF ERROR: </strong>Some data has already been output, can't send PDF file

    Which is different to the error in your FAQ.

    Thanks
    jon

    Plugin Author Chris Taylor

    (@mrwiblog)

    This error happens when another plugin running before VoucherPress outputs some data (even just whitespace). The way to see which plugin is at fault is to turn off all plugins except VoucherPress, then try to download a voucher. If that works it proves VoucherPress is not at fault.

    Then turn on your plugins one-by-one and try to download a voucher each time. The plugin you last turned on when the error occurs is the bad one.

Viewing 8 replies - 31 through 38 (of 38 total)
  • The topic ‘[Plugin: VoucherPress] Corrupted pdf’ is closed to new replies.