We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Blog Update Broke my site | Forum

Jason Hendrix
Jason Hendrix Nov 25 '14
There was an update for the site. I updated and got the following error
Fatal error: Class 'BOL_ContentService' not found in /home/hccscru/public_html/ow_plugins/blogs/classes/content_provider.php on line 198

I can't access my site at all now.. Can someone please help me on this issue?
Jason Hendrix
Jason Hendrix Nov 25 '14
I copied the blog folder over and deleted its entirety from the plugins section and was able to pull my site back up. Would still like to know whats going on with this..
this is line 198
  OW::getEventManager()->bind(BOL_ContentService::EVENT_COLLECT_TYPES, array($this, "onCollectTypes"));
Jason Hendrix
Jason Hendrix Nov 25 '14
I had a copy of the old blog. I deleted the new blog with the new update that apparently is breaking the site. I've copied the old blog files back over and it seems to be working. Please keep me updated or posted on this new blog updated.

Rebecca
Rebecca Nov 25 '14
I'm having the exact same issue....site completely blank after updating the 'blogs' plugin....no access at all....unfortunately I do not have a copy of the old 'blogs' folder as I only just registered a few days ago and haven't made any backups yet...


I tried to 'execute' the 'uninstall.php' but no matter which path, session or permission I try....I keep getting Errors and 'Forbidden' pages.... (My site is hosted by Arvixe). Any help would be much appreciated! Thanks.

ross Team
ross Nov 25 '14
Have you updated platform first and then plugins?

Go here: /ow_system_plugins/base/bol/ and make sure there's a file content_service.php

Rebecca
Rebecca Nov 25 '14
Hi ross, thanks for the quick response! No, unfortunately I didn't update the platform first.....and no 'content_service.php' file in my /ow_system_plugins/base/bol/ directory....
Rebecca
Rebecca Nov 25 '14
...only 'config_service.php' to be exact...
ross Team
ross Nov 26 '14
You need to disable blog plugins via phpmyadmin

Go to ow_base_plugins table locate Blogs row and put 0 in the column isActive

You will have an access to the admin panel. You will need to do the update of the platform. Then update the rest of the plugins. 


For the future reference, always do update of the platform first, then plugins. Make a backup beforehand. 

Jason Hendrix
Jason Hendrix Nov 26 '14
Thank you Ross, i'll try this later.  Rebecca, if you need a copy of the old blog folder,I can send you  a copy.. In the meantime I suggest SAVING your current Blog folder to your desktop. Then completely deleting the blog folder on the server via FTP. That should help you get your site back up and going. Go ahead and update the Oxwall site itself, then drop the folder back into the plugins. That should work for ya! If not, just shoot me a  message and i'll send ya my copy of the old blog files which are the most recent ones BEFORE this current update.  Be sure to back up your site before you Update ANYTHING just incase this happens again.

Cheerio

Jason Hendrix
Jason Hendrix Nov 26 '14
Or you can do it the way Ross suggested :) He's the expert after all! :)
Rebecca
Rebecca Nov 26 '14
Thanks Jason!! :) Verrry kind of you! Pls do send or 'wetransfer' me the old blogs folder if you can to: weblovawebservices@gmail.com


Ross, thanks for your advice as well.....unfortunately I do not see any isActive column....just 'Name'....'Size'....'Last Modified'.....'Type'....and...'Perms'...


I've made a Home Directory backup, so I'll try Jasons suggestion first....pretty sure it will work.


Will let you both know!

ross Team
ross Nov 26 '14
Rebecca, be more attentive, I said via phpmyadmin in your Database
Rebecca
Rebecca Nov 27 '14

When I set isActive to '0' for blogs via phpmyadmin and reload my website I get an E500 error msg....


Type: Exception

Message; Class BLOGS_CMP_BlogWidget does not exist

File: /home/username/public_html/ow_system_plugins/base/components/drag_and_drop_item.php

Line: 207


Seems a logical error to me, since the widget has been deactivated....


Same error as when I would temporarily remove the blogs folder from ow_plugins without replacing it with an old blogs folder....


Rebecca
Rebecca Nov 27 '14
Sorry! I just realised I had to load my website 'admin page'....i finally have access!! :) 


(I'm such a noob..)


Ivars
Ivars Nov 27 '14
Hello Rebecca does it worked for you??Ive got same probleme with newsfeed , but I have acces to admin and when uploud new newsfeed its coming back with Class 'BOL_ContentService' not found in /home/onerdv/public_html/ow_plugins/newsfeed/classes/content_provider.php on line 210
Rebecca
Rebecca Nov 27 '14

Hi Ivars,


Make sure you have a backup first!


Have you tried the above advice from ross yet? (disabling the Newsfeed plugin from your phpmyadmin). Then update the platform to 1.7.2 first. Then reactivate the Newsfeed plugin from your admin panel and it will probably ask you to ‘update platform’ again to change the source code for Newsfeed plugin.


Hope it works...

ross Team
ross Nov 27 '14
Rebecca +1
Ivars you need to update your platform first, then plugins
read my reply here: http://www.oxwall.org/forum/topic/29115?page=1#post-123971
just do it for the newsfeed plugin, as per instructions for blogs.
Kirk Williams
Kirk Williams Dec 14 '17

Quote from ross You need to disable blog plugins via phpmyadmin

Go to ow_base_plugins table locate Blogs row and put 0 in the column isActive

You will have an access to the admin panel. You will need to do the update of the platform. Then update the rest of the plugins. 


For the future reference, always do update of the platform first, then plugins. Make a backup beforehand. 

Thank you Ross!  My issue was slightly different, but disabling via PHPmyadmin as you suggested worked beautifully!

There really should be some kind of warning to update the platform before plugins...    oh, wait a sec...   LOL!

Live and learn.  Thanks for your guidance