This topic contains 6 reply and 2 voices, and was last updated by Paul 5 years, 7 months ago
Viewing 6 Posts - 1 through 6 (of 6 total)
Author Posts
March 15, 2014 at 4:10 pm 16652
Paul Hi, I'm trying to create a page on a school website for teachers can upload newsletters to. I have created a newsletter form, but I am having problems once I have uploaded a file. The file uploads and appears like this: file submitted Then newsletter (a pdf file), doesn't show up on the page I have redirected the posts to, the page remains empty. When I go to the post directly, it looks like this File on Page When I click on the pdf file to view it in the post, I get the following error: attempting to view file In the media library the uploaded file looks like this: media library. I have no idea what I'm doing wrong and would really appreciate your advice.
March 15, 2014 at 4:28 pm 16656
Tareq Hasan Tareq Hasan

So the pdf upload is working fine. May be something wrong in that pdf itself?

When clicking on the file in media library, do you see uploaded pdf and can open in your pdf reader?

March 15, 2014 at 4:33 pm 16658
Paul Paul

I can only view the file directly from the media library.

The files aren’t appearing on the page I have redirected the submit button to.

I can go to the post directly, but the files can’t view from here either, when I click on the file link, I get the error mentioned above saying i can’t view it.

I’ve attempted this with several different files now, so I’m not sure if I’ve created the upload form correctly.

March 15, 2014 at 4:38 pm 16665
Tareq Hasan Tareq Hasan

Can you give your site details so I can check it?

March 15, 2014 at 4:41 pm 16667
Paul Paul This reply has been marked as private.
March 15, 2014 at 4:50 pm 16671
Tareq Hasan Tareq Hasan

I just uploaded a new pdf http://kelstonintermediate-2.solutionz-testing.co.nz/test-newsletter/

The pdf uploaded fine and I can download it. So it works.

If you want to show all newsletter PDF’s in this page, you’ve code it that way. WP User Frontend can’t do that for you 🙂

March 15, 2014 at 4:58 pm 16674
Paul Paul

Oh, Okay, I see that if I submit the file to view the newly created post, I can now see the file and view the pdf. With regards to your document attachment, what php file do I add the snipped of code to? Sorry about all of the questions, this is quite a learning curve for me! Lol, I thank you for your speedy response and patience!!! 🙂

Viewing 6 Posts - 1 through 6 (of 6 total)