- Posts: 8
COMMUNITY FORUM
Frontend add or edit item fails
- Timo
-
Topic Author
- Offline
- New Member
I have a new K2 section in my site that I have been building up few weeks. Everything else is working fine but there is one problem and I´m totally stuck with it. I can edit and publish from backend but not in front.
Problem is that when I edit or try to add item, a lightbox window appears and after editing when I press save button nothing is saved. Instead this box does not close and content in it is my frontpage. When I try to close this box it wont close.
I have tried several templates, disabled css, tried overrides, tested every jquery version that is listed in k2 parametres. Groups and rights are ok. frontend editing is enabled, have tried to disable mootools, and disable jquery but no result. Tried to disable almost every other plugin. Tried to use k2 user module also but no result with add or edit.
Joomla! 2.5.25 tested also with 2.5..24
PHP 5.4.23
K2 version is from dev tested with 2.6.8 downloaded from k2org also
Template is beez 5
No extra modules on k2 site, no K2 modules either
My sourcecode shows these scripts
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/modal.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8/jquery.min.js" type="text/javascript"></script>
<script src="/components/com_k2/js/k2.js?v2.7.0&sitepath=/" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="/templates/beez5/javascript/md_stylechanger.js" type="text/javascript" defer="defer"></script>
<script type="text/javascript">
There are also some javascript errors in firefox console
TypeError: anonymous function does not always return a value mootools-core.js:123
TypeError: anonymous function does not always return a value mootools-core.js:338
TypeError: anonymous function does not always return a value mootools-core.js:340
TypeError: anonymous function does not always return a value mootools-core.js:382
ReferenceError: reference to undefined property v mootools-core.js:42
ReferenceError: reference to undefined property Element.prototype.fireEvent mootools-core.js:260
ReferenceError: reference to undefined property a[1] mootools-core.js:272
Use of getAttributeNode() is deprecated. Use getAttribute() instead. mootools-core.js:343
TypeError: variable a redeclares argument core.js:9
TypeError: function checkAll does not always return a value core.js:12
SyntaxError: property name unit appears more than once in object literal modal.js:11
TypeError: anonymous function does not always return a value modal.js:19
TypeError: function An does not always return a value jquery.min.js:2
TypeError: function Fn does not always return a value jquery.min.js:2
TypeError: function In does not always return a value jquery.min.js:2
TypeError: anonymous function does not always return a value jquery.min.js:2
TypeError: function o does not always return a value jquery.min.js:2
TypeError: anonymous function does not always return a value jquery.min.js:2
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:2
TypeError: anonymous function does not always return a value jquery.min.js:2
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:2
TypeError: anonymous function does not always return a value jquery.min.js:2
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:2
TypeError: anonymous function does not always return a value jquery.min.js:2
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:2
TypeError: anonymous function does not always return a value jquery.min.js:2
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:2
TypeError: anonymous function does not always return a value jquery.min.js:2
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:2
TypeError: anonymous function does not always return a value jquery.min.js:2
SyntaxError: test for equality (==) mistyped as assignment (=)? jquery.min.js:2
TypeError: anonymous function does not always return a value jquery.min.js:2
ReferenceError: reference to undefined property v.valHooks[this] jquery.min.js:2
TypeError: function getUrlParams does not always return a value k2.js:14
ReferenceError: reference to undefined property e.selector jquery.min.js:2
ReferenceError: reference to undefined property e.nodeType jquery.min.js:2
TypeError: anonymous function does not always return a value mootools-more.js:247
TypeError: anonymous function does not always return a value mootools-more.js:254
TypeError: anonymous function does not always return a value mootools-more.js:378
TypeError: anonymous function does not always return a value mootools-more.js:385
TypeError: anonymous function does not always return a value mootools-more.js:612
TypeError: anonymous function does not always return a value mootools-more.js:625
TypeError: anonymous function does not always return a value mootools-more.js:628
TypeError: anonymous function does not always return a value mootools-more.js:635
TypeError: anonymous function does not always return a value mootools-more.js:638
TypeError: anonymous function does not always return a value mootools-more.js:650
TypeError: anonymous function does not always return a value mootools-more.js:686
TypeError: anonymous function does not always return a value mootools-more.js:694
SyntaxError: property name getSelected appears more than once in object literal mootools-more.js:695
TypeError: anonymous function does not always return a value mootools-more.js:699
TypeError: anonymous function does not always return a value mootools-more.js:700
TypeError: anonymous function does not always return a value mootools-more.js:702
SyntaxError: property name getSelected appears more than once in object literal mootools-more.js:703
TypeError: anonymous function does not always return a value mootools-more.js:705
ReferenceError: reference to undefined property this.Binds mootools-more.js:27
ReferenceError: reference to undefined property this.document mootools-core.js:192
ReferenceError: reference to undefined property this.document mootools-core.js:170
ReferenceError: reference to undefined property (intermediate value).parsed mootools-more.js:129
ReferenceError: reference to undefined property v.event.triggered jquery.min.js:2
ReferenceError: reference to undefined property v.event.triggered jquery.min.js:2
ReferenceError: reference to undefined property e.returnValue jquery.min.js:2
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery.min.js:2
ReferenceError: reference to undefined property n.result
I dont have any idea what should I do now. Please can you give me some advice
Kind regards
Timo
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
No need to publish items, I need a user that can submit them.
Please Log in or Create an account to join the conversation.
- Timo
-
Topic Author
- Offline
- New Member
- Posts: 8
I cant find any pm button? Send me mail to olarinsulttaani (a) gmail.com and I send you back credentials.
Kind regards Timo
Please Log in or Create an account to join the conversation.
- Timo
-
Topic Author
- Offline
- New Member
- Posts: 8
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Also make sure that the user does not have the ability to publish or edit items. I only need to see the item form.
Please Log in or Create an account to join the conversation.
- Timo
-
Topic Author
- Offline
- New Member
- Posts: 8
Url is www.tekninenopettaja.net/tyoturvallisuus2
User: Testing
Pasword: testing
Kind regards Timo
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Which other extensions are you using?
Are you using any SEO/SEF extensions?
Please Log in or Create an account to join the conversation.
- Timo
-
Topic Author
- Offline
- New Member
- Posts: 8
Extensions that are in use are:
Acymailing
Docman
fabrik
JCE
Jfusion
Joomgallery
K2
Kind regards
Timo
Please Log in or Create an account to join the conversation.
- Timo
-
Topic Author
- Offline
- New Member
- Posts: 8
Not any extra in use. Only Joomlas own SEO.
KInd regards
Timo
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Could you try deactivating one by one the other extensions, so we can find the conflict?
Please Log in or Create an account to join the conversation.
- Timo
-
Topic Author
- Offline
- New Member
- Posts: 8
Is it so that these error messages that I posted in earlier message are leading to conclusion that there is some conflict/s.
Kind regards
Timo
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
That is possible since Jfusion's user plugin might not work properly with K2.
I have to ask, how come SMF and not Kunena?
Please Log in or Create an account to join the conversation.
- Timo
-
Topic Author
- Offline
- New Member
- Posts: 8
I picked between PhBB and SMF when there was no Kunena yet or it was not an real option (year 2000 and something) I have liked a lot of SMF`s look and useability. Only minus thing has been this integration between two softwares. Alltough Jfusion has done well with it.
Do you recommend migrating to Kunena?
Kind regards
Timo
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
The only downside would be that Kunena does not have PMs by default.
Please Log in or Create an account to join the conversation.