Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter faberia

    (@faberia)

    Dear Jacob

    Thanks a lot for the fix.

    I successfully tested it on both win 7 and 10.

    Merry Christmas

    Thread Starter faberia

    (@faberia)

    Dear Jacob

    Thanks for your reply.

    For first, today I tested and found this issue also on Win 10, not only on win 7.

    The differences (multi vs single) with the slashes are found at
    • WPPA_UPLOAD_PATH – The upload directory path.
    • WPPA_DEPOT_PATH – The depot directory path.
    An see also the slashes on both of wp_upload_dir()

    Please find in the follow first the pathes of the erroreous multisite individual and then the single site

    Multisite:

    ABSPATH	WP absolute path.	D:\www\wp_wppa_mu/
    WPPA_ABSPATH	ABSPATH windows proof	D:/www/wp_wppa_mu/
    WPPA_PATH	Path to plugins directory.	D:\www\wp_wppa_mu\wp-content\plugins\wp-photo-album-plus
    WPPA_NAME	Plugins directory name.	wp-photo-album-plus
    WPPA_URL	Plugins directory url.	http://localhost/wp_wppa_mu/wp-content/plugins/wp-photo-album-plus
    WPPA_UPLOAD	The relative upload directory.	wp-content/uploads/sites/1
    WPPA_UPLOAD_PATH	The upload directory path.	D:\www\wp_wppa_mu/wp-content/uploads/sites/1/wppa
    WPPA_UPLOAD_URL	The upload directory url.	http://localhost/wp_wppa_mu/wp-content/uploads/sites/1/wppa
    WPPA_DEPOT	The relative depot directory.	wp-content/uploads/sites/1/wppa-depot
    WPPA_DEPOT_PATH	The depot directory path.	D:\www\wp_wppa_mu/wp-content/uploads/sites/1/wppa-depot
    WPPA_DEPOT_URL	The depot directory url.	http://localhost/wp_wppa_mu/wp-content/uploads/sites/1/wppa-depot
    WPPA_CONTENT_PATH	The path to wp-content.	D:/www/wp_wppa_mu/wp-content
    WPPA_CONTENT_URL	WP Content url.	http://localhost/wp_wppa_mu/wp-content
    wp_upload_dir() : ['basedir']	WP Base upload dir.	D:\www\wp_wppa_mu/wp-content/uploads
    $_SERVER['HTTP_HOST']		localhost

    Single site:

    ABSPATH	WP absolute path.	D:\www\wp_wppa/
    WPPA_ABSPATH	ABSPATH windows proof	D:/www/wp_wppa/
    WPPA_PATH	Path to plugins directory.	D:\www\wp_wppa\wp-content\plugins\wp-photo-album-plus
    WPPA_NAME	Plugins directory name.	wp-photo-album-plus
    WPPA_URL	Plugins directory url.	http://localhost/wp_wppa/wp-content/plugins/wp-photo-album-plus
    WPPA_UPLOAD	The relative upload directory.	wp-content/uploads
    WPPA_UPLOAD_PATH	The upload directory path.	D:/www/wp_wppa/wp-content/uploads/wppa
    WPPA_UPLOAD_URL	The upload directory url.	http://localhost/wp_wppa/wp-content/uploads/wppa
    WPPA_DEPOT	The relative depot directory.	wp-content/wppa-depot/admin
    WPPA_DEPOT_PATH	The depot directory path.	D:/www/wp_wppa/wp-content/wppa-depot/admin
    WPPA_DEPOT_URL	The depot directory url.	http://localhost/wp_wppa/wp-content/wppa-depot/admin
    WPPA_CONTENT_PATH	The path to wp-content.	D:/www/wp_wppa/wp-content
    WPPA_CONTENT_URL	WP Content url.	http://localhost/wp_wppa/wp-content
    wp_upload_dir() : ['basedir']	WP Base upload dir.	D:\www\wp_wppa/wp-content/uploads
    $_SERVER['HTTP_HOST']		localhost

    Hope this parameters help to solve the problem. Thanks.

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