Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#201 Re: User Discussion & Help » this.onsumit() is not a function error???in firebug » 2010-07-04 20:18:50

Is there any work around????

Buy a faster computer, get a faster internet connection, use gzip compression on your server, use compressed Xinha sources, ensure your browser has not disabled caching.


this.onsubmit is not a function in XinhaCore.js line 2693

Unusual error, the fact that it should not occur beside, it indicates you are calling form.submit(), why are you calling form.submit() before even Xinha has done anything?

#202 Re: User Discussion & Help » strange problem with Xinha 0.96.1 on APSX page. Please help » 2010-07-01 22:01:06

I do not understand asp, and neither do web browsers. 

Please paste the TEXTAREA from the HTML that your asp produces.

#203 Re: User Discussion & Help » strange problem with Xinha 0.96.1 on APSX page. Please help » 2010-07-01 01:27:30

Paste the HTML where you are using Xinha, NOT the ASP, the resultant HTML.

I do not see where the name attribute is for example.

#204 Re: User Discussion & Help » HElp with Dynamic Variables » 2010-06-30 21:03:24

You could use InsertSnippet2 plugin.  Look at the readme file, and you will also see there is a sample snippets.php file which shows you how PHP can feed into the Snippets.

#205 Re: User Discussion & Help » strange problem with Xinha 0.96.1 on APSX page. Please help » 2010-06-30 20:59:54

Did you inspect the DOM? 

<asp:TextBox TextMode="MultiLine" ID="txtMessage"  runat="server" Rows="10" Width="100%" Columns="50"></asp:TextBox>

I do not see where the name attribute is for example.

Did you still get a "SpellCheck" error even when you disabled the SpellCheck plugin, very unlikely.

Paste the HTML where you are using Xinha, NOT the ASP, the resultant HTML.

#206 Re: User Discussion & Help » Editor Grayed Out Inside Textarea » 2010-06-30 06:04:41

FIrst, try in a different web browser.

If still no go, open up the javascript console of your browser and see if there are any errors.

#207 Re: User Discussion & Help » strange problem with Xinha 0.96.1 on APSX page. Please help » 2010-06-30 06:02:06

First I think spell checker requires PHP.

Remove all the plugins

   'CharacterMap',
   'ContextMenu',
   'ListType',
   'Stylist',
   'Linker',
   'SuperClean',
   'TableOperations'

and see if it works.

NB: Linker also needs PHP by default, SuperClean might also, not sure from memory.

If it doesn't work even with no plugins, then you need to inspect the DOM for a start and make sure the <textarea> tag your ASP is creating is correct (has id and name both for a start).

#208 Re: User Discussion & Help » Receiving Permission Denied error on line 7130 of XinhaCore.js » 2010-06-29 21:37:03

Use your web browser's debugging functions to locate which files are returning permission denied.

Firefox has Firebug, Chrome has CTRL-SHIFT-J, and I think even the latest IE has debugging built in.  Use the tools at your disposal.

#209 Re: User Discussion & Help » Help.. Xinha does not initialize correctly. Maximize fixes issues » 2010-06-29 03:27:46

You MUST have the Xinha display when it generates.  Once generated you can hide it.

#210 Re: User Discussion & Help » Receiving Permission Denied error on line 7130 of XinhaCore.js » 2010-06-29 01:33:18

Use your web browser's debugging functions to locate which files are returning permission denied.

Example, use Chrome, press CTRL-SHIFT-J and go from there.

Or if your web browser does not have such a feature, look in your web server logs.

Also note: if it works in another browser, and not in IE8, then it's more likely to be a security problem in your IE8 options.

#213 Re: User Discussion & Help » open new window simple example » 2010-06-17 19:54:22

I don't understand what you are trying to do.  Where are you triggering window.open from?  A button in the toolbar, a link in the edited content itself?  Is your popup simply being blocked by your browser or addons?

Also. 

www.google.com

is not a URL, a valid url has a scheme, http:// in this case.

#214 Re: User Discussion & Help » IE 8 jquery dialog issue » 2010-06-15 21:28:24

Probably a CSS or similar conflict.  Inspect the DOM to see what is going on.

#215 Re: User Discussion & Help » Xinha closing a DIV for me - Don't want it to » 2010-06-10 20:38:24

It is not possible.  Xinha by definition produces well formed html.  Omitting a closing tag for a div is not well formed.

#216 Re: User Discussion & Help » Toggling between edit and display using xinha? » 2010-06-10 20:34:19

You can not switch on/off Xinha (you can of course hide it with display:none or similar AFTER it has been generated).

So yes, you should do so in a different way by taking the HTML and inserting it into a div or such which you manipulate appropriately.

#217 Re: User Discussion & Help » custom dropdown: how to handle select-events ? » 2010-06-10 06:04:47

Have you looked first to see if a plugin can do this task for you already?

These plugins do this sort of thing...
InsertSnippet
InsertSnippet2

IF neither of those is suitable, you should look at the plugin CSS or DynamicCSS which will show you how to handle a drop-down so you can write your own plugin to do exactly what you need.

#218 Re: User Discussion & Help » Cant get the textarea into a database » 2010-06-09 08:05:05

Yoru HTML is invalid

<table border="1">
<form action="bla.php" method="post">
<tr>

Here is the specification for the TABLE element in html.

<!ELEMENT TABLE - -
     (CAPTION?, (COL*|COLGROUP*), THEAD?, TFOOT?, TBODY+)>

FORM is not one of those.

#219 Re: User Discussion & Help » Cant get the textarea into a database » 2010-06-08 21:46:18

First: print_r($_POST) to see what is in there, iff you see nothing, then there are three main possibilities
  a) your form is a GET not a POST
  b) you have invalid html on the page where your textarea is, ensure your page where the textarea is validates
  c) you are submittign the form with javascript calling form.submit(), you must call the onsubmit event first if you do that
Second: $_POST[nieuwsbericht] is not valid syntax, nieuwsbericht is not a constant, you are missing quotes
Third: you should use braces when embedding variables in strings
Fourth: You are not escaping the strings leaving a potential security hole

$query="INSERT INTO gegevens (ID, gtekst, datum, titel) VALUES (NULL,'".mysql_escape_string($_POST['nieuwsbericht'])."',NOW(),'".mysql_escape_string($_POST['titel'])."')";

#220 Re: User Discussion & Help » Stripping domains from urls » 2010-06-07 21:07:56

expandRelativeUrl maybe?

You may (probably) be better to "correct" the urls when you get the HTML to the server using some regex work.

Note in your example above though, that www.training.com is invalid, you are missing http://

#221 Re: User Discussion & Help » Xinha Toolbar, etc suddenly disappeared. » 2010-06-03 00:53:58

Looks like you have a problem with your server or file permissions.  Contact your website hoster.

#222 Re: User Discussion & Help » Problem Xinha in Hidden <Div> » 2010-06-03 00:42:13

Unfortunatly you need to start it unhidden and then hide it when it's loaded, this is a commmon request, search the forums.  It's some browser problem that prevents it working the way you want.

#223 Re: User Discussion & Help » Xinha Toolbar, etc suddenly disappeared. » 2010-06-02 07:47:43

Check permissions etc. 

Use Chrome, press CTRL-SHIFT-J and select Console, then see the errors.  Firefox has similar with Firebug.

#224 Re: User Discussion & Help » is it possible to protect some items in the textarea ? » 2010-05-29 09:27:00

No it's not possible.  I think probably it's unlikely to ever be possible because of how the web browsers and Xinha works.  Of course, you could validate/fixup the HTML when you get it back to the server.

Board footer

Powered by FluxBB