Hi,
I recently installed MJ (v1.0RC4). In trying to set up a test environment with FireFox, I eventually got a "content encryption error" I recovered from that but couldn't then reproduce it! In my experience, this type of problem often traces back to an incorrectly handled fopen() command and so I started looking at those. I found one in plugins/Mobile/terawurfl/TeraWurFl.php and, sure enough, it doesn't allow for the possibility of errors occurring (like the user doesn't have write permission on the file, for example). At line 462, I changed
$_logFP = fopen($logfile, "a+");
fputs($_logFP, $_textToLog."\n");
fclose($_logFP);
to
$_logFP = @fopen($logfile, "a+");
if (is_resource($_logFP)) {
fputs($_logFP, $_textToLog."\n");
fclose($_logFP);
}
I don't know if it is related to the problem I experienced but a bit of defensive coding can't do any harm.
Regards
Phil