Method(actionM) was not found in module(avatar) ??

i get this message everytime i try to upload a avatar on my website >> 

 

Method(actionM) was not found in module(avatar)

 

Anyone know what could of caused this and a possible fix please?

 

Cheers,

 

Charlie 

You Creature!!
Quote · 19 Jul 2012

Ok i fixed it, it was something to do with a bit of code i found in the forums i added that was meant to re-direct members to member.php after they had uploaded a avatar the code i added is below:

 

in BxAvaModule.php at about line 142

function actionHome () {

if (!$this->_iProfileId) {
$this->_oTemplate->displayAccessDenied ();
return;
}

$this->_oTemplate->pageStart();

if ($_GET['make_avatar_from_shared_photo'] > 0)
$this->_makeAvatarFromSharedPhoto((int)$_GET['make_avatar_from_shared_photo']);

if (isset($_GET['join_text']) && $_GET['join_text']) {
echo MsgBox(_t(strip_tags($_GET['join_text'])));
}

if (isset($_POST['set_avatar'])) {
if (!$this->_cropAvatar ()) {
$aVars = array ('msg' => _t('_bx_ava_set_avatar_error'));
echo $this->_oTemplate->parseHtmlByName ('error_plank', $aVars);
}
}


Change it to this.

function actionHome () {

if (!$this->_iProfileId) {
$this->_oTemplate->displayAccessDenied ();
return;
}

$this->_oTemplate->pageStart();

if ($_GET['make_avatar_from_shared_photo'] > 0)
$this->_makeAvatarFromSharedPhoto((int)$_GET['make_avatar_from_shared_photo']);

if (isset($_GET['join_text']) && $_GET['join_text']) {
echo MsgBox(_t(strip_tags($_GET['join_text'])));
}

if (isset($_POST['set_avatar'])) {
if (!$this->_cropAvatar ()) {
$aVars = array ('msg' => _t('_bx_ava_set_avatar_error'));
echo $this->_oTemplate->parseHtmlByName ('error_plank', $aVars);
} else {
header("Location: ../../member.php");
}
}

 

So i changed it back to what it was in the first place and it seems ok now, i don't get a re-direct after avatar upload but avatar works ok now, if anyone has any idea on what i would need to change in that bit of code for it to work then please  let me know :)

 

Cheers,

 

Charlie 

i get this message everytime i try to upload a avatar on my website >> 

 

Method(actionM) was not found in module(avatar)

 

Anyone know what could of caused this and a possible fix please?

 

Cheers,

 

Charlie 

 

You Creature!!
Quote · 19 Jul 2012

ok its still happening, whenever i try to upload a avatar, upload a photo in general, and select a photo from a album to be the profile picture, whats wrong? :(

You Creature!!
Quote · 19 Jul 2012

I'm getting the same thing.  No idea why.

 

Anyone?

Quote · 23 Jul 2012

 did you install the code too or as it just started happening without you changing anything?

 

I'm getting the same thing.  No idea why.

 

Anyone?

 

You Creature!!
Quote · 23 Jul 2012

 I narrowed it down to a problem with the flash upload system, so for a quick walk around i would try deactivating the flash uploader on your admin panel  modules>photos>settings> Available uploaders then un-tick the flash uploader, hope this helps :)

 

 did you install the code too or as it just started happening without you changing anything?

 

I'm getting the same thing.  No idea why.

 

Anyone?

 

 

You Creature!!
Quote · 23 Jul 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.