Topic-icon v8 update explosion....

5 years 10 months ago #64040 by fb_100000593916283
I have never had an issue when updating JFBC in the YEARS I've been using it. Today it happened.

I went in and looked at the extension updates. Both JFBC and SCLogin needed updating. I am running the current version of Joomla as of the date of this post. I can't see the version any longer to copy/paste it because even my CPL is broken.

First I updated SCLogin. No problem.

As soon as I let Joomla updater try to update JFBC I get this error in the Joomla CPL:
An error has occurred.
    0 Call to undefined method plgOpenGraphJomSocial::addSupportedAction()

There is a button to "return to CPL" but it just refreshes this error page.

The front end is also broken with this error:
0 Call to undefined method plgOpenGraphJomSocial::addSupportedAction()

I have tried going in to PHPMyAdmin and manually disabling the plugins that contain "OpenGraph" or "Jomsocial" etc. None of my trials have fixed it.

I also have not even had Jomsocial installed on this site in over a year. I uninstalled it a long time ago although there are tables for it still there in the DB. Never had an issue with updates even in the last few months until now. It's like JFBC is trying to load a plugin for Jomsocial and it's not installed. Why it is doing this I have no idea......:(

So my site has been completely down for an hour or so. I have a backup from 2 days ago, but would rather FIX this, not wipe out user activity since then.

Help?
The topic has been locked.
Support Specialist
5 years 10 months ago #64041 by alzander
Replied by alzander on topic v8 update explosion....
Sorry to hear that Steve. Can you send me FTP access to your site? We'll get you fixed up ASAP.

Open Graph Actions were removed in this release. It sounds like something on your site either a) didn't get updated properly (like the JomSocial Open Graph plugin) or b) some other integration in JomSocial that we're unaware of is calling functionality that doesn't exist in JFBConnect anymore and that's causing the problem.

We'd love to get it fixed though so we know what we can do to prevent it going forward...

Thanks,
Alex
The topic has been locked.
5 years 10 months ago #64042 by fb_100000593916283

alzander wrote: Sorry to hear that Steve. Can you send me FTP access to your site? We'll get you fixed up ASAP.

Open Graph Actions were removed in this release. It sounds like something on your site either a) didn't get updated properly (like the JomSocial Open Graph plugin) or b) some other integration in JomSocial that we're unaware of is calling functionality that doesn't exist in JFBConnect anymore and that's causing the problem.

We'd love to get it fixed though so we know what we can do to prevent it going forward...

Thanks,
Alex

Sent you an email. Thanks!
The topic has been locked.
Support Specialist
5 years 10 months ago #64043 by alzander
Replied by alzander on topic v8 update explosion....
Ahh.. thinking it through with what you said... if you *had* JomSocial installed but no longer do *and* our Open Graph - JomSocial plugin is still installed and enabled from the time that you had it installed, then JFBConnect would *not* have upgraded the plugin because it couldn't detect JomSocial anymore. Therefore, our 'old' plugin is still active and freaking out because it can't do what it needs to do.

To fix, here's what I'd recommend (or send FTP and we can do it and dig in deeper if it doesn't work):
* Edit the /plugins/opengraph/jomsocial/jomsocial.php file
* Around line 35, you'll see some lines that have "addSupportedAction". Delete those lines
* Your site should load

After that, in the installation manager, uninstall the Open Graph - JomSocial plugin since you don't need it anymore.

Let us know if that helps!
Alex
The topic has been locked.
Support Specialist
5 years 10 months ago #64044 by alzander
Replied by alzander on topic v8 update explosion....
I see we cross-posted. I just went to the front-end of your site and it is loading. If the above fixed it, great! I haven't gone into FTP yet and don't want to collide with anything you're doing.. so just let me know if you're having issues and we'll dig in.

Sorry for the trouble!
Alex
The topic has been locked.
5 years 10 months ago #64045 by fb_100000593916283

alzander wrote: I see we cross-posted. I just went to the front-end of your site and it is loading. If the above fixed it, great! I haven't gone into FTP yet and don't want to collide with anything you're doing.. so just let me know if you're having issues and we'll dig in.

Sorry for the trouble!
Alex

Oddly......I didn't do anything else other than the plugin disabling trials. Nothing fixed it that I saw.

When I saw your crosspost comment, I was gong to look at that PHP file you mentioned, but then your last comment came in saying it was working. When I loaded the back end the CPL now comes up as well with this message at the top:
Updating component was successful.

No clue what happened then!

If you want to poke around to see if you can find out how to avoid this for anyone else go for it!
The topic has been locked.
Support Specialist
5 years 10 months ago #64046 by alzander
Replied by alzander on topic v8 update explosion....
That is strange.. unsure what's happened.. your site is self-healing.. congrats! :D

Seriously though, you sent FTP credentials, but now that the admin area is accessible, it's easier to look in there for things. Just to make sure things are purged properly, I'd recommend one last set of things:
* Go to the plugin manager
* Uninstall/Disable the Open Graph - JomSocial plugin and any other Open Graph plugins you don't have extensions for or aren't using
* Re-install the JFBConnect v8 zip file.

The main reason for that is to ensure that all of the JFBConnect files are upgraded properly and nothing got partially updated when the site crashed.

From the front-end though, I've clicked around and things seem fine now.. thankfully

Thanks,
Alex
The topic has been locked.
5 years 10 months ago #64048 by fb_100000593916283

alzander wrote: That is strange.. unsure what's happened.. your site is self-healing.. congrats! :D


The only thing I can think of is that although I disabled that JomSocial Open Graph plugin via SQL, perhaps it took some time for the change to be seen? I'm not sure.

alzander wrote: Seriously though, you sent FTP credentials, but now that the admin area is accessible, it's easier to look in there for things. Just to make sure things are purged properly, I'd recommend one last set of things:
* Go to the plugin manager
* Uninstall/Disable the Open Graph - JomSocial plugin and any other Open Graph plugins you don't have extensions for or aren't using


The only component I have uninstalled has been JomSocial. It said v7.X on that Open Graph plugin. I uninstalled that now as well.

However, there are three other Open Graph plugins that must be new because they are v8:

File Attachment:


I didn't touch those but oddly I do have Easyblog installed and the plugin for that is disabled. Perhaps it's disabled because EasyBlog has it's own social plugins?

I'm tempted to completely delete all the DB tables for it as well. Is there anything else I can do to ensure that NOTHING looks for JomSocial anymore and no traces are left? Perhaps some C4? LOL

alzander wrote: * Re-install the JFBConnect v8 zip file.

The main reason for that is to ensure that all of the JFBConnect files are upgraded properly and nothing got partially updated when the site crashed.


No burps that time other than I had to load it from URL rather than the the local file. Went to autotune screen as expected.

alzander wrote: From the front-end though, I've clicked around and things seem fine now.. thankfully

Thanks,
Alex


Thank YOU for the fast response!
The topic has been locked.
Support Specialist
5 years 10 months ago #64049 by alzander
Replied by alzander on topic v8 update explosion....
On installation, JFBConnect looks for the folders of the extensions.. so, if you've uninstalled JomSocial, those folders were deleted. We *don't* look for the database tables because many extensions leave those behind (JFBConnect included) so that you don't lose data when you uninstall. Removing the tables is up to you but *shouldn't* cause problems. Again though, the problem this time was that we *didn't* detect JomSocial (properly) but our installer isn't smart enough to remove or update the Open Graph plugin that was installed previously for it. It's sorta backwards.

As for EasyBlog, we install plugins for extensions we detect that we have plugins for. We never automatically publish anything though as that's a no-no in my opinion to make sure we don't cause problems.

I hope that all helps, and no problem for the quick support. We try to be quick always and double-down when we have a new release for just this reason :)

Thanks,
Alex
The topic has been locked.