By rbi on Monday, 18 February 2019
Replies 15
Likes 0
Views 837
Votes 0
Hi,
A security scan on my site reveals several HTTP 500 Message For Request. Crawler fetches addresses like below (itemid number varies)


  • index.php?option=com_jevents&task=modlatest.rss&format=feed&type=atom&Itemid=143&modid=0


I see in there the word "rss". On my site all is set without rss. I see also modid=0.

Would you know what this is related to ?

Thanks
Roland
Hello Roland,

modid=0 is the likely cause. Can you find where this is on your site?
·
Monday, 18 February 2019 15:10
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

I do not understand how to find this in the site. Where should I search ?

br
Roland
rbi
·
Monday, 18 February 2019 15:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

To be more precise, the link was generated by an automatic crawler that scanned the entire site. Among the thousands of links generated for the crawl there was that type of link. I do not know how the crawler managed to navigate to the link that I am referring to.

br
Roland
rbi
·
Monday, 18 February 2019 15:55
·
0 Likes
·
0 Votes
·
0 Comments
·
Hey Roland,

That link is usually added by a latest events module for instance with the RSS Feed enabled.

If you crawl your site you should find the page it exists on. With say ScreamingFog.

Many thanks
Tony
·
Monday, 18 February 2019 21:07
·
0 Likes
·
0 Votes
·
0 Comments
·
You mean RSS Feed enabled on a Jevents Latest module or RSS enables also in other components/modules non Jevents ?
rbi
·
Monday, 18 February 2019 21:31
·
0 Likes
·
0 Votes
·
0 Comments
·
because as I wrote RSS is not enabled in Jevents objects
rbi
·
Monday, 18 February 2019 21:31
·
0 Likes
·
0 Votes
·
0 Comments
·
It must be enabled somewhere for the crawler to find it, hence my suggestion to crawl your site to find it.
·
Monday, 18 February 2019 21:33
·
0 Likes
·
0 Votes
·
0 Comments
·
I am downloading ScreamingFog. But free version only for 500 url, mine has many more. I cross fingers...
rbi
·
Monday, 18 February 2019 21:39
·
0 Likes
·
0 Votes
·
0 Comments
·
Too many url for ScreamingFog.

Just want to understand something. When you write "It must be enabled somewhere for the crawler to find it" do you mean "RSS must be enabled somewhere in Jevents modules for the crawler to find it" ? Or you mean RSS must be enabled in other components or modules (not Jevents) ?
rbi
·
Monday, 18 February 2019 22:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

RSS Feed for that link must be enabled in a JEvents Module or component for the link to display on the website in most cases.

Without crawling your site and finding where it is I cannot help too much. But ultimately you need to find where the crawler has found it first to fix the issue.

Many thanks
Tony
·
Tuesday, 19 February 2019 09:35
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

This is driving me crazy, sorry to disturb you.
I have checked all jevents modules: all have this "Include link to RSS feed in module" = "No"
There is a full page dedicated to RSS in the configuration of the component. Is there a way to tell the component that we want RSS to be disabled ? Somewhere in the code I can patch ?

br
Roland
rbi
·
Tuesday, 19 February 2019 11:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Tony,

I thank you so much for your suggestion on checking with a crawler. I have installed AnalogX Linkexaminer.

The crawler outputs the HTTP 500 RSS error as you can see in the image attached.
<site>/index.php?option=com_jevents&task=modlatest.rss&format=feed&type=atom&Itemid=370&modid=0

The title = 'alternate"

Is this familiar ?

br
Roland
rbi
·
Tuesday, 19 February 2019 17:11
·
0 Likes
·
0 Votes
·
0 Comments
·
helper.php has the code that generates this url with title "alternate". when RSS.

As explained, all my jEvents modules have no RSS setup.

In which screen is so I setup the variable com_rss_live_bookmarks so we never enter here ?

public static
function processLiveBookmmarks()
{

$cfg = JEVConfig::getInstance();
if ($cfg->get('com_rss_live_bookmarks'))
{
$Itemid = JRequest::getInt('Itemid', 0);
$rssmodid = $cfg->get('com_rss_modid', 0);
// do not use JRoute since this creates .rss link which normal sef can't deal with
$rssLink = 'index.php?option=' . JEV_COM_COMPONENT . '&task=modlatest.rss&format=feed&type=rss&Itemid=' . $Itemid . '&modid=' . $rssmodid;
$rssLink = JUri::root() . $rssLink;

if (method_exists(JFactory::getDocument(), "addHeadLink"))
{
$attribs = array('type' => 'application/rss+xml', 'title' => 'RSS 2.0');
JFactory::getDocument()->addHeadLink($rssLink, 'alternate', 'rel', $attribs);
}

$rssLink = 'index.php?option=' . JEV_COM_COMPONENT . '&task=modlatest.rss&format=feed&type=atom&Itemid=' . $Itemid . '&modid=' . $rssmodid;
$rssLink = JUri::root() . $rssLink;
//$rssLink = JRoute::_($rssLink);
if (method_exists(JFactory::getDocument(), "addHeadLink"))
{
$attribs = array('type' => 'application/atom+xml', 'title' => 'Atom 1.0');
JFactory::getDocument()->addHeadLink($rssLink, 'alternate', 'rel', $attribs);
}
}

}

br
Roland
rbi
·
Tuesday, 19 February 2019 19:33
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh, I found it. Indeed 'Live bookmarks" is set to Yes. I imagine that if I set to "No" my HTTP 500 is solved.

But just to understand, why do I get this error?

br
Roland
rbi
·
Tuesday, 19 February 2019 19:37
·
0 Likes
·
0 Votes
·
0 Comments
·
It maybe, you get a 500 because no module id is there Joomla/Jevents falls over trying to load in the parameters as it has no where to get them from without a module id.
·
Friday, 22 February 2019 22:04
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post