You are reading the Drake CMS Official Forums archive, available for historical purposes only.
Drake CMS has been rebranded into Lanius CMS, visit the new Lanius CMS Official Forums if you need support about Lanius CMS or Drake CMS -> Lanius CMS migration.
I'm hoping someone can assist me. I have been
trying to install Drake now for about 3-4 weeks and am
continuously getting the following CGI error at stage 3:
CGI Error The specified CGI application
misbehaved by not returning a complete set of HTTP headers.
PHP v5.2.2 is installed on the server with the only
configuration that is different on stage 1 being 'magic quotes
GPC', which is 'on' instead of recommended 'off'. PHP works on
the server as I have redesigning the website in PHP (and want to
setup the site for the client to be able to edit their own
content, hence DrakeCMS).
In Stage 2 of installation I
select Gladius DB as the database and the 'test database' option
works indicating that the connection is ok. The automatic email
also gets sent to my email address from the administrator details
I have entered.
Web Server is IIS and the technicians
have referred to the IIS configuration on PHP.net and moved the
site across to a newer version of IIS which hasn't solved the
problem. The site was initially on PHP 4.X and was moved to
5.2.2 in another attempt to resolve the problem.
I
have referred them to the other topic in this section where
somebody has had installation problems and I can't get a definite
answer as to whether they have tried the windows hotfix or
not.
Just to be sure it isn't an IE thing I have tried
running the installation on Firefox also as well as different
versions of IE and on different computers.
Is there a
manual way to enter these settings and get it working or is there
a fix to the installation files? I'm sure it can be set up
manually but the documentation on this website isn't very
forthcoming. i.e.
Manual
installation TODO: add guide here
Alternatively can anyone suggest an earlier version of Drake
that they installed which worked when they originally got the
same problem?
Regards and thanks for reading, Tim
trex1512
Re: Installation CGI error at stage 3
23 March 2008 11:02
Anonymous
Hi
Sorry I do not have an answer that will solve your
problem just that this particular issue seems to have been around
for some time with IIS 5 and 6...
MS certainly
acknolwdeges the problem and the fix HERE
Previous
poster with this same issue did not reply with the final outcome
of their problems ...
Are you able to run the simple
script mentioned in that thread?
legolas558
Re: Installation CGI error at stage 3
25 March 2008 12:41
Anonymous
Hi Tim,
don't worry - we'll fix this problem - either
on your setup or in Drake CMS source code.
and say if it works or if the same problem is there?
Thanks
timsutherland
Re: Installation CGI error at stage 3
28 March 2008 08:26
Anonymous
Thanks for your responses. I have tried to install the version
from the URL http://drakecms.sourceforge.net/services/public/ but
get the same error.
timsutherland
Re: Installation CGI error at stage 3
03 April 2008 00:32
Anonymous
Thanks for your responses. I have tried to install the version
from the URL http://drakecms.sourceforge.net/services/public/ but
get the same error.
Any other options?
legolas558
Re: Installation CGI error at stage 3
12 April 2008 18:58
Anonymous
Quote by timsutherland:
Thanks for your responses. I have tried to install the version
from the URL http://drakecms.sourceforge.net/services/public/ but
get the same error.
Any other options?
I think it's a well-known issue with PCRE. Are you able
to update your PHP?
timsutherland
Re: Installation CGI error at stage 3
12 April 2008 22:50
Anonymous
PHP version 5.2.2 is installed. What version are you suggesting
I upgrade to?
legolas558
Re: Installation CGI error at stage 3
15 April 2008 06:22
Anonymous
Your version is OK, I think it must be something else, maybe in
some external library.
Can you please give a red to this thread and run the
following tests?
attempt to access
/version.php
create a php file with <?php
phpinfo(); ?> inside it
Thank you
timsutherland
Re: Installation CGI error at stage 3
15 April 2008 08:44
Anonymous
Hi Legolas
When I try to access the version.php page I
get a blank page.
It is located at: http://www.nomoreknots.com.au/manage/version.php
The
phpinfo page is located at: http://www.nomoreknots.com.au/phpinfo.php
Apologies
for not sending this link earlier, it may have helped you better
analyse the problem.
I look forward to hearing from
you.
Regards, Tim
legolas558
Re: Installation CGI error at stage 3
15 April 2008 21:13
Anonymous
Quote by timsutherland:
When I try to access the version.php page I get a blank
page.
It is located at: http://www.nomoreknots.com.au/manage/version.php
When trying to access that page, I get: Code:
HTTP/1.x 403
Forbidden
in the HTTP headers. Can you
check if the directory (and relative files) have correct file
permissions? Seems they have not.
Quote:
The phpinfo
page is located at: http://www.nomoreknots.com.au/phpinfo.php
I
strongly suggest you to disable such page because it will give
potential clues for attack to hackers.
From your
phpinfo I can see that you have PCRE 7.0 library, which might be
the cause of the problem, but we have worked around PCRE7 bugs up
to now...will check later
Quote:
Thanks Apologies for not sending this
link earlier, it may have helped you better analyse the
problem.
No problem
timsutherland
Re: Installation CGI error at stage 3
16 April 2008 09:43
Anonymous
Legolas
phpinfo.php page will be disabled shortly. I
only put it up there so it would be easier for you to see and to
help you diagnose the problem.
I have asked twice now
for the webhost to allow write access to all folders, subfolders
and files in this area which they claim to have done.
Can you please advise what I need to be asking for?
Can you also please advise what you find in relation to PCRE7
(if anything is found)?
Regards, Tim
legolas558
Re: Installation CGI error at stage 3
16 April 2008 19:19
Anonymous
Quote by timsutherland:
Legolas
phpinfo.php page will be disabled shortly.
I only put it up there so it would be easier for you to see and
to help you diagnose the problem.
Yes,
thanks.
Quote by timsutherland:
I have asked twice now for the webhost to
allow write access to all folders, subfolders and files in this
area which they claim to have done.
Can you please
advise what I need to be asking for?
Sorry,
please ignore my comment regarding file permissions. I think they
are correct on your server.
Quote by
timsutherland:
Can you also
please advise what you find in relation to PCRE7 (if anything is
found)?
PHP+PCRE7 has a bug which cannot be
fixed (unless the PHP and/or PCRE teams work on it) but must be
worked around. We already did it when PCRE7 was first introduced
into PHP4 and PHP5. From your findings it seems that the bug
is still there, or that something else is happening on the
server.
I think that it might not be the PCRE7 bug
this time. It might be a problem with the mailing system
auto-choosing system.
Please make the following test
and tell me if it will install OK. Edit
install/stage3.php at lines 125,126: Code:
include
$d_root.'install/choose_mailer.php'; $mailer_sql =
_choose_mailer($cemail);
and change them
this way: Code:
include $d_root.'install/choose_mailer.php'; $mailer_sql
= null; //$mailer_sql = _choose_mailer($cemail);
Is the problem now fixed?
timsutherland
Re: Installation CGI error at stage 3
16 April 2008 22:24
Anonymous
YESSSSSSSSSSS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I now get
the final screen with all green lights and a message saying
installation successful.
Is there any
functionality lost by changing this variable? If this is the
case is there a variable I can change after installation to
restore any lost functionality?
I will try
again later today with the current stable installation to be 100%
sure but it looks as though it's all good now.
I
appreciate your help and look forward to developing some
templates and seeing what this can do. My client will be very
happy to finally be able to soon edit their own content without
having to know HTML and CSS.
Regards, Tim
legolas558
Re: Installation CGI error at stage 3
17 April 2008 17:18
Anonymous
Quote by timsutherland:
YESSSSSSSSSSS !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I now
get the final screen with all green lights and a message saying
installation successful.
The problem is that
PHP/CGI on Windows silently crashes when trying to execute a
shell command; in particular, the crash happens when attempting
to run a sendmail command. The correct behaviour would be to fail
an return control to PHP execution flow, but this never happens
We will have
to work it around on the next version.
Quote:
Is
there any functionality lost by changing this variable? If this
is the case is there a variable I can change after installation
to restore any lost functionality?
No,
that line chooses a mailing system automatically. You currently
do not have any mailing system selected, but you can easily
select one from the Manage drabots page.
Quote:
I will try
again later today with the current stable installation to be 100%
sure but it looks as though it's all good now.
Yes, it is. It was just the mailer auto-selection which caused
the bug. PCRE7 is not involved in this case.
Quote:
I appreciate
your help and look forward to developing some templates and
seeing what this can do. My client will be very happy to finally
be able to soon edit their own content without having to know
HTML and CSS.
Happy to see
that you can go on with your work. We are currently in a bit
chaotic situation due to the rebranding, but we will soon be back
ready to gather contributes at the Lanius CMS project. Please keep designing templates, and don't forget to put the
"Powered by Drake CMS" link on your sites which uses
Drake CMS! That helps the growth of the software.