Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

Only First Video Plays, Thumbnails Not Clickable


Best Answer eric, 31 July 2013 - 08:51 AM

Good to hear. This change actually went out with TubePress 3.1.0, so from now on you should be all set.

 

Thank you!

Go to the full post


  • Please log in to reply
7 replies to this topic

#1 ekanna

ekanna

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 08 July 2013 - 03:21 PM

http://www.adamscheinermd.com/tv/

 

You can see the problem at that url - all thumbnails display, but when clicked, they lead to a greyed-out version of the first video in the sequence.



#2 brandon

brandon

    Advanced Member

  • TubePress Staff
  • 1989 posts

Posted 10 July 2013 - 07:28 PM

Hi ekanna,

 

Could you please try uninstalling and re-installing tubepress as it appears that there is an AJAX error when any new video is selected.

 

Let us know.

 

Thanks!


Want a faster, more personalized support experience? Open a ticket with us! We will be gradually phasing out forum-based support in favor of a proper ticketing system. Please help us help you!


#3 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 15 July 2013 - 08:14 PM

Hi ekanna,
 
First I'd like to apologize for the delay in response. Most of the team was out of the office last week and we are only now catching up.
 
I believe that you have uncovered a new bug. To help us test the fix, please change this line in your TubePress installation from

include substr(__FILE__, 0, strpos(__FILE__, 'wp-content/plugins/')) . 'wp-blog-header.php';

to

include substr(__FILE__, 0, strpos(__FILE__, 'wp-content' . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR)) . 'wp-blog-header.php';

That should fix the problem for you - please let us know. Thank you!



#4 ekanna

ekanna

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 July 2013 - 12:57 PM

Unfortunately, it doesn't seem to have fixed the issue - the secondary videos still don't play.

To confirm, I edited the file /wp-content/plugins/tubepress_pro_3_0_1/src/main/php/scripts/ajaxEndpoint.php - that is where the change should be made, yes?



#5 ekanna

ekanna

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 17 July 2013 - 12:58 PM

Hi ekanna,

 

Could you please try uninstalling and re-installing tubepress as it appears that there is an AJAX error when any new video is selected.

 

Let us know.

 

Thanks!

That was done twice, then once again after we upgraded, but unfortunately did not resolve the issue.



#6 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 19 July 2013 - 06:57 PM

Thanks for helping us test!

 

Looks like when you made the edit, you accidentally introduced a syntax error. Please make sure that your copy of

/wp-content/plugins/tubepress_pro_3_0_1/src/main/php/scripts/ajaxEndpoint.php

has exactly the following content:

<?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' . DIRECTORY_SEPARATOR . 'plugins' . DIRECTORY_SEPARATOR)) . 'wp-blog-header.php';
}

/**
 * Boot tubepress.
 */
require 'boot.php';

/**
 * Hand off the request to the Ajax handler.
 */
tubepress_impl_patterns_sl_ServiceLocator::getAjaxHandler()->handle();

Give that a whirl? Thanks!



#7 ekanna

ekanna

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 31 July 2013 - 08:11 AM

That seems to have fixed it - thanks so much!



#8 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 31 July 2013 - 08:51 AM   Best Answer

Good to hear. This change actually went out with TubePress 3.1.0, so from now on you should be all set.

 

Thank you!