WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. abmeeg
    Member
    Posted 10 months 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
    	}

    http://wordpress.org/extend/plugins/wp-document-revisions/

  2. cojennin
    Member
    Posted 10 months 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.)?

Reply

You must log in to post.

About this Plugin

About this Topic