Publisher is EE6 compatible, but it does not support the Fluid field. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Vimeo Search Hanging

Status Resolved
Add-on / Version Reel
Severity Critical
EE Version 17

Michael Kelleher

Nov 28, 2012

I’m having an issue where the vimeo search is hanging. Youtube seems to be working fine

Firebug console is giving me the following error


A PHP Error was encountered

Severity: Notice

Message: Undefined property: EE::$addons

Filename: wyvern_video/helper.wyvern_video.php

Line Number: 298
Fatal error: Call to a member function get_installed() on a non-object in /www/******/public_html/*****/expressionengine/third_party/wyvern_video/helper.wyvern_video.php on line 298

#1

BoldMinded (Brian)

Nov 28, 2012

Michael, you’re seeing this error in the control panel, right?

#2

BoldMinded (Brian)

Nov 28, 2012

Can you add this code so the beginning of that method looks like this:

public function get_settings()
    {
        if ( ! isset($this->EE->addons))
        {
            var_dump(debug_backtrace()); die;
        }

        if ( ! isset($this->cache['settings']) AND array_key_exists('wyvern_video', $this->EE->addons->get_installed()))
        {
#3

BoldMinded (Brian)

Nov 28, 2012

That debug_backtrace should reveal what was called prior to this error happening.

#4

Michael Kelleher

Nov 28, 2012

Brian,

I’ve added the debug_backtrace but to be honest I’m unsure of what I’m looking for. I’ve still got you setup as superadmin if you wouldn’t mind having a look.

#5

Michael Kelleher

Nov 28, 2012

Error is in the control panel BTW.

#6

BoldMinded (Brian)

Nov 29, 2012

Ok, this is an easy one. I couldn’t replicate the errors you were seeing, but I was able to replicate the hanging of the Vimeo load. Make sure your system/expressionengine/cache folder is writable, either 775 or 777. If I make my cache folder not writable it hangs, as soon as I make it writable, it works.

#7

Michael Kelleher

Nov 30, 2012

Brian. Cache was 775. I changed it to 777 but it made no difference. I tried it without your backtrace and got initial error. With debug backtrace this is what I’m getting, in firebug, along with a spinner.

Params:
ACT 42
method videos.search
page 1
per_page 12
query currency

Headers:
Response Headers
Connection Keep-Alive
Content-Encoding gzip
Content-Type text/html
Date Fri, 30 Nov 2012 09:30:23 GMT
Keep-Alive timeout=2, max=150
Server Apache
Set-Cookie exp_sessionid=8e6792a742863a4b15f7efe476fb2e277db0a7db; expires=Fri, 30-Nov-2012 11:30:24 GMT; path=/ exp_expiration=1385803824; expires=Sat, 30-Nov-2013 09:30:24 GMT; path=/
Transfer-Encoding chunked
Vary Accept-Encoding, User-Agent
Request Headers
Accept application/json, text/javascript, */*; q=0.01
Accept-Encoding gzip, deflate
Accept-Language en-US,en;q=0.5
Connection keep-alive
Cookie exp_last_visit=1354097684; exp_last_activity=1354266301; __utma=59557165.1882601694.1318357757.1353920893.1353933676.42; __utmz=59557165.1352887056.38.5.utmccn=(organic)|utmcsr=google|utmctr=|utmcmd=organic; exp_perpage=50; exp_expiration=1385803630; exp_sessionid=8e6792a742863a4b15f7efe476fb2e277db0a7db; exp_cartthrob_session_id=7b6aa67835822340e62bba485c392f1e
Host http://www.website.com
Referer http://www.website.com/system/index.php?S=8e6792a742863a4b15f7efe476fb2e277db0a7db&D=cp&C=content_publish&M=entry_form&channel_id=29&entry_id=569&&filter;=YToxOntzOjEwOiJjaGFubmVsX2lkIjtzOjI6IjI5Ijt9
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/17.0 Firefox/17.0
X-Requested-With XMLHttpRequest

HTML:
I’ll email you the html directly (large doc)

Thanks again for your support as it is essential to this project I get the vimeo side of things working.

#8

BoldMinded (Brian)

Dec 03, 2012

Thanks for sending the FTP info, will look into this Tuesday night.

#9

Michael Kelleher

Dec 03, 2012

Thanks Brian. I appreciate it.

#10

BoldMinded (Brian)

Dec 09, 2012

Michael, I finally got around to looking at this and fixed the file on your server. The Vimeo files load fine now. I’ll double check my changes locally to make sure the change doesn’t adversely affect anything else. You should be good to go, sorry about the delay.

#11

Michael Kelleher

Jan 18, 2013

Brian,

Sorry to bother you again but my client is experiencing the vimeo hang again. I can’t replicate the problem here buy client using osx 10.75 and firefox 17.01.

Client can search youtube fine but vimeo hangs. You were helping me with another issue and maybe you overwrote the changes made to fix this issue.

#12

BoldMinded (Brian)

Jan 19, 2013

Is the cache folder still writable?

#13

BoldMinded (Brian)

Jan 20, 2013

Note to self, FTP creds sent in email on 1/20

#14

BoldMinded (Brian)

Jan 21, 2013

For future and others to reference: The issue ended up being that the client was accessing the site via site.com, but should have been going to http://www.site.com.

Login to reply