"Loading semantics, please wait"
Submitted by robertotoole on Mon, 06/20/2016 - 10:08
When adding a text box to a Course Presentastion in Wordpress the semantics fail to load. I'm also getting this when I try to edit a Twitter feed.
In my Safari error console I'm seeing:
http://www.inspireslearning.com/journal/wp-admin/admin-ajax.php?token=ce... to load resource: the server responded with a status of 503 (Service Temporarily Unavailable)
Mon, 06/20/2016 - 13:03
I've got the Twitter feed semantics loading. The twitter feed is the last of 27 slides. So I guessed that I was moving fast to the last slide in the h5p wordpress editor and then immediately trying to edit it. If I did this more slowly, and wait 20 seconds before trying to edit the feed details, it works OK. Is that because ajax.admin.php is slow in responding - I've read that it is often a problem, and can timeout - hence not loading the semantics file (json?).
Tue, 06/21/2016 - 10:06
How much memory is available
How much memory is available for PHP on your server? It might be a memory issue. I just tested on my local host and I don't have to wait at all.
Tue, 06/21/2016 - 10:42
I just increased it to:define
I just increased it to:
define( 'WP_MAX_MEMORY_LIMIT', '256M' );
Thu, 06/23/2016 - 11:45
Did it help? Are you able to
Did it help? Are you able to confirm that you're getting this much memory? The memory must be allocated to PHP as well I thinkl.
Thu, 06/23/2016 - 11:49
Unfortunately with my hosting
Unfortunately with my hosting deal I don't seem to get control over the PHP memory allocation. I'll investigate further. I really don't like Wordpress! Does it work better with Drupal? I might try that out. And how is the development of the Moodle plugin? That would be most useful for us.
Thanks for your help. H5P is superb!
You can see two examples of what I have done here:
https://h5p.org/node/16400 (this is the one I had trouble with on Wordpress, so I built it on your site)
http://www.inspireslearning.com/journal/interactive-cv/ (Timelines work fine on Wordpress)
Thu, 06/23/2016 - 12:51
Ok, it is probably a memory
Ok, it is probably a memory problem then. Moodle plugin is in beta and will be a release candidate soon after Community Members have done some testing. No bugs reported so far as far as I know. https://h5p.org/moodle