Topic: File Upload Not Working

I am trying to upload a PDF but it is not working. Here is the page:
http://mangiagio.com/deligrill.php

You can see the link after the first paragraph. I changed the permissions in the directory to 777.

Can someone help me?

Re: File Upload Not Working

Hi

I can see two problems.

If you look at the source code, you've got

<!--<a href="http://www.mangiagio.com/contenteditor_files/deli_2011.pdf">http://www.mangiagio.com/contenteditor_files/deli_2011.pdf<br />
    </a></p>-->

The  <!-- and --> in HTML are used to indicate that whatever is between those two should be read as a comment. http://htmlhelp.com/reference/wilbur/misc/comment.html explains this in more detail.

What this means is that your code does not appear when you view the page in your web-browser, as the browser thinks this is just a comment to be read by someone looking at the code.

If you remove <!-- and --> from your code, then the link appears in a browser like this:

http://www.mangiagio.com/contenteditor_ … i_2011.pdf

The second issue is that the pdf the link points to doesn't exist in the location you've said.

Hope this helps.

Re: File Upload Not Working

Hi David,

Thanks for the reply. First issue - I commented out the code because the link isn't working. I've uncommented it for now just so I don't confuse anyone else. My real issue is #2. SimpleCMS is not uploading the file from the staging server to my live server.

Re: File Upload Not Working

Simon has emailed you Keith, it appears you're in the old system which isn't really supported at all anymore. There was a problem with the image upload feature but this has now been fixed.

Please move over to the new system as soon as you get the chance as you will find it much easier and slicker to use.