- Posts: 29
COMMUNITY FORUM
K2Language v2.69 Throwing Error
- Joseph Rebele
- Topic Author
- Offline
- Junior Member
Less
More
5 years 3 months ago - 5 years 3 months ago #172695
by Joseph Rebele
K2Language v2.69 Throwing Error was created by Joseph Rebele
Folks,
I have an issue with an older version of K2 (v2.6.9) running under Joomla v3.9.10. It is throwing the error on the following array:
var K2Language = [
'Remove',
'Link title (optional)',
'Link title attribute (optional)',
'Are you sure?',
'You are not allowed to post to this category',
' or select a file on the server'
]
Does anyone know what folder and filename this array is defined? Thanks in advance for the help!
Regards,
Joe
I have an issue with an older version of K2 (v2.6.9) running under Joomla v3.9.10. It is throwing the error on the following array:
var K2Language = [
'Remove',
'Link title (optional)',
'Link title attribute (optional)',
'Are you sure?',
'You are not allowed to post to this category',
' or select a file on the server'
]
Does anyone know what folder and filename this array is defined? Thanks in advance for the help!
Regards,
Joe
Last edit: 5 years 3 months ago by Joseph Rebele.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Away
- Admin
Less
More
- Posts: 6218
5 years 3 months ago #172702
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic K2Language v2.69 Throwing Error
What's the exact error related to this array?
The file is probably: /administrator/components/com_k2/views/item/view.html.php
The file is probably: /administrator/components/com_k2/views/item/view.html.php
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Joseph Rebele
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
5 years 3 months ago #172709
by Joseph Rebele
Replied by Joseph Rebele on topic K2Language v2.69 Throwing Error
Fortis,
Thanks for the prompt reply! I really appreciate it.
When I open up DevTools in Chrome and go to Console, the error showing is:
Uncaught TypeError: ["Remove","Link title (optional)","Link title attribute (optional)","Are you sure?","You are not allowed to post to this category"," or select a file on the server"] is not a function
at awards-submit:309
I'm running PHP v7.1. Please let me know if there is any other information that may be of help!
THANKS!
Joe
Thanks for the prompt reply! I really appreciate it.
When I open up DevTools in Chrome and go to Console, the error showing is:
Uncaught TypeError: ["Remove","Link title (optional)","Link title attribute (optional)","Are you sure?","You are not allowed to post to this category"," or select a file on the server"] is not a function
at awards-submit:309
I'm running PHP v7.1. Please let me know if there is any other information that may be of help!
THANKS!
Joe
Please Log in or Create an account to join the conversation.
- Joseph Rebele
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
5 years 3 months ago #172710
by Joseph Rebele
Replied by Joseph Rebele on topic K2Language v2.69 Throwing Error
Fortis,
I attached a text version of the view.html.php file that I am using in the system.
Thanks,
Joe
I attached a text version of the view.html.php file that I am using in the system.
Thanks,
Joe
Please Log in or Create an account to join the conversation.
- Joseph Rebele
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 29
5 years 3 months ago - 5 years 3 months ago #172711
by Joseph Rebele
Replied by Joseph Rebele on topic K2Language v2.69 Throwing Error
Fortis,
Sorry for all the messages! I'm just thinking of ways to provide you with information to assist me in resolving this issue. I attached the code that the webpage renders. The error is highlight by DevTools on line 309 of this file right after the right brace. This is the code out of Google Chrome DevTools. Thanks again for the assistance!
Regards,
Joe
Sorry for all the messages! I'm just thinking of ways to provide you with information to assist me in resolving this issue. I attached the code that the webpage renders. The error is highlight by DevTools on line 309 of this file right after the right brace. This is the code out of Google Chrome DevTools. Thanks again for the assistance!
Regards,
Joe
Last edit: 5 years 3 months ago by Joseph Rebele.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Away
- Admin
Less
More
- Posts: 6218
5 years 3 months ago - 5 years 3 months ago #172714
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic K2Language v2.69 Throwing Error
Is there any particular reason you're using such an old K2 version? Most of these issues (some related to PHP 7.x) have been resolved already (including your JS issue).
I highly recommend you install v2.10.0 (dev) from: github.com/getk2/k2/archive/master.zip
I highly recommend you install v2.10.0 (dev) from: github.com/getk2/k2/archive/master.zip
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 5 years 3 months ago by JoomlaWorks.
Please Log in or Create an account to join the conversation.