Hi,
There seems to be a problem with the latest CMSMS (1.9.4.1) where it will not accept UDT with:
php assigning to a variable ending in a number, where the variable is assigned a number. eg:
$shortvar1 = 1;
Is this just me or does this happen for others as well? I discovered I couldn't modify my php code in the UDT section, and these kinds of variables stopped it from submitting. If I click apply, nothing happens, and if I click submit I reach a 404 page! When I remove the code, then everything works fine.
Thanks.
UDT validation bugs?
Re: UDT validation bugs?
I created a new UDT with
and it works just fine over here. I used cmsms 1.9.4 and 1.9.4.1
Code: Select all
$shortvar1 = 1;
Re: UDT validation bugs?
Thanks Jos,
I did a verify of my install,
148 Files Not found
Files Not found:
/tmp/cache/SITEDOWN
/tmp/cache/index.html
/tmp/templates_c/index.html
/install/*
What do you think I should do? I have already tried safari and firefox 3/4.
I did a verify of my install,
148 Files Not found
Files Not found:
/tmp/cache/SITEDOWN
/tmp/cache/index.html
/tmp/templates_c/index.html
/install/*
What do you think I should do? I have already tried safari and firefox 3/4.
Re: UDT validation bugs?
It gets weirder:
seems to work for me,
fails! But
Code: Select all
$shortvar1=1;
Code: Select all
$shortvar1= 1;
works!?$shortvar1a= 1;
Re: UDT validation bugs?
You don't have the code wrapped in <? php code code code ?> do you?...
Re: UDT validation bugs?
Nope. Also, this bug is not repeatable on one of my other CMSMS systems. I will probably investigate it at another time. For now I just validate the code on php manually, then copy the code into the database directly.Dr.CSS wrote:You don't have the code wrapped in <? php code code code ?> do you?...