• CorwinRathe

    (@corwinrathe)


    Using version 2.0 of the plugin. It’s been working like a champ till the other day.

    Now the links to the documents handled by the plugin are broken. All 404s. Things directly downloaded via WordPress upload are fine. However plugins showing the following error:

    Upload folder is not writable. Export and file upload features will not be functional.

    Customer support says the folder is writable. However, they did move the server the prior night to a new server with php 5.4. Any help would be much appreciated. We have around 481 docs this plugin is handling.

    https://ww.wp.xz.cn/plugins/wp-document-revisions/

Viewing 2 replies - 1 through 2 (of 2 total)
  • ibc3

    (@ibc3)

    I think I am having the same issue. When trying to upload a document using the single document uploader, I get the error:
    Unable to create directory uploads. Is its parent directory writable by the server?

    Also, all links to existing docs are broken. When we try to view a doc, the link goes to:
    http://vahi.org/documents/2015/04/example.xlsx
    but it does not exist.

    I am running WordPress 4.2.2, and Document Revision 2.0.0, on a php 5.5 server.

    Under Media Settings, My Document Upload Directory is set to /home/content/52/5919852/html/mysite.org/wp-content/uploads.
    Media Settings | My Document Slug is set to http://mysite.org/documents/2015/05/example-document-title.txt.

    Under Documents, when I click on a doc, the permalink says:
    http://mysite.org/documents/2015/04/example.xlsx

    when I look through cPanel, I did not have any directory in the root of the website, other than the usual 3 wp- folders. So, I added a documents folder to see if that helped, but it did not.

    Recently, we moved from php 5.3 (I think) to php5.5. The last time I know that the plugin was working is 4/7/2015, which is before moving to php5.5.

    I have looked for the missing files, and cannot find them in any of the directories, which seems very odd. I have also checked some of our backups to no avail.

    Any ideas? Thanks so much for your help! We have really enjoyed this plugin!!!

    ibc3

    (@ibc3)

    OK, an update to help others who might run across this issue (& hopefully you, CorwinRathe)… Kinda embarrassing that I didn’t realize this before because I was staring right at the problem, but it has to do with moving the site to a different server…

    On the Settings | Media | Document Upload Directory, I had to change the directory to match my new server full path. So in my case, it changed from
    /home/content/52/5919852/html/mysite.org/wp-content/uploads
    to
    /home/myaccount/public_html/mysite.org/wp-content/uploads

    Hope this helps some of the others who have experienced this same issue.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘All document links are now broken?’ is closed to new replies.