Topic-icon Undefined method JDocumentOpensearch::addCustomTag()

Active Subscriptions:

None
Alex, 4.1 is partially working now. I cleared the cache, and when I try to login via facebook, i get an error message:

Fatal error: Call to undefined method JDocumentOpensearch::addCustomTag() in /home/......../public_html/plugins/system/phocasite/phocasite.php on line 33

But, if I go back to my homepage and refresh, I am logged in. Any ideas?
The topic has been locked.
Support Specialist
14 years 5 months ago #17414 by alzander
I moved your post to a new thread :)

Not sure what's going on there. Did you ever see that error before upgrading to 4.1, and did you change anything else (especially with Phocasite) while moving to 4.1?

It sounds like Phoca site plugin (never used this) is simply calling the wrong method from a library file in Joomla 1.7. That method does exist, so it's likely them not properly loading the library correctly first. Not sure why this would have cropped up in JFBC 4.1 though.

Can you disable that plugin to see if it fixes things, even temporarily? Is that plugin necessary, and what does it do?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17418 by ryaarm
Well, this is REALLY odd??! I looked at that plugin...not required...disabled.

I went back and tried to login via the facbook button. A window opens asking me where I want to save the file "Search.html ....wtf??!

I've cleared the site cache, browser cache...nothing...still getting that download window
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17419 by ryaarm
The search.html only contains this code:
<?xml version="1.0" encoding="utf-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
  <ShortName>The Laughable News</ShortName>
  <Description></Description>
  <InputEncoding>UTF-8</InputEncoding>
  <Image type="image/vnd.microsoft.icon" width="16" height="16">http://www.laughablenews.com/templates/ja_social/favicon.ico</Image>
  <Url type="application/opensearchdescription+xml" rel="self" template="http://www.laughablenews.com/Search.html?format=opensearch"/>
  <Url type="text/html" template="http://www.laughablenews.com/index.php?option=com_search&searchword={searchTerms}"/>
</OpenSearchDescription>
The topic has been locked.
Support Specialist
14 years 5 months ago #17424 by alzander
That is definitely strange. We changed some of the redirection logic in 4.1. Can you check what your "On User Login" redirection value is set to in JFBConnect, and if it's not set to a menu item (so the user stays on the same page), please try to set it to an explicit menu item for now and see if that fixes your problem.

Obviously, not the best/final solution, but will help us narrow some things down.

Thanks,
Alex
The topic has been locked.
Support Specialist
14 years 5 months ago #17473 by alzander
Ryan,
Just wanted to follow up on this.. it seems from your other posts that this isn't an issue anymore. Can you let us know if our recommendation above fixed it, or something else? We normally don't hound for answers, but with the new release, we like to be prepared in case others have the same problem.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17474 by ryaarm
Weird...I thought I responded to this a while back...

No, it is still an issue. If I choose a specific location for the "Enable Returning User Redirection:" option, ie. Community, then it works fine, and people login ok. But, if I turn off Enable Returning User Redirection: then I get the same weird error where it wants to download a file.

You are a member now. Why don't you go give it a try. I'll turn off the returning user redirection. See if you get the same error
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17475 by ryaarm
But, after you get that download file request, if you cancel it, and refresh the page, you are logged in. ?? tried it on my wife's cpu and it does the same thing
The topic has been locked.
Support Specialist
14 years 5 months ago #17477 by alzander
Yup.. I got the weird file.

Have some ideas of why that's happening with the new release, and we'll have to test. Would it be possible to get into the admin area of your site to see your configuration of some things? If not, we understand.

In general (and maybe this will trigger something), we changed how we redirect a user to the same page they were on when they logged in. Before, we stored the URL of the current page on the page itself in Javascript. Now, we store it in the database for a few different reasons. However, if, when the page loads, an AJAX request or other 'background' activity hits your site, I could see this causing that URL that's requested to be stored instead.

So, do you have anything special going on your site, most likely related to search (since that's what gets downloaded), on your site? That may be what we need to look into further to figure out how to fix the problem.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
14 years 5 months ago #17478 by ryaarm
Hey Alex,

Ok, you have full access to the Admin area.

I don't think there is anything related to search on the site. But, have a look at the admin area and let me know.

Note: I switched redirection back on. I don't want any customers to have issues trying to connect. But, feel free to change it back to off when you are working on it.
The topic has been locked.