Announcement

Collapse
No announcement yet.

Tcpdf error

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tcpdf error

    i use this and works in my web server: [path] = '/var/www/vhosts/site/httpdocs/scriptcase/tmp';

    i install in computer wamp server for use in local, but obtain error : TCPDF ERROR: Unable to create output file: c:/wamp/tmp/fattura-demo.pdf

    obtain error with this script: [path] = 'c:/wamp/tmp';

    [file_name] = 'fattura-demo';

    sc_pdf_output([path].'/'.[file_name].'.pdf',"F");

  • #2
    check the permits for the folder and the user you have the service configured with.

    REgards

    Comment


    • #3
      As kafecadm sais, this normally is related to permissions. Create inside your deployed project folder a tmp folder and try with:
      sc_pdf_output('../tmp/'.[file_name].'.pdf','F');
      /Giuseppe

      Professional Scriptcase Services
      Some Customers opinions

      Comment

      Working...
      X