|Pliant talk forum
Bug report: The careless release
release 91 doen't take care of the previous setting
|Message posted by michel on 2004/03/29 15:47:49
|With Windows, with the automatic opening you can see that nor pliant_security,
nor pliant_data, nor custom parameters are taken account of. All seams to be done a new time.
With Linux it is worth, you can do nothing.
|Message posted by hubert.tonneau on 2004/03/29 19:58:20
|A bug with the new code generator under Windows might have broken your
On my side, I have absolutely no problem with the Linux version.
I have no Windows machine here to give it a spin. Maybe Loic can do that
in a fiew days.
|Message posted by michel on 2004/03/29 20:13:42
|I suggest he backups his data base before the spin !!!!
Have you an idea on how to restore my database ?
|Message posted by hubert.tonneau on 2004/03/29 20:20:33
|> Have you an idea on how to restore my database ?
I would suggest you to start with a fresh install, see what truely works and
what does not, then put in back your database files one after the other
(Pliant must not be running when you sent it a file, or you have to upload
it through the Pliant file browser) and send me a copy if one of them does
not recover properly.
What you also have to understand about the users database is that there are
two files: user.pdb and user.log and you cannot move one of them without the
other, unless you pressed the 'Store databases' button in Pliant status
page just before
|Message posted by marcus on 2004/03/30 01:09:46
|I have installed release 91 under Linux and it runs flawlessly. All my old databases
|Message posted by michel on 2004/03/30 14:21:03
|>I would suggest you to start with a fresh install, see what truely works and
>what does not, then put in back your database files one after the other
Unfortunaly the bug with windows has replaced the pliant_secret and pliant_data
directories with new ones and all my previous ".pdb" have benn rubbed out.
|Message posted by hubert.tonneau on 2004/03/30 14:32:55
|Also if you start with an empty configuration, does release 91 works under Windows,
or should I revert the code generator.
|Message posted by michel on 2004/03/30 15:05:10
|After reconfiguring the main services all seems running perfectly (but I have not tested all features)
|Message posted by marcus on 2004/03/31 16:00:49
|I've noticed that a blank-page issue still remains in release 91, but I am not
sure if its removal is viable.
Consider this scenario: a novice Pliant programmer writes the following code
and puts it through the server, which then shows the nice button on the window.
All excited with his first Pliant Web program (s)he then decides to change what
is in the shadow of the button, say the new program is:
But forgets to put the code through the server, i.e., by clicking on the reload
page browser button (or using any other contrivence of that sort). (S)he
simply clicks on the 'Hello!' button hoping to see the new content.
Pliant will give him a puzzling blank page.
I wonder if it would be possible to give the novice programmer a warning
|Message posted by hubert.tonneau on 2004/03/31 17:44:27
|In /pliant/protocol/http/server.pli, try to replace method 'send_misc_answer'
with the following code:
method request send_dynamic_file filename virtualpath -> status
arg_rw HttpRequest request ; arg Str filename virtualpath ; arg Status status
method request send_misc_answer name
arg_rw HttpRequest request ; arg Str name
var Str path := common_path+"misc/"+name+".html"
var Str filename := request site_default
filename := (filename 0 (filename search_last "." filename:len))+".page"
if (request send_dynamic_file filename path)=failure
request send_simple_page name "" "Could not find '"+path+"' on the server." "" "404 Not Found"
|Message posted by marcus on 2004/03/31 18:15:39
|I now see a message.
However, I suggest we replace in default.page
[The button you selected vanished on the server, probably due to just applied update.]
[The button you have selected needs to be recompiled by the server. You should
reload the page where the button is created.]
What do you think?