Support » Plugin: Invoice King Pro » Unable to create output file (xampp)

  • sas-dev

    (@sas-dev)


    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

    https://wordpress.org/plugins/invoice-king-pro/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sas-dev

    (@sas-dev)

    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

    Plugin Author Ash Durham

    (@ashdurham)

    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.

    Thanks

    Thread Starter sas-dev

    (@sas-dev)

    Hi

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Unable to create output file (xampp)’ is closed to new replies.