Keyword

[SOLVED] Can't change the author

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #103972 by Aurélien CADIOU
[SOLVED] Can't change the author was created by Aurélien CADIOU
Hi all,

I recently installed K2 and I'm trying to test and configure.

I can not change the author of an article, as in the back than in the front. The user selection page loads fine, but when I click on a user, Javascript appears an error (firebug):

TypeError: window.parent.jSelectUser is not a function
http:/***/users/element?tmpl=component/event/seq/12/onclick
Line 2


I searched the forum, I'm not the only one avoiur this problem but I have not seen any solution ... Can you help me?

Thank you in advance
Aurélien (FR)

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

More
12 years 8 months ago #103973 by Lefteris
Replied by Lefteris on topic Re: Can't change the author
Hi. Is k2.js loaded in the parent window ? This file defines the .jSelectUser function.

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

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #103974 by Aurélien CADIOU
Replied by Aurélien CADIOU on topic Re: Can't change the author
Hi

In the author's change page, <script src="/media/k2/assets/js/k2.js?v=2.5.7" type="text/javascript"></script> is good charged (Firebug say that's OK).

In the fronthead, the author's change is open in a popup ; but in the back, this page is loaded in the same window (like a target="_blank" link).

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

More
12 years 8 months ago #103975 by Lefteris
Replied by Lefteris on topic Re: Can't change the author
This indicates other Javascript errors. So check your page for errors before clicking the "Change author" link.

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

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #103976 by Aurélien CADIOU
Replied by Aurélien CADIOU on topic Re: Can't change the author
Errors in the back head, occurs when I click the user for which I want to assign the article, here is the error :

TypeError: window.parent.SqueezeBox is undefined
[Stopper sur une erreur]

if(typeof(window.parent.SqueezeBox.close=='function')){


The error is before that indicated in the front head, also when I click on the username I want to assign power rlequel article.

Thank you for your help and sorry for my english

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

More
12 years 8 months ago #103977 by Lefteris
Replied by Lefteris on topic Re: Can't change the author
What version of Joomla! are you using?

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

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
12 years 8 months ago #103978 by Aurélien CADIOU
Replied by Aurélien CADIOU on topic Re: Can't change the author
Hello,

Joomla 2.5.7

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

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
12 years 7 months ago #103979 by Aurélien CADIOU
Replied by Aurélien CADIOU on topic Re: Can't change the author
Hi, Some news ?

Thank you

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

More
12 years 6 months ago #103980 by Andy Connell
Replied by Andy Connell on topic Re: Can't change the author
I have just upgraded from K2 2.4.1 in a Joomla 1.5.26 site.
I have done this as my next step in the next few weeks is to upgrade to Joomla 2.5

But as the above topics I now cant change the author of an article in the back end

In the backend when in item view, If i Click on change author, it no longer opens as a dropdown or popup, but opens up the users in a new page withough any sort of navigation.

If I click on one of the authors nothing happens.

For me this is quite urgent. Is there a fix/solution?
Can I revert back to K2 2.4.1

I do have full akeeba backup, but at this moment dont want to reinstall site, but i have that option.

Thanks,

Andy

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

  • Aurélien CADIOU
  • Aurélien CADIOU's Avatar Topic Author
  • Offline
  • New Member
More
12 years 6 months ago #103981 by Aurélien CADIOU
Replied by Aurélien CADIOU on topic Re: Can't change the author
Hi,

With the last upgrade K2, this problem is solved.

Joomla 2.5.7
K2 2.6.1

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

More
12 years 6 months ago #103982 by Andy Connell
Replied by Andy Connell on topic Re: Can't change the author
I Upgraded 2.4.1 direct to 2.6.1 and have reinstalled it.
Problem is still there?

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

More
12 years 6 months ago #103983 by Lefteris
Replied by Lefteris on topic Re: Can't change the author
@Andy Connell

Try to clean your browser's cache.

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

More
12 years 6 months ago - 12 years 6 months ago #103984 by Andy Connell
Replied by Andy Connell on topic Re: Can't change the author
Hi

As suggested in another post I have just upgraded to to the SVN for 2.6.2

I Cleared & Purged the site cache and removed everything from browser cache too, tried with Firefox, Chrome & IE.

Still we cant change the author? When selecting the author, there is no dropdown as there once was, just now a link, that when you click on it opens in a new page (not pop up). In the new page clciking on anybodys name author or not, does nothing?

I am working around it by changing by PHPmyAdmin, but this is not really ideal.

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

More
12 years 6 months ago #103985 by Lefteris
Replied by Lefteris on topic Re: Can't change the author
Check your browser's console for any JavaScript errors. Also ensure that jQuery is loaded,

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

More
12 years 6 months ago - 12 years 6 months ago #103986 by Andy Connell
Replied by Andy Connell on topic Re: Can't change the author
I checked Console in firebug and at first couldn't see any errors, but when I try and click on a users name to make them the author I see the following errors;

SyntaxError: unterminated string literal
[Break On This Error]

window.parent.jSelectUser('296', '80s arcade games

This one shows up first and is pointing towards line 1 col 33 /administrator/index.php?option=com_k2&view=users&task=element&tmpl=component

If I try to select a different user then this following error show and contines to show everytime I clik on a new user.

TypeError: window.parent.SqueezeBox is undefined
[Break On This Error]
if ( typeof (window.parent.SqueezeBox.close == 'function')) {

This seems to show on line 801 of media/k2/assets/js/k2.js?v=2.6.2
I have jquery set to 2.8 remote copy in K2 parameters

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

More
12 years 4 months ago #103987 by julien
Replied by julien on topic Re: Can't change the author
I have the same issue did you find a fix on this?

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

More
12 years 4 months ago #103988 by Andy Connell
Replied by Andy Connell on topic Re: Can't change the author
Thats spooky as Im just playing around with reinstalling K2.6.2 now as I still haven't got this resolved.

At the moment Im changing the authors vias PHPmyAdmin which isn't very good.

Ive tried to provide as much info as possible for the dev to help on here, but I think they've give up with it?


If I cant personally get this sorted on my own site in the next few days, I will look to migrate over to using Yoo Zoo. Already tested it and its fine.
the only problem is my users all know & like K2

Let me know if you find a resolution.

Andy

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

More
12 years 4 months ago #103989 by julien
Replied by julien on topic Re: Can't change the author
Hello Andy K2 offer more solutions that yoo zoo but I have still not find a solution

I have found this thread but it is not working in my case
getk2.org/community/New-to-K2-Ask-here-first/162821-solved---cant-change-author--other-backend-edits

Let me know if you find a solution!

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

More
12 years 4 months ago #103990 by Andy Connell
Replied by Andy Connell on topic Re: Can't change the author
Thanks,

I use K2 & Zoo about 50/50 in some other sites and I think both have the pros & cons.

Anyway I tried that other solution just now, I found 2 blank users and got excited thinking my problem is solved, but alas it did not fix it.

:blink:

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

More
12 years 4 months ago - 12 years 4 months ago #103991 by julien
Replied by julien on topic Re: Can't change the author
what i do not understand is we should not be the only one in that case???
Do not understand why we are not receiving any help from the K2 community or admin?

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


Powered by Kunena Forum