Invoice King Pro
Unable to create output file (xampp) (4 posts)

  1. sas-dev
    Posted 2 years ago #

    If I click on view pdf a error shows.

    Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\wp\wp-content\plugins\invoice-king-pro\includes\pdf.php on line 77
    Warning: fopen(C:\xampp\htdocs\wp\wp-content\plugins\invoice-king-pro\includes/../../outputs/88.pdf): failed to open stream: No such file or directory in C:\xampp\htdocs\wp\wp-content\plugins\invoice-king-pro\packages\fpdf\fpdf.php on line 1075
    FPDF error: Unable to create output file: C:\xampp\htdocs\wp\wp-content\plugins\invoice-king-pro\includes/../../outputs/88.pdf


  2. sas-dev
    Posted 2 years ago #

    I have since moved the site online. And still getting this error. I have also checked that the folder is chmod 755 and tried 777

  3. Ash Durham
    Plugin Author

    Posted 2 years ago #

    Hi Sas-dev,

    Apologies for the major delay in reply. My notifications of posts in support seemed to have been stuffed up.

    Is the live server also a windows machine by chance? I've been having some issues in getting FPDF to behave with windows machine pathing.

    Theres actually two issues here. First, the file that is being called is the backup PDF script (it should be referencing /themes/default/pdf.php).

    Due to that, it seems that the pathing to the output folder is being screwed up. The path in your error is actually attempting to find the output folder in the plugins folder instead of that in the invoice king pro folder.

    I'm currently looking into this at the moment so I'll keep you posted with any findings.


  4. sas-dev
    Posted 2 years ago #


    Thanks for the response. The live server is indeed also a windows machine.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Invoice King Pro
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.