|
06-06-2007, 07:15 AM
I've found out the reason why I'm getting errors all over and issues with javascript:
There is a line break (i.e. "\r\n") after some of my email addresses stored in the database. How that is happening, I'm still not sure and I'm trying to track it down. I am using my own home brewed LoginShare, so there could be issues there, but I need more time to investigate.
My immediate fix was to add the following php code wherever it was outputing the email address in javascript:
$email = str_replace("\r\n", " ", $email);
It is a pain in the but, and it will have to be reapplied when I upgrade, but we were getting so many JavaScript errors it was unbelievable and made it near impossible to use. Hope this helps anyone else out with this issue.
Justin Carmony |