MuVar (MultiVariate Testing Software) - The good, the bad, and the ugly
As you know if you follow this blog, I am a big fan of James Brausch and his products. One of his products that I recently aquired is MuVar - a software package that you put on your webhost and it automatically tracks and optimizes your webpage.
Recently on his blog, James asked for reviews of MuVar. I want to give a glowing review, but I can’t (yet). When some of the things I address below are fixed, then MuVar gets a big thumbs up from me.
(James, if you or someone from your organization reads this, please feel free to let me know if I missed something in the install videos, or take and implement the fixes below - and then let me know - I really, really want to give a glowing review because after it is working MuVar is awesome!)
The Good:
Testing is always good. Automated testing where the program takes the results and applies them to your website so it is continually being optimized to make more sales is even better. And a simple, easy to use interface that sets all this up is the best!
MuVar is all of this.
The Bad:
When I first tried to use MuVar it simply didn’t work. I would use the interface to add variables and any quotes (double and single) would end up with multiple backslashes before them. So if I had a testimonial on my web page such as:
“This is Steve’s best software”
it would end up looking like:
\”This is Steve\’s best software\”
I googled around and found that this was a (mis)configuration on my server (actually the default configuration of a PHP install) and also found a fix which I applied. (Fixes are below in the “Ugly” section)
Next, after I got that problem fixed, I found that on some variables, no matter how many times I entered in a new one, MuVar would somehow be caching a previous version, so I would end up with 3 variables all containing the same stuff - which was from a different variable alltogether.
Come to find out, this was a problem with cookies. It was either a misconfiguration of my server (again) or something wrong with my browser. I fixed this by changing the use of cookies in one part of MuVar to the use of REQUEST variables instead.
So finally, I got MuVar working.
And it is very cool. A great idea, implemented with an easy to use interface. Of course for most people you won’t run into the problems I did. But I am sure that some will. So, if you do end up with similar problems to mine, Apply the fixes below.
The Ugly:
In order to avoid the backslash problem, I had to either modify my php.ini file by changing
; magic_quotes_gpc = On
to
magic_quotes_gpc = Off
It turns out that PHP defaults to “escaping” or adding a backslash to all quotes that are in POST, GET, REQUEST or COOKIE variables.
If you don’t have access to your php.ini, then you can edit the misc.php file and add the following code:
|
I added it right at the top of misc.php at about line 10 right after
$testVal="This is a test.";
This fixed the extra slashes problem.
Now, to fix the cookies problem, I had to modify two files: review.php where I added the following at about line 47
find this line:and insert the following after it:
|
And in addverdoit.php:
Change all instances of _COOKIE to _REQUEST, so that
|
Becomes:
|
With these changes, MuVar works perfectly for me. And I can highly recommend it. Actually, even after taking the time to make the fixes, I can still recommend it.
So go ahead and Buy Muvar - and try it, then if you run into the same problems I did, apply the fixes (They only take 5 minutes to apply.) You will be glad you did!
-Steve Oliphant
February 24th, 2007 at 1:59 pm
[…] Original post by Steve Oliphant’s Musings and software by Elliott Back Posted 24 Feb, 2007 | Categories: Uncategorized […]
April 19th, 2007 at 1:01 pm
Steve…
1) Is your server Windows or Unix based? (I found that getenv function has some issues on Windows and needs to be replaced with $_Server[] - this applies to the original version, I don’t know if this was changed in the new version.)
2) Is the time and timezone set correctly on your local PC And Server? The cookies in Muvar (the original version) are set to expire in 10 hours, so if your PC is more than 10 hours off they may be deleted right away. I think your issues seems to be that the cookies don’t overwrite, or rather, new cookies get created each time… so read on…
2) Do you have access to the php.ini file? If so, check the setting for session cookies, the following shows the ones I’m thinking about and their default values.
session.use_cookies=1
session.use_only_cookies=1
session.cookie_lifetime=0
session.cookie_path = /
session.cookie_domain =
Just brain storming here…
Fred
May 3rd, 2007 at 8:00 pm
1. Server is Red Hat Linux.
2. Timezone is set correctly. Issue is that cookies once created don’t get overwritten or changed, so the first entry is fine, all after that contain the same as the first one.
3. From my php.ini:
session.use_cookies=1
session.cookie_lifetime=0
session.cookie_path = /
session.cookie_domain =
session.use_only_cookies is missing
The interesting thing is that I tested also on a FreeBSD based virtual server and saw the same problems. With both FireFox and IE. On two different computers!
I am sure I must be missing something if it works as is for the majority of users. Oh Well. I am not going to debug any more until I get a copy of the latest version. That one is looks very cool
-Steve Oliphant