Announcement

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

#1 2005-11-29 15:10:27

audg
New member
Registered: 2005-11-29
Posts: 6

First Time Installation Problem

Sorry to be so neeewww.

I think I've followed all instructions, but am not having success. to wit:

I've downloaded the nightly on Nov 29, 2005.

I've copied all files to my webserver.

I've copied this code to my <head> section:
<script type="text/javascript">
    _editor_url  = "/xinha/"  // (preferably absolute) URL (including trailing slash) where Xinha is installed
    _editor_lang = "en";      // And the language we need to use in the editor.
  </script>
  <script type="text/javascript" src="/xinha/htmlarea.js"></script>

and changed the paths accordingly.

I've created a file called my_config.js, put in the xinha directory, and copied:
<script type="text/javascript" src="/xinha/my_config.js"></script>
to my head section as well, also changing path.

I created a text area with an id, and added that id to my_config,

The example works. (  full_example.html)

But in my test form, nothing on it but the textarea w/in a form, the tool bar loads, but remains "greyed out", and the text area itself does not show up.
Or, on another production form I get the error 'style' is null or not an object.

I would use an old "stable" version but I am unfamiliar with SVN

Do any glaring errors jump out at you? Thanks very much.

Audrey

Offline

#2 2005-11-29 22:40:49

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: First Time Installation Problem

If you can post a URL to your install we can have a look.


James Sleeman

Offline

#3 2005-11-29 23:49:54

audg
New member
Registered: 2005-11-29
Posts: 6

Re: First Time Installation Problem

Thank you! Here is the URL

http://www.trumancollege.cc/xinhasample … haform.php

(Sorry I didn't provide earlier--it was on our intranet, but I have reinstalled to the public folder so that you could see it.)

I probably missed something basic. 
Thanks again. Could I also ask, for security reasons or otherwise, should the xinha directory be w/in your httpdocs folder, or outside?

Last edited by audg (2005-11-29 23:50:44)

Offline

#4 2005-11-30 21:14:58

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: First Time Installation Problem

Your URL works fine for me in Firefox 1.0.6.

should the xinha directory be w/in your httpdocs folder

Inside, the browser loads files from it.


James Sleeman

Offline

#5 2005-12-01 11:30:33

audg
New member
Registered: 2005-11-29
Posts: 6

Re: First Time Installation Problem

Thank you for taking a look. What I just figured out is that the columns of the text area had be to set at at least 60. Originally I had it set at 50, and the xinha menu covered the text area (I could see it flash for a second). Perhaps that was in the documentation and I overlooked it. If so, sorry.

In any case, thanks again for taking the time to write back to me!

Audrey

Offline

Board footer

Powered by FluxBB