You are not logged in.
Pages: 1
Ok so I fixed the first issue I had...
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Example of Xinha</title>
<link rel="stylesheet" href="xinha/full_example.css" />
<script type="text/javascript">
_editor_url = "http://www.webbert.org/admin/xinha/";
_editor_lang = "en"; // And the language we need to use in the editor.
</script>
<!-- Load up the actual editor core -->
<script type="text/javascript" src="xinha/htmlarea.js"></script>
I have one file called test.html and I just took the stuff out of full_example.html and pasted it in there and deleted the stuff at the bottom that I dont think i need.. the xinha files are in admin/xinha
Everytime i load the page it says "Spellchecker not defined" it just doesnt seem to be able to find it in the path, it does find htmlarea.js because before I had an error saying HTMLarea is not defined, and I fixed that.
BMF
Offline
Yes James, i'm using the default template and i didnt change any of the plugin definitions. If i remove the line for spellchecker, the error message changes to the next plugin not defined...
BMF
Offline
Can you provide an url please ? I have tried to run the full_example.html in "http://www.webbert.org/admin/xinha/exam … ample.html" because it is the url you set in _editor_url, but nothing seems there.
Offline
Yeah, i'll give you the URL. I usually dont paste real URLs on message boards.
http://www.hilliardpres.org/admin3.php
Thanks,
-Drew
Offline
Your problem is a server configuration error, when the browser tries to load the plugin javascript files it gets a 404 back from your server. Here is a trace of the request & response headers for a load of the url you gave above. Note all the 404's. I'd check permissions
http://www.hilliardpres.org/admin3.php
GET /admin3.php HTTP/1.1
Host: www.hilliardpres.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://xinha.gogo.co.nz/punbb/viewtopic.php?pid=2137
Cache-Control: max-age=0
HTTP/1.x 200 OK
Transfer-Encoding: chunked
Date: Sat, 06 Aug 2005 05:10:56 GMT
Content-Type: text/html
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4 PHP/4.3.9 mod_log_bytes/1.2 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
X-Powered-By: PHP/4.3.9
Via: 1.1 nc1 (NetCache NetApp/5.6.2)
----------------------------------------------------------
http://www.hilliardpres.org/xinha/full_example.css
GET /xinha/full_example.css HTTP/1.1
Host: www.hilliardpres.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.hilliardpres.org/admin3.php
HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sat, 06 Aug 2005 05:10:56 GMT
Content-Type: text/html
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4 PHP/4.3.9 mod_log_bytes/1.2 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Via: 1.1 nc1 (NetCache NetApp/5.6.2)
----------------------------------------------------------
http://www.hilliardpres.org/xinha/htmlarea.js
GET /xinha/htmlarea.js HTTP/1.1
Host: www.hilliardpres.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.hilliardpres.org/admin3.php
If-Modified-Since: Fri, 05 Aug 2005 13:44:23 GMT
If-None-Match: "c28244-28c09-42f36d37"
Cache-Control: max-age=0
HTTP/1.x 304 Not Modified
Etag: "c28244-28c09-42f36d37"
Date: Sat, 06 Aug 2005 05:10:57 GMT
----------------------------------------------------------
http://www.hilliardpres.org/xinha/htmlarea.css
GET /xinha/htmlarea.css HTTP/1.1
Host: www.hilliardpres.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Accept: text/css,*/*;q=0.1
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.hilliardpres.org/admin3.php
If-Modified-Since: Fri, 05 Aug 2005 13:44:23 GMT
If-None-Match: "c28243-14bd-42f36d37"
Cache-Control: max-age=0
HTTP/1.x 304 Not Modified
Etag: "c28243-14bd-42f36d37"
Date: Sat, 06 Aug 2005 05:11:00 GMT
----------------------------------------------------------
http://www.hilliardpres.org/xinha/plugins/TableOperations/table-operations.js
GET /xinha/plugins/TableOperations/table-operations.js HTTP/1.1
Host: www.hilliardpres.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.hilliardpres.org/admin3.php
HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sat, 06 Aug 2005 05:11:01 GMT
Content-Type: text/html
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4 PHP/4.3.9 mod_log_bytes/1.2 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Via: 1.1 nc1 (NetCache NetApp/5.6.2)
----------------------------------------------------------
http://www.hilliardpres.org/xinha/plugins/SuperClean/super-clean.js
GET /xinha/plugins/SuperClean/super-clean.js HTTP/1.1
Host: www.hilliardpres.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.hilliardpres.org/admin3.php
HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sat, 06 Aug 2005 05:11:02 GMT
Content-Type: text/html
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4 PHP/4.3.9 mod_log_bytes/1.2 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Via: 1.1 nc1 (NetCache NetApp/5.6.2)
----------------------------------------------------------
http://www.hilliardpres.org/xinha/plugins/Stylist/stylist.js
GET /xinha/plugins/Stylist/stylist.js HTTP/1.1
Host: www.hilliardpres.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.hilliardpres.org/admin3.php
HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sat, 06 Aug 2005 05:11:02 GMT
Content-Type: text/html
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4 PHP/4.3.9 mod_log_bytes/1.2 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Via: 1.1 nc1 (NetCache NetApp/5.6.2)
----------------------------------------------------------
http://www.hilliardpres.org/xinha/plugins/SpellChecker/spell-checker.js
GET /xinha/plugins/SpellChecker/spell-checker.js HTTP/1.1
Host: www.hilliardpres.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Accept: */*
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://www.hilliardpres.org/admin3.php
HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sat, 06 Aug 2005 05:11:02 GMT
Content-Type: text/html
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4 PHP/4.3.9 mod_log_bytes/1.2 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Via: 1.1 nc1 (NetCache NetApp/5.6.2)
----------------------------------------------------------
http://www.hilliardpres.org/favicon.ico
GET /favicon.ico HTTP/1.1
Host: www.hilliardpres.org
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4
Accept: image/png,*/*;q=0.5
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
HTTP/1.x 404 Not Found
Transfer-Encoding: chunked
Date: Sat, 06 Aug 2005 05:11:02 GMT
Content-Type: text/html
Server: Apache/1.3.33 (Unix) mod_auth_passthrough/1.8 mod_bwlimited/1.4 PHP/4.3.9 mod_log_bytes/1.2 FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a
Via: 1.1 nc1 (NetCache NetApp/5.6.2)
----------------------------------------------------------
James Sleeman
Offline
None of the files it is trying to retrieve exist in the distribution I downloaded..
Any idea?
-jailshell-2.05b$ pwd
/home/hilliar/www/xinha/plugins/SpellChecker
-jailshell-2.05b$ ls -la
total 20
drwxr-xr-x 5 hilliar hilliar 4096 Aug 5 09:44 .
drwxr-xr-x 34 hilliar hilliar 4096 Aug 5 09:44 ..
drwxr-xr-x 2 hilliar hilliar 4096 Aug 5 09:44 img
drwxr-xr-x 2 hilliar hilliar 4096 Aug 5 09:44 lang
drwxr-xr-x 2 hilliar hilliar 4096 Aug 5 09:44 personal_dicts
not really a permissions issue...
-Drew
Offline
Pages: 1