As your warning message stated:
Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /home/username/public_html/modules/mod_yahoostockquote/mod_yahoostockquote_lib.php on line 274
If you do a google search on the above, you'll see that this is a known "issue" with curl when in safe_mode or an open_basedir is set.
If you're not comfortable setting safe mode to off, then you have to do a bit of additional work. There are many solutions suggested in the net. I would suggest you take a look at some of the solutions in
User Contributed note of php.net first. (Note: load the page and search for "safe_mode" ).
You have the source code. All you need is to change line 274 "curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true)" to whatever your preferred solution suggested.
I'm on a business trip right now. Hence the late reply. And I won't be able to test any of those suggested solutions now. When I have some time, I might test some of these solutions and release one version that give support for safe_mode on, or maybe one version that doesn't use curl.
Hope this helps.
Regards,
/kksou