Log in or register to post comments
Last post
XML request error: Internal Server Error (500)
I bought an application called mail-manager-pro and i installed it in my server, i was creating a newsletter and it had this FCK editor, when i wanted to upload a picture i got this error:

Image

I dont know what to do about it, i thought it was the permissions or something like that but, when i installed the software it's supposed to do everything by itself.

i was checking this file on my server: www\mail\tools\fckeditor\editor\filemanager\browser\default\connectors\php\config.php

and this is what it is inside:

<?php 
/*
 * FCKeditor - The text editor for internet
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
 * 
 * Licensed under the terms of the GNU Lesser General Public License:
 *              http://www.opensource.org/licenses/lgpl-license.php
 * 
 * For further information visit:
 *              http://www.fckeditor.net/
 * 
 * "Support Open Source software. What about a donation today?"
 * 
 * File Name: config.php
 *      Configuration file for the File Manager Connector for PHP.
 * 
 * File Authors:
 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
 */

global $Config;

// SECURITY: You must explicitelly enable this "connector". (Set it to "true").
$Config['Enabled'] = true ;

// Path to user files relative to the document root.
$Config['UserFilesPath'] = '';

// Fill the following value it you prefer to specify the absolute path for the
// user files directory. Usefull if you are using a virtual directory, symbolic
// link or alias. Examples: 'C:\\MySite\\UserFiles\\' or '/root/mysite/UserFiles/'.
// Attention: The above 'UserFilesPath' must point to the same directory.
$Config['UserFilesAbsolutePath'] = '' ;

$Config['AllowedExtensions']['File']    = array() ;
$Config['DeniedExtensions']['File']             = array('php','php3','php5','phtml','asp','aspx','ascx','jsp','cfm','cfc','pl','bat','exe','dll','reg','cgi') ;

$Config['AllowedExtensions']['Image']   = array('jpg','gif','jpeg','png') ;
$Config['DeniedExtensions']['Image']    = array() ;

$Config['AllowedExtensions']['Flash']   = array('swf','fla') ;
$Config['DeniedExtensions']['Flash']    = array() ;

$Config['AllowedExtensions']['Media']   = array('swf','fla','jpg','gif','jpeg','png','avi','mpg','mpeg') ;
$Config['DeniedExtensions']['Media']    = array() ;

?>


Any ideas?, i need this application working and support from the company i bought this software is really lacking the interest in fixing this. and its been a month since i reported the problem.

Thanx!.


/////// EDIT

I uploaded the new version of FCK editor, version that i just downloaded!, and now i get a different error!

The server didn't send back a proper XML response. Please contact your system administrator.

XML request error: Internal Server Error (500)

Requested URL:
http://mail.neocorps.com/tools/fckeditor/editor/filemanager/connectors/php/connector.php?Command=GetFoldersAndFiles&Type=Image&CurrentFolder=%2F&uuid=1223325345915

Response text:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>500 Internal Server Error</TITLE>
</HEAD><BODY>
<H1>Internal Server Error</H1>
The server encountered an internal error or
misconfiguration and was unable to complete
your request.<P>
Please contact the server administrator,
webmaster@mail.neocorps.com and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.<P>
More information about this error may be available
in the server error log.<P>
<P>Additionally, a 404 Not Found
error was encountered while trying to use an ErrorDocument to handle the request.
<HR>
<ADDRESS>Apache/1.3.41 Server at mail.neocorps.com Port 80</ADDRESS>
</BODY></HTML>

is there any way to fix this.. because i really liked this new version!
Re: XML request error: Internal Server Error (500)
Hello. I'm having the same problem....did you get a resolution?????
Re: XML request error: Internal Server Error (500)
Junctionist wrote:Hello. I'm having the same problem....did you get a resolution?????



Sorry, but no, i have not had a reply, not from this forum, and not from the vendor's of my mail manager. any ideas?
Re: XML request error: Internal Server Error (500)
I do have the same problem..works fine locally but not on live server.
Re: XML request error: Internal Server Error (500)
sameer wrote:I do have the same problem..works fine locally but not on live server.


I can't manage to make it work still, its been 4 months since this post.

I'm so gonna talk to my lawyer, why would i want to buy a software that does not work from the begining.
Re: XML request error: Internal Server Error (500)
Hi Neocorps,

We bought the same mailing software as you (I think! - mailing list manager pro) and had the same problem with the "internal server error". I actually found your post when looking for a solution. In any case I resolved our problem by just fiddling with chmod permissions.

I don't know if this will work for you, but if your host is using Linux and you're using PHP it just might.

1) Extract zip files to server
2) "chmod -R 755" from a shell, or do recursive chmod using something like Filezilla for 755
3) Just install


That worked for me. The instructions said use chmod 777 for some specific directories, but that didn't work on my host, probably for security reasons.

I will also add it looks like you extracted your files into the wrong directory on the server - the instructions clearly state you need to use the directory: mailing-manager , installed in the root of your server.

Hope this helps!

Cheers
Re: XML request error: Internal Server Error (500)
I had this same problem but was able to fix it by modifying the string to the connector. My problem was caused by URL rewriting in .NET

What I think that happens is that when you try to insert an image, FCKeditor loads a connector file to find out where the where the 'Image' directory is located.

If FCKeditor can't find the connector file, eg. connector.php, it displays either a 404 or 500 error.

The key is the value of the Connector parameter in the URL.

In the example above the URL is:
mail.neocorps.com/tools/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php

I can't see how FCKeditor can find connector.php using a URL of connectors/php/connector.php

I think that it should be something like:
mail.neocorps.com/tools/fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=tools/fckeditor/editor/filemanager/connectors/php/connector.php

Hope this helps someone out.
Re: XML request error: Internal Server Error (500)
Hi I am also getting the same error.
But I have used this fckeditor in ASP.net I am setting all the url values for image browsing it is working fine in ASP.net.
But when i configure it through HTML page it doesn't seems working It displays server error.

If any one knows what is the problem and how to configure it in html via javascript then please let me know.

Thanks,

navneet
email:navneet_k@assigncorp.com
Re: XML request error: Internal Server Error (500)
I had the same problem:
FCKEDITOR in MY CMS SYSTEM.
Server of installation: LINUX
Error on FILE SERVER BROWERS with FCK

I try to access to the conector.php directly to view test.
http://www.myweb... /fckeditor/editor/filemanager/connectors/php/connector.php
and I got the 500 server error.

I change the permissions of that file to 644 and try to access again, after restar to 755 and when I check:
http://www.myweb... /fckeditor/editor/filemanager/connectors/php/connector.php
The browser gives and blank page (NOT 500 ERROR) and FCKEDITOR WORKS FINE.

I suggest you try to change the CHMOD of connector.php to limited permision and after to 755 permision to unlock the file.
Re: XML request error: Internal Server Error (500) (SOLUTION)
I don't know why this problem exists but I could solve it by doing next:

Change in the config.js file the line
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.xml' ;
with
FCKConfig.StylesXmlPath = FCKConfig.EditorPath + 'fckstyles.txt' ;

And rename the file fckstyles.xml to fckstyles.txt

Doing that, I will work.

Greatings!
Re: XML request error: Internal Server Error (500)
hey everybody,
Today i'm having the same problem.
I use FCKEditor of Fatwire, when i insert an image, system show error:

The server didn't send back a proper XML response. Please contact your system administrator.
XML request error: Internal Server Error (500)
Requested URL:
https://....cs/FCKeditor/filemanager/co ... d=13xxxxxx
Response text:
<div id="headingLv1-pagatitle-plain"><div>
..........


i have tried the every ways of you, but not successful.
if any body have any solutions, please help me.
my system: xp sp2, ie 8
Re: XML request error: Internal Server Error (500)
My error:
The server didn't send back a proper XML response. Please contact your system administrator.
XML request error: Internal Server Error (500)

System : Linux red hat
what kind of XML is this? I check the XML and it looks oK
Re: XML request error: Internal Server Error (500)
hi everyone
I have the same issue with aspx
I have this in fckconfig
var _FileBrowserLanguage = 'aspx' ;
var _QuickUploadLanguage = 'aspx' ;
I have this in web.config
<SafeControls>
--<SafeControl Assembly="FredCK.FCKeditorV2, Version=2.6.3.22451, Culture=neutral, PublicKeyToken=4f86767c9b519a06" Namespace="FredCK.FCKeditorV2" TypeName="*" Safe="True" />
--<SafeControl Assembly="FredCK.FCKeditorV2, Version=2.6.3.22451, Culture=neutral, PublicKeyToken=4f86767c9b519a06" Namespace="FredCK.FCKeditorV2.FileBrowser" TypeName="*" Safe="True" />
</SafeControls>
<appSettings>
<add key="FCKEditor:BasePath" value="~/FCKEditor/" />
<add key="FCKEditor:UserFilesPath" value="/mysite/FCKEditor/editor/images/Repositorio" />
</appSettings>

when I use explorer for LinkUpload
a pop says "The server didn't reply with a proper XML data. Please check your configuration."
I see the command line with firebug and says
could not load type 'FredCK.FCKeditorV2.FileBrowser.Connector'
I have a bin folder with FredCK.FCKeditorV2.dll in FCKEditor folder
I thing, is a correct ubication, because the editor works fine, but file manager not.

when I use the test.html is the same!!!!

I use framework v2 or v3.5, and is the same.
in windows Xp, 2003 server or 2008 server and is the same too.

Who can help me ?
I find, and a lot of people have the same problem.

thanks
Re: XML request error: Internal Server Error (500)
Solved!!!!!!!!!!

I put FredCK.FCKeditorV2.dll outside of fckeditor folder
in the bin folder OF THE APPLICATION.
then I get a new error with SessionState
only set true EnableSessionState in pages secction of config file
and now I finally have filebrowser

thanks