-
AuthorPosts
-
perdu Friend
perdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
November 10, 2010 at 11:08 am #156270There is a javascript conflict with the K2 component which is preventing front end editing or adding an item, have spent the last week trying to get this to work on a live site and ended up installing the quickstart package to see if the error was there too and it is:
<blockquote>
Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Wed, 10 Nov 2010 10:54:11 UTCMessage: ‘document.getElementById(…)’ is null or not an object
Line: 150
Char: 3
Code: 0
URI: /administrator/components/com_k2/lib/simpletabs_1.3.js</blockquote>This is stopping the K2 tabs on the front end edit item and add now item from working. The error is there with Portfolio set in development mode with no caching or script compression. If you switch to any of the default templates – rhuk_milkyway, beez or JA_Purity there are no errors so the conflict is with something in JA Portfolio. I thought Portfolio was designed to work with K2?
perdu Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
November 10, 2010 at 11:26 am #362283Also if the user closes the editing window by clicking the X this error occurs:
<blockquote>Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Wed, 10 Nov 2010 11:25:06 UTCMessage: Can’t execute code from a freed script
Line: 1
Char: 32179
Code: 0
URI: /plugins/system/mtupgrade/mootools.js
</blockquote>Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 11, 2010 at 1:39 am #362363<em>@perdu 202818 wrote:</em><blockquote>Also if the user closes the editing window by clicking the X this error occurs:</blockquote>
as your report, the issue is from the k2 component, it was happening when you enabled the Mootools Update Plugin. Now you try to disable this plugin and check this issue again
perdu Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
November 11, 2010 at 12:29 pm #362449The error still occurs when you disable the plugin, please read the ticket I submitted to the support desk and test this out yourselves using internet explorer as I need to get this fixed asap. The error does not occur when a template other than portfolio is used.
This is the error with the Moo tools update plugin DISABLED
<blockquote>
Webpage error detailsUser Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Thu, 11 Nov 2010 12:23:49 UTCMessage: ‘undefined’ is null or not an object
Line: 50
Char: 13
Code: 0
URI: media/system/js/tabs.jsMessage: Object doesn’t support this property or method
Line: 59
Char: 102
Code: 0
URI: media/system/js/mootools.js</blockquote>
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 13, 2010 at 2:26 am #362685ok, when your template is having any problem javascript errors,
1) you try to disable the optimize js function, because in some cases, your site used a lot extension using javascript code, when combined into a file, it may cause errors
2) You will use the Exclude JS,CSS function: you try putting name of javacript files which having errors in the Optimize Exclude parameter inside the template’s configuration. and Then enable the Opitimize JS funcionIn front -end: I disabled the optimize js function , i did not see errors in IE
Please check againperdu Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
November 13, 2010 at 10:22 am #362725Words fail me, I am completely stunned that no one has bothered to read the support tickets properly. Below is the current error that you left me with this morning!!
What part of login in from the front end using IE8 and try submitting or editing an article via K2 did no one get?<blockquote>Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; .NET4.0C; .NET4.0E)
Timestamp: Sat, 13 Nov 2010 09:50:35 UTCMessage: ‘undefined’ is null or not an object
Line: 381
Char: 153
Code: 0
URI: blogs/item/add?tmpl=componentMessage: Object doesn’t support this property or method
Line: 59
Char: 102
Code: 0
URI: media/system/js/mootools.js</blockquote>Please note that the error occurs with or with out the Mootools upgrade plugin enabled the only thing that changes about the error is the path to mootools!! Which incidentally is essential for the running of my site and I was not impressed to find that you had switched it off!
The template is advertised as being compatible with K2 but it isn’t as users can’t submit articles using Internet Explorer!!
For the last time please install any of the quick start pages on your webspace and login in to the front end using Internet Explorer and try to edit or add an article to K2 via the front end and you will clearly see the errors and will have extreme difficulty using the tabs on the edit form.
I even sent screenshots from the quickstart package, I can’t believe you still got it wrong.
I’ve attached the screen shots that I sent when I submitted the ticked they are taken from a virgin install of the JA Portfolio quick start package (latest release). Please look at them carefully.
Front end user tries to add an item to K2- Phill Moderator
Phill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
November 13, 2010 at 12:31 pm #362735Sorry, but I am unfamiliar with the K2 component. Where is the edit button from the frontend?
*edit – Sorry, I didn’t realise Administrator and Site Ownere were considered different groups in K2.
perdu Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
November 13, 2010 at 12:47 pm #362738As an update, it doesn’t look as if any of the recent JA templates using the T3 framework work with front end editing in K2, with or without css/js compression, caching ect enabled or disabled. Pre T3 framework templates and all of the default Joomla ones do.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
November 13, 2010 at 12:59 pm #362741It seems to be working for me if I change Optomize JS to Join & Minify and enable the Mootools Upgrade plugin and add js1.js form the exceptions list.
I’ll flag this up for the developers to look at.
Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
November 13, 2010 at 1:02 pm #362742Steps needed to replicate this bug.
1 – Install the template quickstart.
2 – Go into the usergroups panel of K2 and in the registered group enable front end editing.
3 – Logon to the site from the frontend
4 – Go to any K2 article and press the edit button.In IE8 you will see a number of js errors depending on what you do. In FF various problems occur.
perdu Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
November 13, 2010 at 1:09 pm #362746Hi Phil,
I’ve added js1.js to ‘Optimize Exclude’ and cleaned t3 and cache but the error is still happening for me, I’ve tried turning off T3 cache, optimize & compression too 🙁Phill ModeratorPhill
- Join date:
- February 2014
- Posts:
- 7013
- Downloads:
- 40
- Uploads:
- 77
- Thanks:
- 917
- Thanked:
- 2206 times in 1818 posts
perdu Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
November 13, 2010 at 2:07 pm #362753Ok, thanks for looking at it anyway, I’ve been pulling my hair out all week trying to get it to work :((
perdu Friendperdu
- Join date:
- June 2007
- Posts:
- 227
- Downloads:
- 0
- Uploads:
- 26
- Thanks:
- 10
- Thanked:
- 20 times in 1 posts
November 17, 2010 at 12:09 am #363084It’s now Wednesday, is there a fix yet?
Saguaros ModeratorSaguaros
- Join date:
- September 2014
- Posts:
- 31405
- Downloads:
- 237
- Uploads:
- 471
- Thanks:
- 845
- Thanked:
- 5346 times in 4964 posts
November 17, 2010 at 4:56 am #363106<em>@perdu 203869 wrote:</em><blockquote>It’s now Wednesday, is there a fix yet?</blockquote>
Please try the solutions described here: http://www.joomlart.com/forums/topic/k2-tabs-on-addedit-item-form/
AuthorPostsThis topic contains 16 replies, has 3 voices, and was last updated by perdu 14 years ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum