Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Links to groups giving Error 0

7 years 11 months ago
  • Gavin's Avatar
    Topic Author
  • Gavin
  • Offline
  • Junior Boarder
  • Posts: 119
  • Thank you received: 9
Licenses:
JomSocial Active Socialize Expired

ISSUE SUMMARY:
Some links to groups are throwing up the following error:
0 - Error


You may not be able to visit this page because of:
1.an out-of-date bookmark/favourite
2.a search engine that has an out-of-date listing for this site
3.a mistyped address
4.you have no access to this page
5.The requested resource was not found.
6.An error has occurred while processing your request.

Please try one of the following pages:
•Home Page

If difficulties persist, please contact the System Administrator of this site and report the error below.


Error


STEPS TO REPLICATE:
1 Click on a link to a group
2
3
4
5
RESULT
0 - Error


You may not be able to visit this page because of:
1.an out-of-date bookmark/favourite
2.a search engine that has an out-of-date listing for this site
3.a mistyped address
4.you have no access to this page
5.The requested resource was not found.
6.An error has occurred while processing your request.

Please try one of the following pages:
•Home Page

If difficulties persist, please contact the System Administrator of this site and report the error below.


Error

EXPECTED RESULT
Visit groups page
BROWSER

7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Gavin,

Please you check and apply this solution www.jomsocial.com/forum/installation/332...rading-to-4-2#160621

I hope it will fix the issue.

thank you!

7 years 11 months ago
  • Gavin's Avatar
    Topic Author
  • Gavin
  • Offline
  • Junior Boarder
  • Posts: 119
  • Thank you received: 9
Licenses:
JomSocial Active Socialize Expired

Thanks for that. Having examined the situation further it seems to only affect one or two groups. Other groups seem ok. Would the code break the groups that are working? I'm trying not to fiddle too much as I'm having other issues with videos etc.

7 years 11 months ago
  • Gavin's Avatar
    Topic Author
  • Gavin
  • Offline
  • Junior Boarder
  • Posts: 119
  • Thank you received: 9
Licenses:
JomSocial Active Socialize Expired

I just looked at the file and there are multiple mentions of
$this->save();
Im not sure which one I should be changing. Can you upload the full correct patched file contents with the changes ready made? thanks! =)

7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

update line 85, most of this issue caused by that line

7 years 11 months ago
  • Gavin's Avatar
    Topic Author
  • Gavin
  • Offline
  • Junior Boarder
  • Posts: 119
  • Thank you received: 9
Licenses:
JomSocial Active Socialize Expired

Hi,
Im rather confused, line 85 is: "// Save the alias into the database when the user alias is not generated.l"
Line 86 is: "$this->save();"

Also instructions says "try{

$this->save();

}catch(exception $e){
return false;
}"

Do I replace line 86 instead of 85? If so, do I include the word "try" ?
Im very confused, as im not a coder.... Please could you paste the full file with the corrects for me rather than just the lines? It would make things much easier!
Thanks =)

PS I updated to 4.2.1. Error 0 still happens...

7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

oh ya so line 86, just replace this code :

$this->save();

to this one :
try{

$this->save();

}catch(exception $e){
return false;
}

let me know ho

7 years 11 months ago
  • Gavin's Avatar
    Topic Author
  • Gavin
  • Offline
  • Junior Boarder
  • Posts: 119
  • Thank you received: 9
Licenses:
JomSocial Active Socialize Expired

Hiya, I think that fixed it =)
Will the fix go into next update or will I need to change that each time I wish to update jomsocial? =)
Thanks for the help =)

7 years 11 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

yes, it will.. I will check again the code before we release the latest package next time :)

7 years 11 months ago
  • Gavin's Avatar
    Topic Author
  • Gavin
  • Offline
  • Junior Boarder
  • Posts: 119
  • Thank you received: 9
Licenses:
JomSocial Active Socialize Expired

Excellent, thank you! =)

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW