• Resolved Jon

    (@freshyjon)


    This doesn’t seem to work with Pressable, since they have the core WP files set up (symbolically linked) differently than most hosting providers.

    For this reason, your use of ABSPATH needs to be adjusted so it knows where to properly find the actualwp-content folder of the site.

    You can read more about this here: https://kb.pressable.com/article/abspath-and-pressable/

    For now, we’ve made this change in the class-siteground-migrator-files-service.php file, but I’m not sure it’s the correct way to fix this issue (there may be other things that need to be fixed).

    https://i.imgur.com/dZcwI3s.png

    // Build the path to the filem using the WP_CONTENT_DIR const.
    // $path = ABSPATH . $maybe_path;
    
    if ( !defined( 'SITEROOTDIR' ) ) {
    	define( 'SITEROOTDIR', str_replace('wp-content','',WP_CONTENT_DIR) );
    }
    $path = SITEROOTDIR . $maybe_path;
    • This topic was modified 6 years, 1 month ago by Jon. Reason: fixing code
    • This topic was modified 6 years, 1 month ago by Jon.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Will look into it first thing on Monday, can you mail me some transfer info at [email protected]

    Thread Starter Jon

    (@freshyjon)

    What sort of transfer info would you be looking for? We’re basically just interested in getting the plugin fixed, so we can test it out on various installs.

    Plugin Author Hristo Pandjarov

    (@hristo-sg)

    SiteGround Representative

    Basically, access to your pressable account so I can start a migration, see what goes wrong and either fix it or tell you more about what to tell Pressable 🙂

    Thread Starter Jon

    (@freshyjon)

    Email sent.

    Plugin Author Stanimir Stoyanov

    (@sstoqnov)

    SiteGround Representative

    Maring as resolved.

    Feel free to reopen the ticket.

    Regards,
    Stanimir

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

The topic ‘Doesn’t work with Pressable’ is closed to new replies.