fpdf error

Sawri Vang
Sawri Vang
Offline
0
getting the following error when attempting to use the link to output the artist view into pdf.

FPDF error: Some data has already been output, can't send PDF file

your demo has the same error.
Responses (8)
  • Accepted Answer

    Sunday, February 10 2013, 07:51 PM - #Permalink
    0
    does this happen in all pages? I'm looking into this..
    we didn't had this error before...
    The reply is currently minimized Show
  • Accepted Answer

    Sawri Vang
    Sawri Vang
    Offline
    Monday, February 11 2013, 01:24 AM - #Permalink
    0
    yeah, i usually test components thoroughly to make sure users don't run into problems. i don't remember having this error in the previous version. but after upgrade i now have this error. like i said, it's the same problem in your demo on this site. :D when you guys figure out the fix, please assist. :D
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 11 2013, 07:08 PM - #Permalink
    0
    ok here's a first test
    download the file attached, unzip it, replace it for the one in
    /components/com_muscol/libraries/fpdf/fpdf.php

    let me know... [file name=fpdf.zip size=10940]http://www.joomlamusicsolutions.com/images/fbfiles/files/fpdf.zip[/file]
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Sawri Vang
    Sawri Vang
    Offline
    Saturday, February 16 2013, 01:54 PM - #Permalink
    0
    Notice: Undefined variable: album in /home/apache/www/components/com_muscol/views/artist/view.ownpdf.php on line 42 Notice: Trying to get property of non-object in /home/apache/www/components/com_muscol/views/artist/view.ownpdf.php on line 42 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/apache/www/components/com_muscol/libraries/fpdf/fpdf.php on line 1165 Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/apache/www/components/com_muscol/libraries/fpdf/fpdf.php on line 1203 FPDF error: Some data has already been output, can't send PDF file
    The reply is currently minimized Show
  • Accepted Answer

    Sawri Vang
    Sawri Vang
    Offline
    Saturday, February 16 2013, 01:58 PM - #Permalink
    0
    why don't you guys try to get it working on your website demo first? you know the demo on joomlamusicsolutions.com has the same problem. then we won't have to go back and forth testing. since this problem is visible on your website demo also.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, February 16 2013, 03:59 PM - #Permalink
    0
    it turns out this may be related to change on PHP version on a new server.

    thanks for the info it's very helpful. we keep working on that.
    The reply is currently minimized Show
  • Accepted Answer

    Sawri Vang
    Sawri Vang
    Offline
    Saturday, February 16 2013, 04:19 PM - #Permalink
    0
    thank you. it's no big deal as i can turn it off. :D just reporting because you guys have an awesome product here.
    The reply is currently minimized Show
  • Accepted Answer

    Sawri Vang
    Sawri Vang
    Offline
    Sunday, September 01 2013, 12:54 PM - #Permalink
    0
    update: eventually, I fixed this issue by doing the following on all instances in /components/com_musicol/libraries/fpdf/fpdf.php:

    find:
    set_magic_quotes_runtime(0);

    replace:
    ini_set("magic_quotes_runtime", 0);

    find:
    set_magic_quotes_runtime($mqr);

    replace:
    ini_set("magic_quotes_runtime", $mqr);
    The reply is currently minimized Show
Your Reply