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

Upload photo don't work[Solved] | Forum

kriann
kriann Feb 19 '15
If I want to upload a photo, I get the message :


Change profilephoto

undefined


Can somebody help me.


Thanks

The Forum post is edited by ross Feb 20 '15
kriann
kriann Feb 19 '15
I've looked around the forum, but I haven't found anything about photos and undefined
ross Team
ross Feb 19 '15
Krian, do you mean you have this error while joining the website? If so, please check this link: http://www.oxwall.org/forum/topic/29249?&page=1 if not, please provide more details when does this happen, screenshot, as many details as possible. 
kriann
kriann Feb 20 '15
Hi ross, 


Thank you very much.

I think i've choosen the right social netwerk 

ross Team
ross Feb 20 '15
Is your issue resolved with the fix?
kriann
kriann Feb 20 '15
Yes, it's solved with this fix


in /ow_system_plugins/base/classes/event_handler.php

line 822

replace this: 


public function onAddMembersOnlyException( BASE_CLASS_EventCollector $event )

    {

        $event->add(array('controller' => 'BASE_CTRL_Join', 'action' => 'index'));

        $event->add(array('controller' => 'BASE_CTRL_Join', 'action' => 'joinFormSubmit'));

        $event->add(array('controller' => 'BASE_CTRL_Join', 'action' => 'ajaxResponder'));

        $event->add(array('controller' => 'BASE_CTRL_Captcha', 'action' => 'index'));

        $event->add(array('controller' => 'BASE_CTRL_Captcha', 'action' => 'ajaxResponder'));

        $event->add(array('controller' => 'BASE_CTRL_User', 'action' => 'forgotPassword'));

        $event->add(array('controller' => 'BASE_CTRL_User', 'action' => 'resetPasswordRequest'));

        $event->add(array('controller' => 'BASE_CTRL_User', 'action' => 'resetPassword'));

        $event->add(array('controller' => 'BASE_CTRL_User', 'action' => 'ajaxSignIn'));

        $event->add(array('controller' => 'BASE_CTRL_ApiServer', 'action' => 'request'));

        $event->add(array('controller' => 'BASE_CTRL_Unsubscribe', 'action' => 'index'));

        $event->add(array('controller' => 'BASE_CTRL_BaseDocument', 'action' => 'redirectToMobile'));



with this: 



public function onAddMembersOnlyException( BASE_CLASS_EventCollector $event )

    {

        $event->add(array('controller' => 'BASE_CTRL_Join', 'action' => 'index'));

        $event->add(array('controller' => 'BASE_CTRL_Join', 'action' => 'joinFormSubmit'));

        $event->add(array('controller' => 'BASE_CTRL_Join', 'action' => 'ajaxResponder'));

        $event->add(array('controller' => 'BASE_CTRL_Captcha', 'action' => 'index'));

        $event->add(array('controller' => 'BASE_CTRL_Captcha', 'action' => 'ajaxResponder'));

        $event->add(array('controller' => 'BASE_CTRL_User', 'action' => 'forgotPassword'));

        $event->add(array('controller' => 'BASE_CTRL_User', 'action' => 'resetPasswordRequest'));

        $event->add(array('controller' => 'BASE_CTRL_User', 'action' => 'resetPassword'));

        $event->add(array('controller' => 'BASE_CTRL_User', 'action' => 'ajaxSignIn'));

        $event->add(array('controller' => 'BASE_CTRL_ApiServer', 'action' => 'request'));

        $event->add(array('controller' => 'BASE_CTRL_Unsubscribe', 'action' => 'index'));

        $event->add(array('controller' => 'BASE_CTRL_BaseDocument', 'action' => 'redirectToMobile'));

        $event->add(array('controller' => 'BASE_CTRL_AjaxLoader', 'action' => 'init'));

        $event->add(array('controller' => 'BASE_CTRL_AjaxLoader', 'action' => 'component'));

        $event->add(array('controller' => 'BASE_CTRL_Avatar', 'action' => 'ajaxResponder'));

ross Team
ross Feb 20 '15
Great.