Opened 6 years ago

Closed 5 years ago

#1364 closed defect (inactive)

ImageManager / ExtendFileManager Not returning Post Data

Reported by: guest Owned by: gogo
Priority: normal Milestone: 0.96
Component: Xinha Core Version: trunk
Severity: normal Keywords: ImageManager, ExtendedFileManager POST data
Cc: symon@…

Description

I have been developing a basic page editor locally, nothing special, but when I upload to my server, the ImageManager is not returning the data.
This is what is happening;
I want the abillity to add Images to a page, I have set all the config details in ImageManager - - config.inc.php


The ImageManager works correctly, loads images and when I click 'OK'
ON MY LOCAL MACHINE:
the image filename is inserted into the editor, if i click the source HTML button, I see the html code, then when I unclick the HTML button, the image appears in the editor. When submit is clicked, the POST HTML code from the text area is saved. So all is working apart from the glitch with having to click the HTML button to see the Image in the editor.

ON MY REMOTE SERVER:
The editor is working correctly, Clicking OK inserts the Image into the Text Area, (image is visible), but when the POST DATA is saved, the code for the Image is missing, The other thing is that pressing the HTML code view button, this doesn't work and only inserts this character ⁞ into the text area.

I was using the ExtendedFileManager plugin when I found this issue, however I removed it to eliminate the plugin from the problem.

If anyone can address this problem, it would be fantastic, I wish you all a super Christmas time.

Symon :O)
symon@…

Using /* This file is part of version 0.95 released Mon, 12 May 2008 17:33:15 +0200 */

Here's the javascript:
<script type="text/javascript">

var _editor_url = './scripts/xinha';
var _editor_lang = "en";
var _editor_skin = "green-look"; If you want use skin, add the name here

</script>
<!-- Load up the actual editor core -->
<script type="text/javascript" src="./scripts/xinha/XinhaCore.js"></script>
<?php

$editor_plugins = "'ContextMenu','Media', 'SuperClean', 'GetHtml', 'ImageManager', 'Linker'";

?>

<script type="text/javascript">

var xinha_plugins =[<?php echo $editor_plugins; ?>];
var xinha_editors =FBTextArea?;


function xinha_init(){

if(!Xinha.loadPlugins(xinha_plugins, xinha_init)) return;
var xinha_config = new Xinha.Config();
xinha_config.toolbar =

[
["htmlmode","insertimage","formatblock","fontsize","bold","italic","underline","strikethrough","forecolor","hilitecolor","textindicator","linebreak","justifyleft","justifycenter","justifyright","justifyfull","insertorderedlist","insertunorderedlist","outdent","indent","inserthorizontalrule","createlink","linebreak","undo","redo","killword","clearfonts","removeformat"],
];


xinha_config.pageStyleSheets = [ _editor_url + "/editor.css" ];
xinha_editors = Xinha.makeEditors(xinha_editors, xinha_config, xinha_plugins);
Xinha.startEditors(xinha_editors);

}
Xinha.addOnloadHandler(xinha_init);

</script>

the required Image appears in the editor (well this is using my online server, localy just the image filename appears

Change History (1)

comment:1 Changed 5 years ago by gogo

  • Resolution set to inactive
  • Status changed from new to closed

inactive

Note: See TracTickets for help on using tickets.