WordPress.org

Ready to get started?Download WordPress

Forums

fopen(blog.pdf): failed to open stream: (3 posts)

  1. markw2006
    Member
    Posted 7 years ago #

    Hi,
    im getting an error which i dont understand, i think it maybe a compatablilty issue if someone can take a look?
    The error is this:
    Warning: fopen(blog.pdf): failed to open stream: Permission denied in /home/#####/public_html/#####/fpdf.php on line 1285
    FPDF error: Unable to create output file: blog.pdf

    The line of code from the script is this:
    break;

    And nothing else.

    The script works on wp version 2.02 but not wp 2.04

  2. markw2006
    Member
    Posted 7 years ago #

    Ok so an update to this problem is now with a line of code that is:
    $f=fopen($name,'wp');

    With this error:
    Warning: fopen(archives.pdf): failed to open stream: Permission denied in /home/####/public_html/####/fpdf.php on line 1046
    FPDF error: Unable to create output file: blog.pdf

    Any help?

  3. davidchait
    Member
    Posted 7 years ago #

    ummm, yeah, the script doesn't have write permissions to the directory it is trying to create the output pdf into...

Topic Closed

This topic has been closed to new replies.

About this Topic