Hi,
It's actually looking better. You're about 95% fixed, but from what I can tell there is an extra character in ajaxEndpoint.php that is confusing the rest of TubePress. Some PHP files are extremely sensitive to extra whitespace, and I'm guessing that during your edit you had inadvertently introduced some extra whitespace.
To fix this, please ensure that the contents of
wp-content/plugins/tubepress/src/main/php/scripts/ajaxEndpoint.php
match exactly the contents of this file. Here are the contents, for your convenience:
<?php
/**
* Copyright 2006 - 2013 TubePress LLC (http://tubepress.org)
*
* This file is part of TubePress (http://tubepress.org)
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
/*
* WordPress stubbornly will not load except from the global scope.
*/
if (strpos(realpath(__FILE__), 'wp-content' . DIRECTORY_SEPARATOR . 'plugins') !== false) {
include substr(__FILE__, 0, strpos(__FILE__, 'wp-content/plugins/')) . 'wp-blog-header.php';
}
/**
* Boot tubepress.
*/
require 'boot.php';
/**
* Hand off the request to the Ajax handler.
*/
tubepress_impl_patterns_sl_ServiceLocator::getAjaxHandler()->handle();
The biggest thing to be careful of is that the "<?php" is on the very first line of the file, with no extra whitespace before it.
This fix will go out with TubePress 3.0.1, so this will be the last time you'll need to edit this file. Let us know. Thanks!