Opigno (Drupal) error with file_create_path
Submitted by tsparrow on Sat, 05/17/2014 - 14:52
Forums:
I am using Opigno LMS for Drupal and have just tried creating my first H5P content. Unfortunately, I am getting an error when saving the content (FlashCard):
Fatal error: Call to undefined function file_create_path() in /home/XXXXXXXX/public_html/LMS/sites/all/modules/h5p/library/h5p.classes.php on line 1303
I have tried searching for similar issues with H5P and also for Opigno/Drupal but can find nothing relevant.
Any ideas as to what could be causing this issue?
Out of interest, the content appear to have been created, but I get the same error when trying to view or edit it.
Many thanks,
Tim
H5P Group
Wed, 05/21/2014 - 13:13
Permalink
Solution
Hi Tim,
There is a bug in H5P for Drupal 7 related to "content development mode". Could you please verify if "content development mode" is enabled (admin/settings/H5P)?
tsparrow
Thu, 05/22/2014 - 03:35
Permalink
I see the option, however, am
I see the option, however, am unable to select it (greyed out tick box). Is it safe to try to enable from the DB side?
H5P Group
Thu, 05/22/2014 - 10:26
Permalink
I think we'll have to dig
I think we'll have to dig deeper into this, please confirm the following:
tsparrow
Thu, 05/22/2014 - 11:41
Permalink
1) Confirmed - The following
1) Confirmed - The following modules are installed and enabled:
h5_devel
H5P
H5P Editor
All are version 7.x-1.0-beta5
2) Correct.
Enable H5P development mode - Checked
Enable H5P content development mode - Unchecked and unable to change
I am logging in as admin and have full permissions. I am using the 1.10 Opigno release (I plan to upgrade to 1.11 in the next couple of days though).
Appreciate the help as, like a steering wheel, it is driving me nuts :)
H5P Group
Thu, 05/22/2014 - 11:44
Permalink
Try this first
Ok, could you try to:
Does this fix the problem?
tsparrow
Thu, 05/22/2014 - 11:56
Permalink
I have disabled h5_devel,
I have disabled h5_devel, unticked Enable H5P development mode and run cron and update to refresh the system. The box is still untickable (greyed out).
The server is still in test and I am happy to provide access if it would be easier for you to diagnose.
H5P Group
Thu, 05/22/2014 - 11:59
Permalink
Yes, please provide access.
Yes, please provide access. You can do it through http://h5p.org/contact