PDA

View Full Version : "Use Strict Validation for Codes" Gremlin


swiftmv
09-18-06, 07:08 PM
Hello All,

For various business reasons, we uncheck "Use Strict Validation for Codes" in Domain Settings.

At various times, we've been unable to perform certain tasks, and each time we find that the "Use Strict Validation for Codes" in Domain Settings appears as having been checked! As the only Administrator, I know that it wasn't me who did this.

Is there a "gremlin" in Miva that does this? How does one prevent this from happening?

We're running:
MM: v4.22 / MVM: v5.04 and Open UI [4.956/4.984/4.69]

Thanks in advance for your help.
Michael

Vic - WolfPaw Computers
09-18-06, 07:19 PM
That is a bit unusual...and I do not have an answer for you.

However, you will want to get your host to upgrade MIVA Empresa from v5.04 to v5.06. v5.04 has serious known performance issues with mivasql based stores (which includes ALL versions of MIVA Merchant prior to 5 and those MM5 stores with mivasql as the database API.)

ILoveHostasaurus
09-18-06, 07:25 PM
We have two customers who have this happen to them in Merchant 4 every few months; we've never been able to reproduce it or determine when exactly it comes back on to see if there is something in the logs that indicate what might have been occurring around that time. Only happens to those two though, never seen it occur with others.

swiftmv
09-18-06, 07:29 PM
Thanks for your replies.

Further thought has me asking myself this question:
"Does it happen after every time we pack the store and domain files?

Hmmm. I will look out for that next time we do so.


thanks,
Michael

Vic - WolfPaw Computers
09-18-06, 07:30 PM
I doubt it. And I would hope you are packing more often than every few months! :)

Thanks for your replies.

Further thought has me asking myself this question:
"Does it happen after every time we pack the store and domain files?

Hmmm. I will look out for that next time we do so.


thanks,
Michael

Bruce - PhosphorMedia
09-18-06, 09:38 PM
Maybe caused by some other feature/module that is using the same cgi-variable that is passed around the merchant admin. For example, somone named a form field "strict" or "validation". might look to see what the cgi variable is for stricted validation and then see if any other module is using that in a form.

ILoveHostasaurus
09-18-06, 09:40 PM
That's the best explanation/theory I've heard yet; the two customers where this happens do have quite a large number of modules...

swiftmv
09-19-06, 03:26 PM
Thanks, all, for your input. FYI, I packed the store and domain this morning, and "Strict Validation" is still unchecked, so my theory just went down!

Bruce's reasoning sounds good. I'll keep an "eye out" when in my modules to see what might be resetting it.

thanks
Michael

Barrett
09-30-07, 04:01 PM
Maybe caused by some other feature/module that is using the same cgi-variable that is passed around the merchant admin. For example, somone named a form field "strict" or "validation". might look to see what the cgi variable is for stricted validation and then see if any other module is using that in a form.
Bruce or anybody; how would one go about doing what you just said :confused:

On another angle - is there a specific file where this checked value=yes value is written to whereby some very nice coder out there could hack togeither a script that watches the file somehow at that line number and send and email alert as soon as that value is changed to "yes"