Memberpages 3.1

Erweiterungen
Post Reply
JanVolkert
Posts: 2
Joined: Wed 6. Mar 2013, 22:18

Memberpages 3.1

Post by JanVolkert »

My site is build using CMSimple 4.0.4. I like to extend it with an Members only section. To do this I registered a subdomain (intranet.mydomain.nl) and installed in a submap CMSimple in combination with Memberpages 3.1. On my localhost (WAMP) no problems. Memberpages works as it should.
But on the host I get after the login , the logout and after a change in the settings of memberpages the message:

"CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers."

When this message appears I can enter the name of the site (intranet.mydomain.nl) in the browser end then it appears that I am logged in, logged out and settings are changed. So the only problem seems to be in the return from the plugin to the site.

This was a known problem in old versions of Memberpages_XH that was reported to be solved from version 1.6. Is it back again?

Can anyone give advice how to solve this?

Some more details:
* my provider (http://www.vevida.com) uses Windows (no Linux or Unix).
* my public site is http://www.mydomain.nl (mydomain is not the real name, but that is not important I assume).
* the members only section is registered as 'intranet.mydomain.nl'
* The index.php in the root redirects the www to home.php that is also in the root.
* The index.php in the root redirects the intranet to index.php that is in a subfolder of the root with name intranet.
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

Re: Memberpages 3.1

Post by Gert »

JanVolkert wrote:On my localhost (WAMP) no problems. Memberpages works as it should.
JanVolkert wrote:"CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers."
JanVolkert wrote:my provider (http://www.vevida.com) uses Windows (no Linux or Unix).
Seems to be a Memberpages problem only on Windows (IIS) Servers.

Copy the CGI error message to Google, and you will find something,

Gert
Gert Ebersbach | CMSimple | Templates - Plugins - Services
svasti
Posts: 4
Joined: Tue 20. Nov 2012, 10:38

Re: Memberpages 3.1

Post by svasti »

Hoi Jan,
JanVolkert wrote:But on the host I get after the login , the logout and after a change in the settings of memberpages the message:
Here it is interesting that problems occur only when in the code uses the function

Code: Select all

header('Location: '.$sn.'?'.$plugin_tx . . . 
I just looked at the 1.7 version, where also is made extensive use of

Code: Select all

header('Location: '.$sn.'? . . .
For test purposes you may consider to install version 1.7 (download from http://cmsimplewiki.com) and see if the problem is still there.

You could also install –– if you have firefox –– https://addons.mozilla.org/de/firefox/a ... p-headers/ and post here, what the sent header actually is (be careful, this tool also gives out your password, which you should delete before posting the header here).

There is an alternative to memberpages, namely Register_XH. However it probably will create the same difficulties.

Hopefully a solution will be found
svasti
svasti
Posts: 4
Joined: Tue 20. Nov 2012, 10:38

Re: Memberpages 3.1

Post by svasti »

Hi Jan,
there may be a solution... in rewriting all "header('Location:" calls.
Somebody else is also interested in a solution. I may be able to send you a modified version for test purposes. You can contact me via PM for details.

svasti
svasti
Posts: 4
Joined: Tue 20. Nov 2012, 10:38

Re: Memberpages 3.1

Post by svasti »

Memberpages 3.21 has been published, which should work also on Windows IIS servers.

Download as usual from http://frankziesing.de/cmsimple or http://frankziesing.de/cmsimple/en
JanVolkert
Posts: 2
Joined: Wed 6. Mar 2013, 22:18

Re: Memberpages 3.1

Post by JanVolkert »

Hi,

I tested the new Memberpages 3.21 version and the problem with the Windows IIS server is solved now. Works perfect! Thanks a lot.

Jan Volkert.
Post Reply