Joomla! Discussion Forums



It is currently Mon Nov 23, 2009 5:32 pm (All times are UTC )

 


Forum rules

Forum Rules
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 12 posts ] 
Author Message
Posted: Thu Sep 03, 2009 7:31 pm 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Sep 03, 2009 7:11 pm
Posts: 1
In Opera browser (tested with Opera 9.64 and 10), the "Read More..." button is not working and redirect you to the Main Page (in front- AND backend)...
I tested on 2 PCs and 3 web pages...
I think that im not the only one who has this problem, so please help ;) i will try to resolve my self, but...

EDIT: Okey, so with "No editor" it´s working, so its problem with TinyMCE...


Top
  E-mail  
 
Posted: Fri Sep 11, 2009 8:19 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Fri Sep 11, 2009 8:05 am
Posts: 1
I have this issue as well.
Pagebreak fails, returning an error in the console from event thread:click
message: WRONG_ARGUMENTS_ERR

Readmore returns to admin page returning same error in the console.

Happens in TinyMCE and JCE


Top
  E-mail  
 
Posted: Thu Oct 22, 2009 12:55 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Fri Aug 22, 2008 10:17 pm
Posts: 20
The same problem with OPERA 10


Top
  E-mail  
 
Posted: Thu Oct 22, 2009 4:54 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Nov 30, 2005 1:34 pm
Posts: 20
I can confirm, have the same problem with Opera 10.0 and Joomla 1.5.14, using TinyMCE
Opera/9.80 (Windows NT 5.1; U; de) Presto/2.2.15 Version/10.00
PHP-Version: 5.2.6-3
Joomla!-Version: Joomla! 1.5.14 Stable [ Wojmamni Ama Naiki ] 30-July-2009 23:00 GMT
Editor - TinyMCE 3 Version 3.2.4.1 2005-2009

Steps to reproduce:
* With the specified versions of Opera and Joomla, write (or edit) an article
* click on the "Read more..." button

Actual result:
* editing is cancelled (i.e. the content is NOT locked) and I'm sent back to the Frontpage.

NOTE: If the "readmore" line is already present in the article and trying to insert a second one, the expected JS alert about an already existing "readmore" is given.

Expected result:
The
Code:
<hr id="system-readmore" />
line should be entered.

Speculation:
plugins/editors/tinymce.php only defines a function for
Code:
jInsertEditorText( text, editor ) { ...
but the HTML for the "readmore" button looks like this:
Code:
... onclick="insertReadmore('text') ...
As far as I know, JS does not support overloading of functions, so there actually is no function which only takes one parameter - which would also explain the "WRONG_ARGUMENTS_ERR" that is given by Opera.
I just don't have a clue if that has changed in the last few versions or if Operas JS implementation has changed and I also don't know, if JS has "optional" parameters - in that case, Operas JS implementation might be incorrect...

Best

Martin


Top
  E-mail  
 
Posted: Thu Oct 22, 2009 5:06 pm 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Nov 30, 2005 1:34 pm
Posts: 20
I just noticed I got the same problem with Firefox and JCE editor:
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 (.NET CLR 3.5.30729)
PHP-Version: 5.2.6-3
Joomla!-Version: Joomla! 1.5.14 Stable [ Wojmamni Ama Naiki ] 30-July-2009 23:00 GMT
Editor - JCE 154 Version 154 23 June 2009

However, Firefox DOES work with:
Editor - TinyMCE 3 Version 3.2.4.1 2005-2009

The behaviour is the same as above.
This is the error message given by Firefox when using JCE:
Code:
Error: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLTextAreaElement.selectionStart]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS frame :: http://www.MYDOMAIN.TLD/plugins/editors/jce/libraries/js/editor.js?version=154 :: anonymous :: line 67"  data: no]


Top
  E-mail  
 
Posted: Tue Oct 27, 2009 9:43 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Nov 30, 2005 1:34 pm
Posts: 20
I've done some further investigation in this issue, but I'm now at my wits end:
The error results from a function of the file plugins/editors/tinymce/jscripts/tiny_mce/tiny_mce.js
This is the function:
Code:
setContent:function(i,g){
  var f=this,j=f.getRng(),l,k=f.win.document;g=g||{format:"html"};
  g.set=true;
  i=g.content=f.dom.processHTML(i);
  f.onBeforeSetContent.dispatch(f,g);
  i=g.content;
  if(j.insertNode){
    i+='<span id="__caret">_</span>';
    j.deleteContents();
    j.insertNode(f.getRng().createContextualFragment(i));
    l=f.dom.get("__caret");
    j=k.createRange();
    j.setStartBefore(l);
    j.setEndAfter(l);
    f.setRng(j);
    f.dom.remove("__caret")
  }else{
    if(j.item){
      k.execCommand("Delete",false,null);
      j=f.getRng()
    }
    j.pasteHTML(i)
  }
  f.onSetContent.dispatch(f,g)
}

with
Code:
i='<hr id="system-readmore" />'
and
Code:
g=[some object]

The part that fails is actually
Code:
j.setStartBefore(l);
because "l" is NULL (i.e.
Code:
l=f.dom.get("__caret");
did not work as expected).
Maybe someone else can take over from here - I've no clue, how to proceed...

Best

Martin


Top
  E-mail  
 
Posted: Wed Oct 28, 2009 2:27 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 24, 2006 8:54 am
Posts: 93
Location: Manchester, England
I have the same issue in firefox and IE7

Can all those who have this problem also check if the 'Insert button when inserting an image (using the tool two along from 'read more') works or not, as on that I get the error:
"Can't move focus to the control because it is invisible, not enabled or of a type that does not accept the focus"
I'm not sure if these are related or not, as they both happened post-installation of 1.5.14.

Thanks.


Top
  E-mail  
 
Posted: Wed Oct 28, 2009 2:33 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 24, 2006 8:54 am
Posts: 93
Location: Manchester, England
I've just noticed that for me the issue goes away in TinyMCE (as I was using JCE 154).


Top
  E-mail  
 
Posted: Thu Oct 29, 2009 2:53 am 
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Mon Aug 24, 2009 10:40 pm
Posts: 10
Same result with me, read more links me back to the admin site control panel.
Fire Fox 3.5.4 and Joomla! 1.5.14
Does anyone have an answer?

Addendum
I experienced the same issue using IE8 and Opera 9.64


Top
  E-mail  
 
Posted: Fri Nov 06, 2009 1:22 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice
Offline

Joined: Wed Oct 10, 2007 2:29 pm
Posts: 35
Location: Rio de Janeiro - Brazil
frost wrote:
I've just noticed that for me the issue goes away in TinyMCE (as I was using JCE 154).


Damn, JCE is quite handy! I hope they fix this soon. This issue doesn't happen in Macs.

_________________
G'luck!!

- - -
Helvecio "Elvis" da Silva
Rio de Janeiro - Brasil
http://blog.helvecio.com


Top
   
 
Posted: Fri Nov 06, 2009 3:05 pm 
User avatar
Joomla! Enthusiast
Joomla! Enthusiast
Offline

Joined: Sun Dec 11, 2005 9:13 pm
Posts: 163
I switched from JCE to Editor - JoomlaFCK (also an excellent Joomla editor) and that fixed the issue for me.

Rowby

_________________
Rowby

Visit Rowby at http://www.rowbyville.com and http://www.youtube.com/rowbyville#p/u


Top
  E-mail  
 
Posted: Sun Nov 08, 2009 4:58 pm 
Joomla! Intern
Joomla! Intern
Offline

Joined: Thu Aug 24, 2006 8:54 am
Posts: 93
Location: Manchester, England
Just a note: there is a fix for this problem with JCE at
http://www.joomlacontenteditor.net/support/known-issues/71-editor-plugin--mambot/238-154
Follow the instructions, and then delete your browser cache, and it works!


Top
  E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

Quick reply

 



Who is online

Users browsing this forum: Jim the Chin and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group