|Newbie questions about Pliant
On problems with release 89 on Windows XP
|Message posted by marcus on 2004/01/01 14:21:14
A friend of mine was running release 89 under Windows XP. Suddendly, according
to his report, the server stopped to work and started showing the message
cannot allocate page.
He tried to reinstall it, but the error persisted.
He then decided to reinstall release 84. Everything is working.
|Message posted by marcus on 2004/01/01 15:24:17
|More information on the problem reported in my previous message:
According to my friend, release 89 was running, then he brought it down for some
maintance reason, I guess. Then when he tried to restart it, double clicking
on fullpliant.exe, he got the message 'cannot allocate page'.
|Message posted by michel on 2004/01/01 15:45:30
|First Happy new year for all.
I run release 89 on win XP since the begginning of this release witout problem.
Have your friend cleaned up the place before installing new version, particulary if the previous one was old.
To be sure when new look releases came i have deleted :
H:\pliant\pliant\ and H:\pliant\binary\ but note that the volume where I installed Pliant is H:\ and I have no personnal files in the two named trees.
|Message posted by maybe pom on 2004/01/02 09:23:14
|During the maintenance, it might happen that something made the .dump
out of date (.dump are very fragile as they correspond to a memory image).
You might try to delete the .dump files in /pliant/binary
and rerun /pliant/fullpliant.
|Message posted by marcus on 2004/01/20 14:10:30
|Some of my students have installed release 89 on Windows XP and have told me that
when they try to access a simple Web page, such as the one below, they get
the following error message:
The page cannot be displayed
There is a problem with the page you are trying to reach and
it cannot be displayed.
HTTP 500 - Internal server error
Any ideas on what might be the problem?
|Message posted by hubert.tonneau on 2004/01/20 14:17:02
|There is an error in the .page they wrote, but Pliant does not send the
error message properly to the browser.
In order to correct it, you have to modifiy the beginning of 'parse_then_answer'
function in module /pliant/protocol/http/server.pli as following:
method request parse_then_answer
arg_rw HttpRequest request
user_name := ""
user_auth_level := 0
user_shaker := ""
user_is_admin := false
site_name := ""
form := ""
context := ""
context_type :> null map Type
keep_alive_applied := false
query_log := var List empty_list
answer_header_sent := false
answer_footer_sent := false
answer_extra := var List empty_list
answer_status := ""
answer_mime_type := ""
answer_datetime := undefined
answer_is_dynamic := true
answer_size := undefined
answer_encoding := "" # THIS LINE WAS MISSING
answer_chunked := false
answer_stream :> request stream
log_mark := request:log mark