- Posts: 6
- Thank you received: 0
Support for SermonSpeaker 5.x is in bugfix mode only, the same as it is for Joomla 3.10.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.
I will not add any new features to this releases.
Please upgrade to SermonSpeaker 6.x and Joomla 4.x, which is better anyway.
Parse error: syntax error, unexpected /components/com_sermonspeaker/helpers/rout
17 May 2018 14:47 #7116
by Roy
Running into this errror:
Parse error: syntax error, unexpected '[' in /home3/myccag/public_html/components/com_sermonspeaker/helpers/route.php on line 466
URL is on this page:
www.myccag.com/member/sermon-online/sermons#
Looks like jwplayer is not defined, happens when I use the jwplayer
and no back end error shows with the generic player
Currently have 5.8.3 installed
Under Player I have -> use plugin
Thanks in advance!
Parse error: syntax error, unexpected '[' in /home3/myccag/public_html/components/com_sermonspeaker/helpers/route.php on line 466
URL is on this page:
www.myccag.com/member/sermon-online/sermons#
Looks like jwplayer is not defined, happens when I use the jwplayer
and no back end error shows with the generic player
Currently have 5.8.3 installed
Under Player I have -> use plugin
Thanks in advance!
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
17 May 2018 15:47 #7117
by Thomas Hunziker
Replied by Thomas Hunziker on topic Parse error: syntax error, unexpected /components/com_sermonspeaker/helpers/rout
This doesn't sound like an issue related to a player. The file in question (route.php) is used all over the code of SermonSpeaker, more or less everytime a link is generated.
Also syntax errors mean the code itself is invalid. That is detected even before the code is run.
You can try to install the current SermonSpeaker version over your existing one. That will copy all files again and overwrite possible changes.
If you haven't changed that file yourself, you should check if you haven't been hacked as usually files don't change by itself. You may have to check with your hoster for that.
Also syntax errors mean the code itself is invalid. That is detected even before the code is run.
You can try to install the current SermonSpeaker version over your existing one. That will copy all files again and overwrite possible changes.
If you haven't changed that file yourself, you should check if you haven't been hacked as usually files don't change by itself. You may have to check with your hoster for that.
Please Log in or Create an account to join the conversation.
17 May 2018 16:04 #7118
by Roy
Replied by Roy on topic Parse error: syntax error, unexpected /components/com_sermonspeaker/helpers/rout
Downloaded the files here:
www.sermonspeaker.net/download/sermonspe...component-5-8-3.html
And reinstalled it again.
Looks like it reinstalled that file is restored, but problem still there.
From 461-467 its showing this:
else
{
// $id is 0 in case no category is specified by the calling layout
if (isset(self::$lookup[$language][$view]))
{
return reset(self::$lookup[$language][$view])[0];
}
www.sermonspeaker.net/download/sermonspe...component-5-8-3.html
And reinstalled it again.
Looks like it reinstalled that file is restored, but problem still there.
From 461-467 its showing this:
else
{
// $id is 0 in case no category is specified by the calling layout
if (isset(self::$lookup[$language][$view]))
{
return reset(self::$lookup[$language][$view])[0];
}
Please Log in or Create an account to join the conversation.
- Thomas Hunziker
-
- Offline
- Administrator
-
17 May 2018 16:30 #7119
by Thomas Hunziker
Replied by Thomas Hunziker on topic Parse error: syntax error, unexpected /components/com_sermonspeaker/helpers/rout
Looks indeed fine.
Can you tell me which PHP version you're using?
Can you tell me which PHP version you're using?
Please Log in or Create an account to join the conversation.
17 May 2018 16:41 #7120
by Roy
Replied by Roy on topic Parse error: syntax error, unexpected /components/com_sermonspeaker/helpers/rout
PHP Version 5.3.29
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.8.7 Stable [ Amani ] 18-April-2018 14:00 GMT
Web Server Apache
WebServer to PHP Interface cgi-fcgi
Joomla! Version Joomla! 3.8.7 Stable [ Amani ] 18-April-2018 14:00 GMT
Please Log in or Create an account to join the conversation.
17 May 2018 17:36 #7121
by Roy
Replied by Roy on topic Parse error: syntax error, unexpected /components/com_sermonspeaker/helpers/rout
Here's what a single sermon test looks like on the menu:
myccag.com/index.php?option=com_sermonspeaker&view=sermon&id=0
myccag.com/index.php?option=com_sermonspeaker&view=sermon&id=0
Please Log in or Create an account to join the conversation.
Time to create page: 0.153 seconds