Support » Plugin: WP Document Revisions » Pathing still broken in WAMP. Cannot Upload Files

  • 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

Viewing 1 replies (of 1 total)
  • 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.)?

Viewing 1 replies (of 1 total)
  • The topic ‘Pathing still broken in WAMP. Cannot Upload Files’ is closed to new replies.