Topic Closed
Teroajk
4 Posts

I did a clean install of 3.5.2, then proceeded to install the Media Player Advance plugin. After the installation steps had completed and I pressed the final "Continue" button, I couldn't get anything but a white screen no matter which page I tried to navigate to.

After turning debugging on and repeating the process, I got the following errors after clicking the button:

Warning: Missing argument 1 for dit_mediaplayeradv_prep_headers() in /<INSTALL_DIR>/data/_addoncode/icesta6/dit_mediaplayeradv_prep_header.php on line 11

Warning: mkdir() [function.mkdir]: No such file or directory in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 95

Warning: copy(/<INSTALL_DIR>/data/_addondata/icesta6/mp3playersettings.cfg) [function.copy]: failed to open stream: No such file or directory in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 97

Warning: parse_ini_file(/<INSTALL_DIR>/data/_addondata/icesta6/mp3playersettings.cfg) [function.parse-ini-file]: failed to open stream: No such file or directory in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 99

Warning: require_once(/<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/plugins) [function.require-once]: failed to open stream: No such file or directory in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 106

Fatal error: require_once() [function.require]: Failed opening required '/<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/plugins/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 106

And these when trying to navigate to the front page afterwards:

Warning: parse_ini_file(/<INSTALL_DIR>/data/_addondata/icesta6/mp3playersettings.cfg) [function.parse-ini-file]: failed to open stream: No such file or directory in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 27

Warning: Missing argument 1 for dit_mediaplayeradv_prep_headers() in /<INSTALL_DIR>/data/_addoncode/icesta6/dit_mediaplayeradv_prep_header.php on line 11

Warning: mkdir() [function.mkdir]: No such file or directory in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 95

Warning: copy(/<INSTALL_DIR>/data/_addondata/icesta6/mp3playersettings.cfg) [function.copy]: failed to open stream: No such file or directory in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 97

Warning: parse_ini_file(/<INSTALL_DIR>/data/_addondata/icesta6/mp3playersettings.cfg) [function.parse-ini-file]: failed to open stream: No such file or directory in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 99

Warning: require_once(/<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/plugins) [function.require-once]: failed to open stream: No such file or directory in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 106

Fatal error: require_once() [function.require]: Failed opening required '/<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/plugins/' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /<INSTALL_DIR>/data/_addoncode/icesta6/dominion-mp3player/dominion-mp3player.php on line 106

I also tried installing another plugin and that worked without problems, so I'm guessing the problem is in the plugin code. I'm not sure where to report it after looking at the information on this site. I don't think it should be allowed to take the whole site down, though.

Results of some further research:

  • There's no /<INSTALL_DIR>/data/_addondata/ directory.
  • I tried to take a quick look at the code that causes the first error. I think the function is not getting the $js_files argument it should. The only other place where the function name exists is in Addon.ini, so I'm guessing this function is used by the gpEasy plugin system and unfortunately I'm not familiar with that and can't take the time now to look into it further.
8 years ago#5505

Josh S.
2K Posts
296K Downloads
16 Themes
18 Plugins

Hi,

I don't think it should be allowed to take the whole site down, though.

Absolutely. This is one of the things gpEasy 3.6 will do much better. Plugin hooks that result in fatal errors will automatically be disabled.

I'm guessing the problem is in the plugin code

....

There's no /<INSTALL_DIR>/data/_addondata/ directory

I'm a little worried there's something going on with gpEasy here. The missing addondata folder is a little concerning, but I'm even more concerned about the /data/_addoncode folder. Does "/data/_addoncode/icesta6/dominion-mp3player/plugins" exist?

8 years ago#5507

Teroajk
4 Posts

It's good to hear that this will be handled better in the next release!

The directory plugins does exist:

$ ls -l data/_addoncode/icesta6/dominion-mp3player/plugins/
yhteensä 64
-rw-rw-r-- 1 <USER> <USER>  415 helmi 24 22:11 default.mp3reg
-rw-rw-r-- 1 <USER> <USER> 3931 helmi 24 22:11 dominion-mp3-default-extend.php
-rw-rw-r-- 1 <USER> <USER> 1963 helmi 24 22:11 dominion-mp3-drplayer-extend.php
-rw-rw-r-- 1 <USER> <USER>  401 helmi 24 22:11 drplayer.mp3reg
-rw-rw-r-- 1 <USER> <USER>   13 helmi 24 22:11 index.html
drwxrwxr-x 2 <USER> <USER> 4096 helmi 24 22:11 screenshots

You can download a zip archive of my data-folder, if it helps.

8 years ago#5509

Josh S.
2K Posts
296K Downloads
16 Themes
18 Plugins

So, it is an issue with the plugin and I'll get in touch with the developer. I've disabled the download for now.

Sorry for not having a solution

8 years ago#5529

Teroajk
4 Posts

Good to hear this is narrowed down and sent forward!

I guess I'll have to find another solution for now, though. I'm using gpEasy on a website building course I teach and need a simple way to embed audio next Monday :-/

8 years ago#5537

Josh S.
2K Posts
296K Downloads
16 Themes
18 Plugins

I haven't tried this plugin yet but it might be helpful: http://ckeditor.com/addon/oembed

It would be easy to add to gpEasy 3.6rc3.

8 years ago#5540

jogai
264 Posts
Any chance that such useful plugins will be in the default collection?
8 years ago#5546

Josh S.
2K Posts
296K Downloads
16 Themes
18 Plugins

Any chance that such useful plugins will be in the default collection?

I think so. It obviously wouldn't make sense to add every available plugin. I'd say that we could start by looking at the top rated ckeditor plugins, but there haven't been many ratings yet.

8 years ago#5547

Teroajk
4 Posts

It seems I had disabled email updates for this topic by accident.

Thanks for the suggestion! That seems interesting and I'll need to try it out when building a site myself. It isn't really suitable for this purpose, though. Understanding, installing and using gpEasy plugins is hard enough for many of the students, so I'll avoid adding the complexity of explaining what CKEditor is and how to install plugins for it. Also, the audio to embed is a local file and a quick glance seems to suggest that this plugin doesn't handle those.

My solution was to drop audio embedding from the things we practice and explain some ways to do it in supplemental material for those interested in delving deeper.

Edited: 8 years ago#5608

Topic Closed

 

News

elFinder 2.1.50 in Upcoming Release
12/28/2019

A new release for Typesetter is in the works with a lot of improvements including the ... Read More

Typesetter 5.1
8/12/2017

Typesetter 5.1 is now available for download. 5.1 includes bug fixes, UI/UX improvements, ... Read More

More News

HH-Support

Company located in Tórshavn, Faroe Islands. * Webpage Design * Consultant & Provider of a wide range of programs for visually impaired and dyslextics.

Find out more about our Provider Spotlight

Log In

  Register