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

1.8 photo,video,and many other plugin crash my site. | Forum

Lee
Lee Oct 9 '15

I upgrade my site to 1.8 and when I reactive photo, newfeeds, video and other plugins my site will not working. If I deactive photo, video my site will work.  

 

When active video got this error

OW Debug - Error

Message:

Argument 1 passed to VIDEO_CLASS_EventHandler::adsEnabled() must be an instance of BASE_EventCollector, instance of BASE_CLASS_EventCollector given

File:

/home/*****/public_html/ow_plugins/video/classes/event_handler.php

Line:

230

 

 

When active photo got this error

 

OW Debug - Error

Message:

Argument 1 passed to PHOTO_CLASS_EventHandler::adsEnabled() must be an instance of BASE_EventCollector, instance of BASE_CLASS_EventCollector given

File:

/home/*****/public_html/ow_plugins/photo/classes/event_handler.php

Line:

560

 

 

When active newsfeed got this

 

OW Debug - Warning

Message:

Missing argument 2 for BASE_CLASS_Attachment::__construct(), called in /home/kouxee/public_html/ow_plugins/newsfeed/components/update_status.php on line 79 and defined

File:

/home/kouxee/public_html/ow_system_plugins/base/classes/attachment.php

Line:

39

OW Debug - Warning

Message:

Missing argument 3 for BASE_CLASS_Attachment::__construct(), called in /home/kouxee/public_html/ow_plugins/newsfeed/components/update_status.php on line 79 and defined

File:

/home/kouxee/public_html/ow_system_plugins/base/classes/attachment.php

Line:

39

OW Debug - Notice

Message:

Undefined variable: uid

File:

/home/kouxee/public_html/ow_system_plugins/base/classes/attachment.php

Line:

43

OW Debug - Notice

Message:

Undefined variable: uid

File:

/home/kouxee/public_html/ow_system_plugins/base/classes/attachment.php

Line:

47

OW Debug - Notice

Message:

Undefined variable: buttonId

File:

/home/kouxee/public_html/ow_system_plugins/base/classes/attachment.php

Line:

49

OW Debug - Notice

Message:

Undefined variable: uid

File:

/home/kouxee/public_html/ow_system_plugins/base/classes/attachment.php

Line:

59

 

Any help?

ross Team
ross Oct 12 '15
Please install the latest Advertisement plugin on your website, uninstall completely the current one and install new one from the store, see if the issue persists. 


As to other warnings, please attach these two files here

ow_plugins/newsfeed/components/update_status.php

ow_system_plugins/base/classes/attachment.php

JoshWho
JoshWho Oct 12 '15
The advertisement plugin does that to my site as well. I have seen way to many people complain about this. It needs recoded to be more compatible with every ones Oxwall sites. I am currently running Arons adsense pro plugin because it works without any issues. I tried using the Original advertisement plugin 3 different times on 3 different builds and crashed every time.


As you can see here  http://www.oxwall.org/forum/46


There is alot of people reporting that.

The Forum post is edited by JoshWho Oct 12 '15
Lee
Lee Oct 13 '15

Quote from ross Please install the latest Advertisement plugin on your website, uninstall completely the current one and install new one from the store, see if the issue persists. 


As to other warnings, please attach these two files here

ow_plugins/newsfeed/components/update_status.php

ow_system_plugins/base/classes/attachment.php

After uninstall the Advertisement plugin, I didn't see the error but I not sure if I completely uninstall the plugin.  Can you show me or point to to a forum that show uninstall completely a plugin.


The attachment are the 2 files you ask ross ( I try to attach PHP files but it doesn't allow me.  I copy the file and save as txt file)

Attachments:
  attachment.txt (2Kb)
  update_status.php.txt (7Kb)
JoshWho
JoshWho Oct 13 '15
To completely remove just go to here




Then Click delete and it will be completely removed.



Thats it.

Lee
Lee Oct 15 '15
Any update on the newfeed warning and notice ross?
ross Team
ross Oct 15 '15
Lee, did you update your newsfeed plugin, as the files you sent me update_status.php are different from the latest version of newsfeed?
Lee
Lee Oct 15 '15
After upgrade my site to 1.8 and then I update all the plugins.
Lee
Lee Oct 15 '15
Should I uninstall the newfeed plugin and download the latest version and install?
Lee
Lee Oct 15 '15
If you want I can PM my FTP and admin detail to you to look at my site.
ross Team
ross Oct 15 '15
No need to pm your details


Go to the ow_plugins/newsfeed/plugin.xml file and check what build you have there

Lee
Lee Oct 15 '15

<?xml version="1.0" encoding="utf-8"?>


<plugin>

    <name>Newsfeed</name>

    <key>newsfeed</key>

    <description>Newsfeed with likes and comments, Facebook-style</description>

    <author>Oxwall Foundation</author>

    <authorEmail>plugins@oxwall.org</authorEmail>

    <authorUrl>http://www.oxwall.org/foundation</authorUrl>;

    <developerKey>e547ebcf734341ec11911209d93a1054</developerKey>

    <build>7071</build>

    <copyright>(C) 2009 Oxwall Foundation. All rights reserved.</copyright>

    <license>The BSD License</license>

    <licenseUrl>http://www.opensource.org/...hp</licenseUrl>;

</plugin>


ross Team
ross Oct 15 '15
well, you have old version of the newsfeed

please download new version from the store and do manual upgrade according to the tutorial: https://docs.oxwall.org/install:update

Lee
Lee Oct 15 '15
Okay thanks I will try that.
Lee
Lee Oct 15 '15
After install latest version newfeed the newfeed warning and notice are gone.  


Thank you ross. 

ross Team
ross Oct 15 '15
Great, thanks for letting us know