John Hsu
unread,Jul 14, 2011, 5:18:42 PM7/14/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Moodle-BLTI
Hi, just a heads up on an possible issue:
split() was deprecated in php 5.3, so I'm getting these two warnings
included in the HTTP response before the LTI xml:
"Deprecated: Function split() is deprecated in /usr/share/moodle/mod/
basiclti/OAuth.php on line 755
Deprecated: Function split() is deprecated in /usr/share/moodle/mod/
basiclti/OAuth.php on line 759"
The fix is just replacing the split() calls with explode().
I'm quite confused as to why the deprecation warnings show up. The
warnings aren't present if the LTI consumer and producer are on the
same server, but if I have consumer and producer each on different
servers, they show up.