By wla70 on Wednesday, 18 October 2017
Replies 10
Likes 0
Views 1K
Votes 0
Since I updated from jevents 3.1.22 to 3.4.43, the invitation mail is ok, but the reminder mail contain a broken link.

The invitation mail contain:
Details und Bestätigung der Teilnahme bitte {LINK}hier{/LINK}
which result in:
Details und Bestätigung der Teilnahme bitte hier (Link to https://www.[DOMAIN]/index.php?option=com_jevents&task=icalrepeat.detail&evid=1909&Itemid=117&year=2017&month=10&day=17&title=ah-coburger-turnerschaft-vs-soccer-kings&uid=3b24cf2854e748cdd0543329c96ae4ff&login=1

The reminder mail contain:
Details zum Event {LINK}hier{/LINK}
which result in:
Details zum Event hier (Link to http://htmlhtml/html/[DOMAIN]/www/index.php/component/jevents/icalrepeat.detail/2017/10/18/1909/-/ah-coburger-turnerschaft-vs-soccer-kings?Itemid=0&tmpl=component

Please help.
Thanks, these are the infos I need.
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you please provide your JEvents Support info?
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
PHP Version : 7.0.24
MySQL Version : 5.6.37
Server Information : Linux c13.webspace-verkauf.de 3.10.0-042stab123.2 #1 SMP Mon Apr 17 17:27:00 MSK 2017 x86_64
Fix jQuery? : Yes
Load JEvents Bootstrap CSS? : Yes
Max Input Vars ? : 1000
Club code set? : No
User Agent : Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Joomla : 3.6.5
component_com_jevents : 3.4.43
component_com_rsvppro : 3.0.15
component_com_jce : 2.5.31
module_mod_jevents_cal : 3.4.43
module_mod_jevents_custom : 3.4.43
module_mod_jevents_filter : 3.4.43
module_mod_jevents_latest : 3.4.43
module_mod_jevents_legend : 3.4.43
module_mod_jevents_switchview : 3.4.43
plugin_content_jevents : 3.4.43
plugin_finder_jevents : 3.4.43 (not enabled)
plugin_installer_jeventsinstaller : 3.4.43 (not enabled)
plugin_jevents_jevfiles : 3.0.10
plugin_jevents_jevrsvppro : 3.0.15
plugin_rsvppro_authorizenet : 3.0.15 (not enabled)
plugin_rsvppro_manual : 3.0.15
plugin_rsvppro_paypalipn : 3.0.15 (not enabled)
plugin_search_eventsearch : 3.4.43
plugin_system_gwejson : 3.4.43

I have a suspicion: I also had change the (cron)job for the reminder mail, because the web provider changed the allowed jobs:
5,15,25,35,45,55 * * * html/[DOMAIN]/www/plugins/jevents/jevrsvppro/rsvppro/sendreminders.php
(Previously /usr/bin/curl -s http://www.[DOMAIN]/index.php?...)

Does the {LINK}hier{/LINK} statement is calculated from the path and name of the script?
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello,

We are now on RSVP Pro 3.4.20. Can you please upgrade and upgrade to Joomla! 3.8.1 since you are at a very high hack risk.

If the issue still persists we can take a further look.

Many thanks
Tony
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I know. But, this site is used by a nonprofit association, with no active support for RSVPRO. The calendar is only accessed from registered users, so the risk is minimized.

So, this is the "free" forum, I will appreciate some useful hints, specially for my guess:
I also had change the (cron)job for the reminder mail, because the web provider changed the allowed jobs:
5,15,25,35,45,55 * * * html/[DOMAIN]/www/plugins/jevents/jevrsvppro/rsvppro/sendreminders.php
(Previously /usr/bin/curl -s http://www.[DOMAIN]/index.php?...)

Does the {LINK}hier{/LINK} statement is calculated from the path and name of the script?
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you revert back to the JEvents version you were using which was working fine?

Many thanks
Tony
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Can you revert back to the JEvents version you were using which was working fine?

Sorry, no chance.
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
I'm afraid there is not much we can do, you are running old software and we cannot debug it. No other user has reported such a problem and all is working well in my tests.

Many thanks
Tony
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
What about my question about the changed cronjob?
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
It's very likely that the cronjob change is related to the issue. That script was meant to be called as a webcall and not as a php system call.

You may ask your server for a way to execute it as a web call or you may create your own php script to do it for you. This document might be of help:

https://davidwalsh.name/curl-download

Also there are a few services out there tha can help you if you cannot make it work in your hosting:

https://cron-job.org/en/

And finally you may execute the call to that file from other hosting company/account on your portfolio and it will work .

Even calling it from your webbrowser or your computer should work.

If you are sure you are not going to update soon and cannot use a web call in any way for this, you can check the code for the sendreminders.php function and check around line 433. There you may find something like this:


$regex = "#{LINK}(.*?){/LINK}#s";
preg_match($regex, $message, $matches);
if (count($matches) == 2)
{
$Itemid = JRequest::getInt("Itemid");
list($year, $month, $day) = JEVHelper::getYMD();
$link = $row->viewDetailLink($year, $month, $day, true, $Itemid);

if (strpos($link, "/") !== 0)
{
$link = "/" . $link;
}
if (strpos($link, "plugins/jevents/rsvppro") !== false)
{
$link = str_replace("plugins/jevents/rsvppro/", "", $link);
}
if (strpos($link, "plugins/jevents/jevrsvppro/rsvppro") !== false)
{
$link = str_replace("plugins/jevents/jevrsvppro/rsvppro/", "", $link);
}
if (strpos($link, "plugins/jevents") !== false)
{
$link = str_replace("plugins/jevents/", "", $link);
}


which you should be able to modify and adapt to your needs.

Sorry we cannot provide further assistance!!
·
7 years ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post