Monday, 18 February 2019
  15 Replies
  806 Visits
0
Votes
Undo
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
6 years ago
·
#209101
0
Votes
Undo
Hello Roland,

modid=0 is the likely cause. Can you find where this is on your site?

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#209104
0
Votes
Undo
Hi Tony,

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

br
Roland
6 years ago
·
#209105
0
Votes
Undo
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
6 years ago
·
#209118
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#209127
0
Votes
Undo
You mean RSS Feed enabled on a Jevents Latest module or RSS enables also in other components/modules non Jevents ?
6 years ago
·
#209128
0
Votes
Undo
because as I wrote RSS is not enabled in Jevents objects
6 years ago
·
#209130
0
Votes
Undo
It must be enabled somewhere for the crawler to find it, hence my suggestion to crawl your site to find it.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#209134
0
Votes
Undo
I am downloading ScreamingFog. But free version only for 500 url, mine has many more. I cross fingers...
6 years ago
·
#209141
0
Votes
Undo
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) ?
6 years ago
·
#209152
0
Votes
Undo
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

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

6 years ago
·
#209161
0
Votes
Undo
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
6 years ago
·
#209168
0
Votes
Undo
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
6 years ago
·
#209169
0
Votes
Undo
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
6 years ago
·
#209170
0
Votes
Undo
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
6 years ago
·
#209206
0
Votes
Undo
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.

JEvents Club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits. Join the JEvents club today!Join the JEvents club today!

  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.