Submitted by ecevid on Thu, 01/26/2017 - 09:32
I have updated h5p plugin recently after that my plugin didn't work Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected '[' in /home/fevraluz/public_html/wp-content/plugins/h5p/h5p-php-library/h5p.classes.php on line 2255
what can i do?
Thu, 01/26/2017 - 09:43
Which version of the
Which version of the Wordpress plugin are you using? In the latest version, line 2255 of h5p.classes.php lies within a comment block and doesn't even contain a [.
Thu, 01/26/2017 - 10:02
Hi! It seems that some code
Hi! It seems that some code was added that requires a newer version of PHP (5.4+). This was not by intent and we will be doing another release of the plugins very shortly(within the hour) reverting this requirement. I'm sorry for the inconvenience.
On a side note, for you own security I recommend using PHP 5.6+ or newer(at the current time) as any older version is no longer official supported and may be exposed to unpatched security vulnerabilities. More info available here: http://php.net/supported-versions.php
Thu, 01/26/2017 - 13:29
it's working thank you team!
it's working thank you team!
Thu, 01/26/2017 - 13:44
I'm glad to hear! Thank you
I'm glad to hear! Thank you for letting us know.
Fri, 01/27/2017 - 16:29
I have wordpress v4.7.1 installed on an Apache virtual server, running php v5.5.
After installing the H5P plugin, I tried to upload the library content and got an error saying that my version of php doesn't support zip files. Ok your library files are *.h5p extension. So I don't get it.
Can I upload the library content via ftp? If so what directory do I drop them in?
Thanks in advance
Fri, 01/27/2017 - 16:50
You can't via ftp i have tried it
You can't via ftp i have tried it wasn't work you should try add new content and upload the .h5p with ready examples it adds to the library automatically
Fri, 01/27/2017 - 17:00
I tried that
I got an error that my php can't upload .zip files. Wierd.
Fri, 01/27/2017 - 17:27
Hi you don't need upload zip
Hi you don't need upload zip just https://h5p.org/content-types-and-applications here is the got examples you just download any of these examples and enter your plugin in your site click the add new button when you enter you will see on the right create and upload click the upload and upload the example which you downloaded that function will add automatically to your library
Fri, 01/27/2017 - 19:34
Thank you very much for your response. It's greatly appreciated.
I did what you suggested several times before placing this post. The upload feature is not working. I need to know how to resolve it by, 1. solving the configuration issue or 2 uploading the sample files into the appropriate server location(s).
Thanks in advance.
Mon, 01/30/2017 - 08:40
You should check if you have
You should check if you have any error messages in your web server's error_log file after trying to upload.
Mon, 01/30/2017 - 07:39
h5p = zip
h5p files are actually just zip files with different file endings.
Mon, 01/30/2017 - 08:33
You also need a php extension
You also need a php extension enabled called ZipArcheive.
You can see a similar problem here