By Russell Moore on Thursday, 12 December 2013
Posted in Technical Issues
Replies 21
Likes 0
Views 886
Votes 0
Hi guys, through trial and error I've located a wee bug in the latest version of EasyDiscuss on J3.2

Specifically, the content_easydiscuss plugin returns an error if disabled, i.e.

"Fatal error: Call to undefined method JRouterSite::encodeSegments() in /mydomain/public_html/libraries/cms/router/site.php on line 443"

The 'fix' is to delete com_content from the plugin's options but, ideally, I would just want to disable the whole plugin.

Hope that adds to your ongoing testing...

Cheers, Russ
Hello Russell,

Ah, the plugin isn't working for 3.2 yet Is it possible for you to provide us with the back end and FTP access to your site to check on this issue?
·
Thursday, 12 December 2013 22:59
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, yes mate login details as per the other Spectator Group sites and repeated below...

I also crashed another earlier post about the 'Ask a Question' button linking to the Registration form rather than to a Login option. I tried the fix suggested but it didn't work in my JFBConnect enabled site.

In fact, I preferred it when the 'Ask...' button was simply invisible to non-registered or logged-in users and would ideally love this to be a continuing option for EasyDiscuss.

Please advise...

Russ
·
Thursday, 12 December 2013 23:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Russell,

Could you also provide us with the FTP please? It's much easier to debug with the FTP
·
Friday, 13 December 2013 01:46
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, the FTP layer in Joomla isn't set up but I've created a standalone FTP account for you to use with Filezilla etc... (details below)
·
Friday, 13 December 2013 18:50
·
0 Likes
·
0 Votes
·
0 Comments
·
Any update on this one please chaps?

R
·
Monday, 16 December 2013 22:41
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Russell,

I am sorry for the delay of this reply, I must have missed your reply here earlier I tried to access your site but I can't seem to reproduce those errors. Can you please advise?
·
Tuesday, 17 December 2013 13:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, no worries mate, lol, it's only a tiny wee bug and hard to spot. Here's the routine:

1. The issue appears on a site that was previously J3.1.5 inc EasyDiscuss and (crucially) the content_easydiscuss module installed but then disabled, e.g. because I subsequently installed Komento
2. On saving any new article (or K2 post etc) the error "Fatal error: Call to undefined method JRouterSite::encodeSegments() in /mydomain/public_html/libraries/cms/router/site.php on line 443" appears
3. If the content_easydiscuss plugin is enabled the error disappears!
4. However, I do not want the Easy Discuss form fields to appear at the base of my content and so the quick 'fix' is to delete the 'com_content' option from the plugin settings and then enable the plugin. Now the above error does not show when saving an article.
5. However, the plugin is still set to add the Easy Discuss fields under com_easyblog content which I also don't want but cannot turn off. In fact, ideally I would just like to disable or uninstall the content_easydiscuss plugin completely but cannot without that same error appearing.

Does that explain things a little better Mark? I guess there needs to be either a new version of the content_easydiscuss plugin for J3.2+ or a quick bug fix to Easy Discuss itself. However, I have 5 sites now live and needing upgraded to J3.2 asap so would prefer this to not be a site-specific code hack if possible.

I look forward to hearing from you asap.

Cheers, Russ
·
Tuesday, 17 December 2013 18:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Any update on this one again please chaps?

Actually, could you confirm also if EasyDiscuss v.3.1.8872 works on J3.2+ or do I need to get the above plugin-related issue sorted?

R
·
Friday, 20 December 2013 00:27
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Russell,

So sorry for the delay in getting back to you. Sorry for the delay here. EasyDiscuss 3.1 is not compatible with Joomla 3.2 Please download the latest version and install it. Do remember to make backups of your site if you have made any modifications to the files. This should solve your issue

Hope this helps.

Thanks!
·
Friday, 20 December 2013 02:24
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adelene, thanks for the confirmation that upgrading to J3.2 is not an option until I get a working version of the EasyDiscuss plugin, as per my original question above.

Could I please get an answer to that original query/bug report asap then please?

Thanks, Russ
·
Friday, 20 December 2013 05:00
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Russell,

So sorry for the delay in getting back to you. I wanted to turn off the easydiscuss content plugin to check the error so I tried to login to your backend but I get a weird error. I also tried to login to your FTP to turn off the error reporting so that i can navigate the backend but I get this error

Server said: Can't open that file: Permission denied

Error -160: could not start data transfer

Which means I have no permission to write any files. Also there seems the be something wrong with your template? or com_community, I'm not sure which but your site is broken. Also if it is possible could you send me the URL for the page that will encounter the Fatal error when i disable the plugin? Please advice.

Thanks!
·
Friday, 20 December 2013 11:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adelene, strangely we're experiencing a loss of ram issue with our hosting environment. Let me solve this and then check your FTP access issue and I'll come back to you asap.

Thanks, Russ
·
Friday, 20 December 2013 22:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Russell,

Sure keep us updated then.

Thanks!
·
Friday, 20 December 2013 23:52
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adelene, I think we're back in business...

Ok, the site is now working again and there don't appear to be any issues with com_community or the template that I can see. I've also re-tested that support FTP account I gave you details for and it's working in both the browser and Filezilla, inc transfer of files into Joomla directories.

Also, I've just upgraded the site to Joomla 3.2.1 ans all seems to be working. So, we're back now to the original query (phew).....

Basically:

The v3.1.5 site included EasyDiscuss AND the content_easydiscuss plugin.
After I had installed Komento I had disabled the content_easydiscuss plugin and everything still worked.
On upgrading to J3.2+ AND EasyDiscuss 3.2+ content articles (inc K2) will not save properly if the content_easydiscuss plugin is either disabled or uninstalled


In an amendment to the earlier description of the problem I've now been able to 'confuse' the content_easydiscuss plugin by telling it to add a discussion box to com_easydiscuss only, but what I really want to do I suppose is either delete the plugin or (preferrably) install an upgraded version of it. I have 4 sites currently so an updated plugin would be preferable to a code hack.

Also, I would also mention again (as above) that I had also crashed another earlier post about the 'Ask a Question' button now linking to the Registration form rather than to a Login option. I tried the fix suggested in that thread but it didn't work in my JFBConnect enabled site. In fact, I preferred it when the 'Ask...' button was simply invisible to non-registered or logged-in users and would ideally love this to be a continuing option for EasyDiscuss.

Hopefully now you will be able to log in to the admin section & FTP and have a look but do come back to me if you need anything else. Please advise asap...

Thanks, Russ
·
Saturday, 21 December 2013 00:49
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Russell,

So sorry for the delay in getting back to you. I disabled the plugin and then I tried to post a post in EasyDiscuss and K2. It worked fine in EasyDiscuss but not in K2. Also this seems like an issue with K2 according to this post you will have to upgrade your K2 to fix the issue in Joomla 3.2. http://getk2.org/community/New-to-K2-Ask-here-first/185157-k2-267-issues-on-Joomla-32 Hope this helps.

Thanks!
·
Monday, 23 December 2013 19:05
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adelene, sorry, no... the problem ALSO exists with com_content articles and is therefore an issue with the content_easydiscuss plugin overall.

I would like to be able to either:

a) uninstall or disable the content_easydiscuss plugin so that basic article saving in j3.2+ works properly, or
b) get from you guys an updated versionof the plugin

This thread is now getting a bit frustrating to be honest. Could someone please revisit the query from my first post and pleae try to resolve it? thanks, Russ
·
Monday, 23 December 2013 21:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Russell,

So sorry for the delay in getting back to you. Happy holidays. We are on your site testing this earlier when suddenly the saving for Joomla Article is working. Not sure if you did something here? Did ypu by any chance disable any plugins? Since we suddenly cannot reproduce the issue, I will be unable to continue debugging this. Anyhow things seems to be working fine now. and the EasyDiscuss plugin is still disabled.

Thanks!
·
Thursday, 26 December 2013 15:28
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Adelene, Happy Holidays to you guys too!

I have checked and you are absolutely right, everything's now working again - but I didn't do anything!!! And if you guys didn't find/fix/change anything else either.... Santa's elves perhaps???

Anyway, yes this pesky little thing seems to have gone away so many thanks as always for the great service.

Happy New Year to you all and I hope that Stack Ideas will have a successful and prosperous 2014.

cheers, Russ
·
Friday, 27 December 2013 16:54
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Russell,

You are most welcome! Happy Holidays and Happy New Year! Glad that your issue is solved

Thanks!
·
Friday, 27 December 2013 23:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi guys, further to this ticket I noticed that one of the things that had been done during debugging was to enable Joomla's Language Filter plugin. While this did fix my issue with the Content_easydiscuss plugin and the error on saving articles, it also added a location specific suffix to all site urls (/en/), which was not a workable option for me.

However, on further investigation I found that I could change a setting within the Language Filter plugin that would allow it to remain enabled (as required by the content_easydiscuss plugin) but that would not add the url suffix.

Further to this experience, and in respect of a Joomla 3.2 update on my other sites, I tried deleting the content_ easydiscuss plugin BEFORE updating Joomla and found that this successfully avoided all of the issues throughout the thread above, so this would be my recommendation to anyone else.

I think it's safe now to mark this ticket 'resolved'.

Cheers, Russ
·
Friday, 03 January 2014 00:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Russell,

Thanks for the heads up on this.
·
Friday, 03 January 2014 00:18
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post