You are not logged in.
Pages: 1
Hi,
I'm newbie and tried to install xinha (downloaded the latest version). Like newbie-guide I did this:
Created a "my_config.js" using the example
name of editor = editor:
xinha_editors = xinha_editors ? xinha_editors :
[
'editor'
];
Inserted into the head of the executing file:
<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.
_editor_skin = "silva"; // If you want use a skin, add the name (of the folder) here
_editor_icons = "classic"; // If you want to use a different iconset, add the name (of the folder, under the `iconsets` folder) here
</script>
<script type="text/javascript" src="../xinha/XinhaCore.js"></script>
<script type="text/javascript" src="../xinha/my_config.js"></script>
and into the body:
echo '<textarea id="editor" name="newbiearea1" rows="50" cols="50" style="width: 100%">';
echo $text1;
echo "</textarea>";
Uploaded all files to the server.
The path seems to be correct. There is a directory "xinha" on same level as the directory ("admin") of the executing file.
All I see is the pure html-code in the textarea instead of xinha-editor. What's wrong. Thanks for help.
Offline
I found js error messages:
in IE 8.0.8001:
Meldung: 'Xinha.getPluginConstructor(...)' ist Null oder kein Objekt
Zeile: 3815
Zeichen: 7
Code: 0
URI: ...../xinha/XinhaCore.js
in FF 5.0:
Fehler: plugin is not a constructor
Quelldatei: ....../xinha/XinhaCore.js
Zeile: 3700
I'll be glad if somebody knows what to do.
Last edited by Heinrich (2011-08-03 09:19:43)
Offline
Hi,
isn't there any suggestion? Seems really strange to me - the silence in this forum...
Offline
Very likely a permissions/path issue.
Look at the server logs (or use a browser like Chrome or Firefox which can tell you) and see the 404 or other server errors which are being thrown because your permissions or paths are incorrect.
James Sleeman
Offline
Hi gogo,
thanks very much. Permissions and path had been correct. But the upload had failed for many files. Uploaded the package again and know it works.
Think I'm coming soon with new problems -:))
Offline
Pages: 1