Page 1 of 1

Error: the XML response that was returned from the server is invalid

Posted: Sat Mar 21, 2009 6:49 pm
by Jomar
Hi, I'm new to CMS made simple, so I have to learn a lot.

My first problem is the popup with the error about XML response after installing. Can't find any solution in the forum however.
It happens when I want to do whatever handling in Content > Pages (Inhoud > Pagina's)

I am running CMS Made Simple version 1.5.3, PHP 5, and MySQL running on Windows 2003 Servers. The language I use is Dutch.

After a new clean install the problem still exists in IE 7 and FF 3.0.7 as well.

Maybe it has something to do with a message in recommended settings from the sessiontest?
It says something like fopen is off.

But I can't find any guide anywhere about how to turn this on.

Re: Error: the XML response that was returned from the server is invalid

Posted: Sat Mar 21, 2009 8:36 pm
by CWebguy
Are you on a free hosting server?  Most of them turn this funtion off.

Re: Error: the XML response that was returned from the server is invalid

Posted: Mon Mar 23, 2009 6:54 pm
by Jomar
Hi CWebguy,

I have no free hosting server. So I should ask them to turn it on?
I will let you know if they can/will do that.

Grzt
Jomar

Re: Error: the XML response that was returned from the server is invalid

Posted: Mon Mar 23, 2009 7:56 pm
by alby
Jomar wrote: I will let you know if they can/will do that.
If you have some skill, you can install Firebug addon for FF and look for errors

Alby

Re: Error: the XML response that was returned from the server is invalid

Posted: Mon Mar 23, 2009 8:57 pm
by Jomar
Just got a reply from my hoster.
They say it is very likely caused by fopen, but they can't turn it on because of spam abuse.
Bummer!!

Seems I can not use CMSMS with this hoster  :(

Re: Error: the XML response that was returned from the server is invalid

Posted: Tue Mar 24, 2009 4:45 pm
by CWebguy
Get a new host, any reputable paid host should have this turned on.

Cheers,

Re: Error: the XML response that was returned from the server is invalid

Posted: Tue Mar 24, 2009 10:05 pm
by ethical
CWebguy wrote: Get a new host, any reputable paid host should have this turned on.

Cheers,
This is not true, allow_url_fopen is a security risk to have on globally and any reputable host should actually have this OFF by default.

see: http://phpsec.org/projects/phpsecinfo/t ... fopen.html

You can set it ON for you site by editing (or creating ) a php.ini file in the /admin folder and adding the following

allow_url_fopen = on

Re: Error: the XML response that was returned from the server is invalid

Posted: Tue Mar 24, 2009 10:59 pm
by CWebguy
ethical wrote:
CWebguy wrote: Get a new host, any reputable paid host should have this turned on.

Cheers,
This is not true, allow_url_fopen is a security risk to have on globally and any reputable host should actually have this OFF by default.

see: http://phpsec.org/projects/phpsecinfo/t ... fopen.html

You can set it ON for you site by editing (or creating ) a php.ini file in the /admin folder and adding the following

allow_url_fopen = on

Yeah, but they told him/her they wouldn't turn it on.

Re: Error: the XML response that was returned from the server is invalid

Posted: Tue Mar 24, 2009 11:45 pm
by ethical
i wouldn't either but he can turn it on himself, and your right they should have told him how :) that is poor.

Re: Error: the XML response that was returned from the server is invalid

Posted: Wed Mar 25, 2009 12:37 am
by CWebguy
ethical wrote: i wouldn't either but he can turn it on himself, and your right they should have told him how :) that is poor.
yeah, haha.  Oh well.

Re: Error: the XML response that was returned from the server is invalid

Posted: Wed Mar 25, 2009 2:29 pm
by Jomar
php.ini did not do the trick.

Now I have CMSMS installed on another server with another host (my own and not the one where the site is hosted)
Here I have no problem at all, I can move the pages without getting the popup.

Funny thing is I get a red cross while testing with fopen as well as fsockopen, so it seems my problem has noting to with the external url's.

Any suggestions what causses my problem?

I will attach a screenshot of the popup.