WP Document Revisions
Pathing still broken in WAMP. Cannot Upload Files (2 posts)

  1. abmeeg
    Posted 2 years ago #

    Apparently the fix you made for WAMP environment didn't hold. I am getting errors when uploading and the uploads folder path in media settings is showing the file path twice, no matter how I set it.

    The fix mentioned in previous posts (shown below) doesn't seem to work anymore, as it is already included in this version.

    function wamp_document_path_filter( $url ) {
    		$url = preg_replace('|^([a-z]{1}):|i', '', $url); //Strip out windows drive letter if it's there.
    		return str_replace('\\', '/', $url); //Windows path sanitization


  2. cojennin
    Posted 2 years ago #

    I don't have a WAMP environment set up at the moment, but I can do so in a few. Do you have anymore information on this issue before I get around to it? Is it giving you any sort of error? Do you have an odd WAMP setup (something very non-standard, etc.)?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Document Revisions
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic