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

tubepress errors: cookie, tabs...


  • Please log in to reply
5 replies to this topic

#1 John D'Orazio

John D'Orazio

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 19 October 2012 - 04:41 PM

I really think Tubepress conflicts with jQuery UI.
I have made sure I have only one copy of jQuery and jQuery UI loading on my Wordpress site. I load them in the head of the page in my child theme, and I have disabled the default jquery loading of wordpress using ""

Then using Firebug I saw an error in the tubepress.js "e.cookie is not defined".
So I tried adding the jquery cookie plugin in the head section of my theme, and that error seems to be gone, but my jQuery UI tabs are still getting a little screwed up.
I am using "auto-rotate" for my jQuery UI Tabs, and I'm seeing this error in Firebug:

Caught exception when booting TubePress: Error: no such method 'rotate' for tabs widget instance

Now why would tubepress be complaining about that? Does tubepress have its own tabs instance?

#2 John D'Orazio

John D'Orazio

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 19 October 2012 - 05:04 PM

Well just looks like the latest version of jQuery UI (1.9) removed the "rotate" method. I hate it when they do things that break your code!
http://jqueryui.com/...d-rotate-method

#3 John D'Orazio

John D'Orazio

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 19 October 2012 - 05:22 PM

And it looks like it was the exact same problem with the "e.cookie not defined" error, jQuery UI 1.9 is again the culprit:
http://jqueryui.com/...d-cookie-option

#4 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 20 October 2012 - 10:07 PM

Yikes! I'm glad that I haven't made the jump to jQuery UI 1.9 yet.

Have you managed to sort everything out? Or did you have to downgrade to the 1.8.x series? Let us know if there's anything we can do to assist.

#5 John D'Orazio

John D'Orazio

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 10 November 2012 - 08:19 PM

I did stick with jQuery UI 1.9, I just fixed my tabs and that got rid of the javascript errors. However I have not succeeded in making Tubepress work. The thumbnails don't respond. Nothing happens when you click on them. No popup, no new window, no shadowbox, not even if I use the default player at the top of the gallery. I get a sort of a whitish overlay on the default player when I click on the thumbnails.
I would like to use shadowbox, and when I choose shadowbox as the "playerLocation", I see that the rel attribute is something like this: rel="tubepress_youtube_shadowbox_somenumber". Is that normal? Shouldn't it just be rel="shadowbox"? Or is shadowbox ok with that?

I am not getting any javascript errors, so I'm not sure what the problem is... Here is the gallery page I'm talking about:
http://www.parrocchi...pr...tubepress/

#6 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 11 November 2012 - 08:31 PM

Hi,

I think the main issue is that your server is returning an HTTP 500. When you click on a thumbnail, TubePress makes an Ajax request to

http://www.parrocchi...pr...erHtml.php

Go ahead and click on that link and you'll see the 500 error. In a working TubePress installation that should return an HTTP 200. Your webserver's error log (or PHP error log) will identify the exact problem.

Let us know what you find. Thanks!