<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Graham,<br>
<br>
I have simply not believed the deploy tool and uploaded the complete
vcl to the web. This way, I know its not an issue.<br>
<br>
I had wondered about the php version, but not blaming that yet.<br>
<br>
Really the major issue is php itself - based on basic (arguably the
first kiddy language invented over 30 years ago). I cant believe we
are using it now !! Slight misspelling of an identifier and one is
history with errors that have nothing to do with reality. I have
had ajax stop working. Then query->open would not work but
query->active = true would etc....<br>
<br>
The issue of the oncreate firing multiple times turned out to be
caching (probably by the php engine itself - nothing else makes
sense) as I had cleared the browser cache. Once I fixed that with
some html tags, the refresh from ajax has stopped working. It no
longer refreshes the control as it used to - until the form is
submitted.<br>
<br>
I am going to have one more go at ajax based data control refresh on
another form. If that doesnt work, then I will convert all of the
delphi stuff to php. The ide is still useful as a project manager.<br>
<br>
I finally discovered the <u><big>problem with constants</big></u>
in another file. if there is no vcl in the page (form) then the
constants work. As soon as vcl is involved, they are no longer
visible...<br>
<br>
I discovered the <u><big>problem with functions</big></u> in
another file. There must be no spaces between the identifier and
the bracket. Then they work.<br>
<br>
Rohit<br>
<br>
<br>
On 13/03/2011 5:25 p.m., Graham Marsden wrote:
<blockquote
cite="mid:4D7C4754.3437.34109D0F@graham.wk.planet.gen.nz"
type="cite">
<title></title>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<meta http-equiv="Content-Style-Type" content="text/css">
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">Hi Rohit</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;"><br>
</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">When I had a play with D4PHP I
fould the same</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">frustrations you have reported
recently and had</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">the same problem with stuff working
locally but</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">failing when deployed to the net.
If you follow</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">the delpoy instructions (such as
they are) then</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">that may be one problem in not
installing the</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">deploy files (only a few of which
surely are used</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">for a simple app) in the correct
ind searchable</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">folders. Another and maybe more
significant source</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">of errors is the fact that D4PHP
assumes you are</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">going to have PHP 5 on the host,
which may or may</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">not be the case - check with
phpinfo() This last</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">one plus the poor documentation has
put my D4PHP</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">life on hold until the situation
clears - aside to</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">Embarcadero !! - can we have some
better</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">documentation and examples ? -
please </span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;"><br>
</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">Best of luck</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;"><br>
</span></font></div>
<div align="left"><font size="2" face="Arial"><span
style="font-size: 10pt;">Graham Marsden</span></font></div>
<div align="left"> </div>
<br>
</blockquote>
<br>
<BR>
<BR>
__________ Information from ESET NOD32 Antivirus, version of virus signature database 5949 (20110313) __________<BR>
<BR>
The message was checked by ESET NOD32 Antivirus.<BR>
<BR>
<A HREF="http://www.eset.com">http://www.eset.com</A><BR>
</body>
</html>