Saltbox / wordpress-lti-consumer

Use Wordpress as an LTI Consumer to launch remote learning content
GNU General Public License v3.0
17 stars 11 forks source link

Issue in configuring the plugin #23

Open cvnniranjanreddy opened 8 years ago

cvnniranjanreddy commented 8 years ago

It is showing atal error: Maximum function nesting level of '100' reached, aborting! in D:\wamp\wamp\www\wordpress\wp-includes\load.php on line 886 when I client on "Add New" in this plugin and also below error message.

Warning: call_user_func() expects parameter 1 to be a valid callback, function 'sb_lti_content_inner_custom_box' not found or invalid function name in D:\wamp\wamp\www\wordpress\wp-admin\includes\template.php on line 1037

Can you please guide me in configuring this plugin.

I am using latest version of Wordpress..

fugu13 commented 8 years ago

It looks like we missed a few places when we added namespacing support to fix another issue. We've done a pass and fixed them, which deals with the function not found error you had and hopefully handles the activation problem

cvnniranjanreddy commented 8 years ago

Thank You for very quick Fix, I have one more question regarding the configuration. When I tried with moodle LTI provider details. IT is showing page not available error.

Can you please help me in configuring your WP consumer for Moodle provider..

Is there any thing to be enabled or changes to make it work for moodle provider..

topps commented 8 years ago

Well, I got further with v0.4.1 than I did with v0.3.0 -- thanks very much for your work on the namespace stuff. I managed to install and activate the plugin on my WordPress 4.6 site. Seemed quite easy. But when I create a Page, with the Shortcode in it, only the Page's title is displayed. None of the body text is shown, either before or after the Shortcode. I then also tried with 'Scripts n Styles' plugin, which allows me to embed a shortcode in a Page. This produces the exact same effect. So, the good news is that something is working, because the Shortcode is kinda recognized. And even when I View Source on the page, the guts of the shortcode (consumer_key and secret_key) are not revealed. I got the keys from OpenLabyrinth, our own educational research platform (http://openlabyrinth.ca) and used the same process for generating consumer keys etc as I do for Moodle and Desire2Learn, both of which work with OpenLabyrinth as a Tool Provider. So I'm not sure what to try next. Any suggestions, anyone?