sorry folks, me again!

When I try uploading an avatar, I get Method(actionM) was not found in module(avatar)  What did I do wrong this time?

And is there a way I can make members profile pic into their avatar as well, When a member joins and uploads a proofile pic, on the members page it still shows the shadow pic, they also need to upload an avatar

11 Feb 2013

I am just guessing - but it seems like something is not redirecting correctly - Normally I can get a similar message by doing something like:

 

http://www.mytherapysession.com/m/photos/all

Technically there is no function actionsAll in the photos module, so I get that error similar to yours. So I am guessing something messed up and is looking for function actionM - which does not exist.

 

I would try uninstalling - uploading a fresh avatar module, and then reinstalling. See if that helps.

caredesign.net
12 Feb 2013

Gave it a go, uninstall, clean cache, reinstall, clean cache. All it did was delete all avatars that were there, so now EVERYONE has a shadow pic :) Same error :( Its not the pic being uploaded, i did that successfully on another site.

 

12 Feb 2013

BxAvaModule.php under the avatar module classes folder, around line 217:

function actionSetAvatar ($iProfileId, $sImg)
    {
        $this->_setAvatar ($iProfileId, $sImg, false);
    }

change to

function actionSetAvatar ($iProfileId, $sImg)
    {
        $this->_setAvatar ($iProfileId, $sImg, true);
    }

I just tried this and when i uploaded the avatar after account creation it went straight to being my current avatar icon

caredesign.net
12 Feb 2013

Thanks for that one! I shall try that if I ever get the avatar module working... what I didnt mention is when you go to avatar on mine (www.ezservices.co.uk/dolph) the module is constantly displaying the loading thingy! try to go to the next page on current system avatars, you get another loading indicator that stays there and does not change the page. I have replaced my Avatar folder in modules with one that I know does work from another site

 

12 Feb 2013

looking at the above code alteration, it looks like it makes the current or uploaded avatar the profile pic. What I want to do is the other way round, when they upload a profile pic, I want to automatically make it their avatar so this shows in member list (if that makes any sense)

 

12 Feb 2013

 that is the way it worked in .9

in 7.1 you actually have to visit profile page and select "avatar" on the menu.

with Professors code, each and every photo upload would change the avatar, that would not be good. IMO

looking at the above code alteration, it looks like it makes the current or uploaded avatar the profile pic. What I want to do is the other way round, when they upload a profile pic, I want to automatically make it their avatar so this shows in member list (if that makes any sense)

ManOfTeal.COM a Proud UNA site, six years running strong!
12 Feb 2013

A good point young sir! so will cancel that and return to profile pic and avatar as separate entities... when and if I can ever get the avatar module to function!

 

12 Feb 2013

 

A good point young sir! so will cancel that and return to profile pic and avatar as separate entities... when and if I can ever get the avatar module to function!

 

 I will be free in a few hours to look at your site. I'm on EST, so it may be late for you.

ManOfTeal.COM a Proud UNA site, six years running strong!
12 Feb 2013

oh yes, you are over the pond arent you :) Well while you are still getting up and sorted, I shall create just for you an admin member and then inbox details in the message bit here for you. (just in case you need to use admin panel to fix what I screwed up)

 

12 Feb 2013

 

oh yes, you are over the pond arent you :) Well while you are still getting up and sorted, I shall create just for you an admin member and then inbox details in the message bit here for you. (just in case you need to use admin panel to fix what I screwed up) 

 That would be a big help..

ManOfTeal.COM a Proud UNA site, six years running strong!
12 Feb 2013

 

 that is the way it worked in .9

in 7.1 you actually have to visit profile page and select "avatar" on the menu.

with Professors code, each and every photo upload would change the avatar, that would not be good. IMO

looking at the above code alteration, it looks like it makes the current or uploaded avatar the profile pic. What I want to do is the other way round, when they upload a profile pic, I want to automatically make it their avatar so this shows in member list (if that makes any sense)

 Not for me - i added more images and none of them changed the avatar. you can test it out for yourself at mytherapysession.com uname=professor, pword = vache

Edit

Oops, i guess if i had went to another page I would have noticed that it changed the profile pic, but not the avatar - so in my case with that code change, after account creation, the first image uploaded is turned into the avatar, any subsequent images will be turned into profile pic, but not the avatar.

Sorry bout that.

caredesign.net
12 Feb 2013

Just out of curiousity - did your error start after you added the Social Media Buttons to the bottom?

caredesign.net
12 Feb 2013

one thing i did notice is that after uploading an avatar - it redirects you to domain.com/dolph/m/avatar/m/avatar. So yours is looking for "function actionM" which is the m after the first avatar/ in the url

Now, if you used a module that works , then i would guess that it is one of the custom additions you have - either the ssl hover in the upper right or the buttons at the bottom.

EDITED

Again, for some reason it is looking for a "function actionM" which does not exist. And since it is redirecting to m/avatar/m/avatar, I believe that is where the problem is at. As i posted earlier, if i type in

http://www.mytherapysession.com/m/photos/all

I get that error, of course there is no function actionAll (which is how the modules gets pages). Example if you go to yourdomain.com/m/events/home/ this is actually listed as function actionHome in the events module.

Have you tried removing the ssl and buttons at the bottom and seeing if error still persists.

caredesign.net
12 Feb 2013

another thing i just noticed with your site - when on any page that is from a module (such as photos, videos, articles, etc) - if you click the Profile link in the upper right corner, the url is redirecting back to the page you are on, but adding member.php to it. Hope this helps figure out whats going on. Its like your variable for your domain has been changed to php_self - but only when in a module page.

My first guess would be to check the header.inc.php file and make sure that is correct. 

Also - I would recommend throwing a blank index page in your public_html directory. typing in your domain name without the /dolph will show your files and folders in that directory. I know there is a setting you can change, but adding a blank index page will also do the trick

caredesign.net
12 Feb 2013

 

Just out of curiousity - did your error start after you added the Social Media Buttons to the bottom?

 not that I am aware of...

 

12 Feb 2013

 

one thing i did notice is that after uploading an avatar - it redirects you to domain.com/dolph/m/avatar/m/avatar. So yours is looking for "function actionM" which is the m after the first avatar/ in the url
Now, if you used a module that works , then i would guess that it is one of the custom additions you have - either the ssl hover in the upper right or the buttons at the bottom.

 if I remove the ssl, then facebook will no longer accept it as an app. The redirecting and adding another m/avatar is confusing, as is adding to the end of the current page address on using the links top right. Its all rather over my head, however I am sure the info you have provided will be of great help to the Guru that is Newton :)

12 Feb 2013

just out of curiousity - could you temporarily remove those additions and see if things owrk, and then replace if you get the same errors.

caredesign.net
12 Feb 2013

 

 

one thing i did notice is that after uploading an avatar - it redirects you to domain.com/dolph/m/avatar/m/avatar. So yours is looking for "function actionM" which is the m after the first avatar/ in the url
Now, if you used a module that works , then i would guess that it is one of the custom additions you have - either the ssl hover in the upper right or the buttons at the bottom.

 if I remove the ssl, then facebook will no longer accept it as an app. The redirecting and adding another m/avatar is confusing, as is adding to the end of the current page address on using the links top right. Its all rather over my head, however I am sure the info you have provided will be of great help to the Guru that is Newton :)

 no he means remove the dog ear (page peel) and not the ssl certificate.

https://niceday-hosting.co.uk | http://northumberlandfriends.co.uk |http://kids-tv.net
12 Feb 2013

not being funny but I have given that nice Mr Newton full access to the installation and server, so would prefer to wait and see what he says, if I start messing with it I could make it a lot worse :)

 

12 Feb 2013

OK, you all seem to be chasing the wrong thing.

What is different about these two "avatar" upload pages?

 

 

the cropping tool should not be active before upload; also it is most helpful if you tell us that you have modified these sections before troubleshooting begins.

What did you do to get the cropping tool on that page? Reverse what you did..

avatar-incorrect-1.png · 1.1M · 498 views
avatar-correct-1.png · 1.2M · 494 views
ManOfTeal.COM a Proud UNA site, six years running strong!
12 Feb 2013

lol - when i created an account i got the correct image - but with the circling loading over the current avatar like in the incorrect image

caredesign.net
12 Feb 2013

 

lol - when i created an account i got the correct image - but with the circling loading over the current avatar like in the incorrect image

 I did not create the account, it was done by Dave, so the problem lies when you try to change the avatar, somehow he either has edited to have an image as "default" and this is causing a problem.

Hence the spinning busy, and the "speaker" as an image waiting to be cropped. Makes no sense to set the page this way.

Replace the default shaded people icons in the proper images directory if you want different "default" icons.

ManOfTeal.COM a Proud UNA site, six years running strong!
12 Feb 2013

If he uninstalled, uploaded a clean version, and then reinstalled, wouldnt that have solved it?

caredesign.net
12 Feb 2013

 

If he uninstalled, uploaded a clean version, and then reinstalled, wouldnt that have solved it?

 no, obviously not.. visit your account page on his site.

The avatar "page" is modified. The proceed, again, you select an image, it uploads and then activates the cropping tool, then you "Add Avatar"

this is not what is going on here.

Dave, you didn't send FTP pass..

ManOfTeal.COM a Proud UNA site, six years running strong!
12 Feb 2013

 

no, obviously not.

 No sarcasm - don't take that way..

What I meant to say, uninstalling the module will not fix, I don't know if he actually re uploaded the avatar module and replaced all files which is what looks like needs to be done.

ManOfTeal.COM a Proud UNA site, six years running strong!
12 Feb 2013

I deleted the avatar folder, and replaced it with the one from northumbrian friends. I did message ftp, but will do it again now

 

12 Feb 2013

 

and replaced it with the one from northumbrian friends

 why?

ManOfTeal.COM a Proud UNA site, six years running strong!
12 Feb 2013

because someone said remove it and reinstall a different oneand as Terrys works........ Can we say dumb noob? :)

 

12 Feb 2013

just been reading the spot the difference... i actually havent knowingly done any alterattions to the avatar module

 

12 Feb 2013

my home internet is going in and out tonight!! ugh Cry driving me crazy..

have to post quick before it goes out again

ManOfTeal.COM a Proud UNA site, six years running strong!
13 Feb 2013

@newton - i was cleaning up my site and I noticed something kinda funny. Earlier you posted 2 pics - in the incorrect pic, it had an image already in the crop box. 

It happened to me a few minutes ago. In my case, I had went to upload an avatar - which I did, but I never cropped it and even went so far as to close the browser. I did not do this on purpose, I actually had to leave abruptly, so shut down my laptop so my kids wouldnt get into it. Upon returning and opening the site, getting back to work, I went to the avatar page, and lo and behold - that image i uiploaded was sitting there looking exactly like your photo of an incorrect avatar page - it took me 15 minutes to stop scratching my head.

attached image below

Screenshot.png · 1.2M · 228 views
caredesign.net
13 Feb 2013

Same is going on about on his site..

I did a complete upload of the avatar module so it is replaced.

What I am concerned with is now the flash page peel, top right. I was told certain things like that can mess with the site.

and another confusing thing is the double link.. 

http://ezservices.co.uk/dolph/m/avatar/m/avatar/ 

after clicking add.

ManOfTeal.COM a Proud UNA site, six years running strong!
13 Feb 2013

 

one thing i did notice is that after uploading an avatar - it redirects you to domain.com/dolph/m/avatar/m/avatar. So yours is looking for "function actionM" which is the m after the first avatar/ in the url

Now, if you used a module that works , then i would guess that it is one of the custom additions you have - either the ssl hover in the upper right or the buttons at the bottom.

EDITED

Again, for some reason it is looking for a "function actionM" which does not exist. And since it is redirecting to m/avatar/m/avatar, I believe that is where the problem is at. As i posted earlier, if i type in

http://www.mytherapysession.com/m/photos/all

I get that error, of course there is no function actionAll (which is how the modules gets pages). Example if you go to yourdomain.com/m/events/home/ this is actually listed as function actionHome in the events module.

Have you tried removing the ssl and buttons at the bottom and seeing if error still persists.

 thats what i was thinking

caredesign.net
13 Feb 2013

 

because someone said remove it and reinstall a different oneand as Terrys works........ Can we say dumb noob? :)

 

 I will raise my hand - I sincerely apologize, Daveb

caredesign.net
13 Feb 2013

I also just replace the .htaccess

the avatar module is the most current as I just pulled from the SVN and remove, re installed. 

right now, I'm baffled..

ManOfTeal.COM a Proud UNA site, six years running strong!
13 Feb 2013

now - i am still a novice, but i will just throw my thoughts out there in hopes that they bring something to light.

The issues are:

1. that circling deal on the current avatar pic

2. page redirecting to php_self instead of $Bx_Dol_Url (or whatever the variable is) - my reasoning: after uploading an avatar - it is going to domain.com/m/avatar/m/avatar, so if i break it down, this is what i come up with: domain.com/m/avatar = php_self - so redirecting to what we are getting cause the avatar script calls for m/avatar after uploading. So php_self + avatar code = domain.com/m/avatar/m/avayar.

If the offending code were changed to $Bx_Dol_Url, which = domain.com/ - this would resolve the issue. $Bx_Dol_Url + avatar code = domain.com/m/avatar

3. if in a module - ie, m/whatever in the url - clicking the account link in the upper right corner also brings up that php_self deal. As it goes to whatever page you are on/member.php - whereas it should be domain.com (or $Bx_Dol_URL)/member.php

I really hope this helps

caredesign.net
13 Feb 2013

hell fire! It MUST be bad if its baffled Newton! As for corner peel, that is on northumbrian friends and not causing any probs, and is indeed a free mod from this very site :) I shall see what Newton thinks after he has slept on it :)

 

13 Feb 2013

 

hell fire! It MUST be bad if its baffled Newton! As for corner peel, that is on northumbrian friends and not causing any probs, and is indeed a free mod from this very site :) I shall see what Newton thinks after he has slept on it :)

 

 Thanks for the kind words Dave but I'm not all that.

I do the technical approach, replacing the avatar module, IMO should have corrected the problem.

Doing what Professor states may seem logical but for a brand new install, code changes should not have to be performed.

Deano, if you come across this topic, please interject your thoughts or anyone else that has seen a module duplicate the link like here.

I don't like to give up on a problem so I will continue to look at the files today..

ManOfTeal.COM a Proud UNA site, six years running strong!
13 Feb 2013

Here's a new one, on the avatar page, try to log out...

get this type of error,

METHOD(ACTIONLOGOUT.PHP) WAS NOT FOUND IN MODULE(AVATAR)

ManOfTeal.COM a Proud UNA site, six years running strong!
13 Feb 2013

 

 

hell fire! It MUST be bad if its baffled Newton! As for corner peel, that is on northumbrian friends and not causing any probs, and is indeed a free mod from this very site :) I shall see what Newton thinks after he has slept on it :)

 

 Thanks for the kind words Dave but I'm not all that.

I do the technical approach, replacing the avatar module, IMO should have corrected the problem.

Doing what Professor states may seem logical but for a brand new install, code changes should not have to be performed.

Deano, if you come across this topic, please interject your thoughts or anyone else that has seen a module duplicate the link like here.

I don't like to give up on a problem so I will continue to look at the files today..

 yes Newton its rather puzzling as its a fresh install the same as http://northumberlandfriends.co.uk/ and on the same server and the same plan, so if you want admin access to http://northumberlandfriends.co.uk/ then you can login and then i can give admin access so you can try and compare.

https://niceday-hosting.co.uk | http://northumberlandfriends.co.uk |http://kids-tv.net
13 Feb 2013

 

 

Here's a new one, on the avatar page, try to log out...

get this type of error,

METHOD(ACTIONLOGOUT.PHP) WAS NOT FOUND IN MODULE(AVATAR)

 I think dave used softaculous for his install when i did mine direct from the Boonex download, this is the only difference

 And the problem finally arises......

No wonder the problems and folder permission are weird.

Throw this at you, I opened the header.inc.php to check, the entire file WAS double spaced.. I corrected but still problems.

If you would have said this was an auto install, I would have never even started to work on the site! Honest, so I wasted a lot of time.

Moving on, the auto installer is very unreliable, search these forums.

So now that this is said, I'm done..

ManOfTeal.COM a Proud UNA site, six years running strong!
13 Feb 2013

Well I didnt know did I :( It was in my control panel, and 'appeared' to install everything, and indeed did so, until this cropped up. I am assuming then that the best thing to do is to delete the lot, then manually install?

 

13 Feb 2013

 

Well I didnt know did I :( It was in my control panel, and 'appeared' to install everything, and indeed did so, until this cropped up. I am assuming then that the best thing to do is to delete the lot, then manually install?

 

 Yes. That would be best. Newton is right. The auto installer is very unreliable.




https://www.deanbassett.com
13 Feb 2013

OOPS! I just accidentally 'reported' instead of replied!!!! Sorry!

I have taken Newtons comments as a polite way of telling me that my problems are probably caused by using the auto installer, so have backed up the database, (well... Terry has....) and we are even as I type in the process of reinstalling the whole darn thing in the approved manner.

 

13 Feb 2013

 

OOPS! I just accidentally 'reported' instead of replied!!!! Sorry!

I have taken Newtons comments as a polite way of telling me that my problems are probably caused by using the auto installer, so have backed up the database, (well... Terry has....) and we are even as I type in the process of reinstalling the whole darn thing in the approved manner. 

 Not mad Dave, it would have save you the stress you have been going through.

I just wish members would state how they installed, and I should have asked long ago how you installed.

That will be a number one question now for me.. lol

Still glad to answer questions should you have any..

Rock On!

ManOfTeal.COM a Proud UNA site, six years running strong!
13 Feb 2013

it honestly did not occur to me that installing via softalicious would cause a problem! I know better now :) Just got to get the twiddlybits done now, such as make it register and log em in if going to it as an app, and generally setting it out how I like it again :)

 

13 Feb 2013

Well look how easy that was...

http://www.ezservices.co.uk/dolph/Michael

[edit] the site is blazing fast too..

ManOfTeal.COM a Proud UNA site, six years running strong!
13 Feb 2013

 

Well look how easy that was...

http://www.ezservices.co.uk/dolph/Michael

[edit] the site is blazing fast too..

 i installed it for him from a fresh install, is everything as it should be now.

https://niceday-hosting.co.uk | http://northumberlandfriends.co.uk |http://kids-tv.net
13 Feb 2013

well,i went to create an account to check it out - and doggonit - the captcha was not enabled, so i couldnt proceed with the registration

caredesign.net
13 Feb 2013
13 Feb 2013
 
 
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.