Keyword

Frontend add or edit item fails

More
9 years 7 months ago #132252 by Timo
Frontend add or edit item fails was created by Timo
Hello!

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&amp;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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #132253 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Frontend add or edit item fails
Hello Timo is it possible to send a url with some demo credentials.
No need to publish items, I need a user that can submit them.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #132254 by Timo
Replied by Timo on topic Re: Frontend add or edit item fails
Thank you for quick answer.

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.

More
9 years 7 months ago #132255 by Timo
Replied by Timo on topic Re: Frontend add or edit item fails
Up...

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #132256 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Frontend add or edit item fails
Post a demo user's credentials here. Make sure to delete him after we 've solved the issue.
Also make sure that the user does not have the ability to publish or edit items. I only need to see the item form.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #132257 by Timo
Replied by Timo on topic Re: Frontend add or edit item fails
Ok. Thanks!

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
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #132258 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Frontend add or edit item fails
Timo make sure this user CANNOT edit any articles. even his own.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #132259 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: Frontend add or edit item fails
Also,

Which other extensions are you using?
Are you using any SEO/SEF extensions?

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
9 years 7 months ago #132260 by Timo
Replied by Timo on topic Re: Frontend add or edit item fails
Ok. User cannot edit anymore.

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.

More
9 years 7 months ago #132261 by Timo
Replied by Timo on topic Re: Frontend add or edit item fails
Forgot to answer your second question about Seo/Sef extensions.

Not any extra in use. Only Joomlas own SEO.

KInd regards
Timo

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum