We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 7155
    • 160 Posts
    I want to upload a pdf files

    I have

    • created a template for pages/documents that publish the PDF files
    • created a TV for that with the following options:
      [list]
      [li]Input Type: file
    • Option Values: (blank)
    • Default Value: (blank)
    • Widget: (blank)
    • Allowed access to that template
    [/li]
    [li]Created a document, made it a container, set its template to be the template I created[/li]
    [li]Right clicked container and created new document(Template variable is visible)[/li]
    [li]Selected insert, browsed and tried to upload[/li]
    [li]I get the error: "Failed to upload, internal error..."[/li]
    [/list]

    Where have I gone wrong?
      • 15469
      • 64 Posts
      Katzenfutter Reply #2, 15 years ago
      Had a look on the rights in the specified directory to open/read/write files?
      Maybe you lack the rights to wirte to that dir, so MODx isn´t allowed to put that file up to your server?

      Just guessing what´s wrong... Without having a look at your server / your configuration I´m not able to tell you how your issue might be solved...

      Cheers
        $cd /pub
        $more beer
        • 7155
        • 160 Posts
        Thank-you for assisting. I think I will look for an alternative.