Hi folks,
We're converting a legacy DB (4D 2003 and A4Dv3) up to v11 and A4D v5,
but I'm having trouble getting "auto create vars = true" in
Active4D.ini to work. The parameter mode is set to form variables, but
it doesn't make any difference whether it is or not. The local
variables are not created.
Auto create vars is not good coding practice and I can code around
this. However, there are over 200 .a4d files in this project so it's
not something I want to tackle immediately. With a query param of
test=999
defined($test) -> false
a4d.debug.dump request -> shows test as a query param (or form
variable if I have parameter mode = form variables)
a4d.debug.dump locals(true; true) -> no sign of test
Fusebox is not being used, but I've also verified this behaviour on
the demo database (where it appears in the $attributes collection but
still not as a local).
Platform is Mac OS X 10.5.8 using 4D v11.5 and A4D v5.0r11 (with 4D as
the web server).
Tony Pollard
Another Dimension Ltd
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/