New Dynamic YouTube Gallery - Embed YouTube Playlist, Channel, Live Stream in minutes. Read More

Errors on maximum

  • oleg martynov
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 1
  • Thank you received: 0

Errors on maximum was created by oleg martynov

Hi, when i turned Joomla to show errors at maximum, i am getting those two errors:

Warning: file_get_contents(): https:// wrapper is disabled in the server
configuration by allow_url_fopen=0 in
/home/admin/public_html/components/com_allvideoshare/tmpl/player/html5.php
on line 422

Warning: file_get_contents( vimeo.com/api/oembed.json?url=https://vimeo.com/655177208 ):
Failed to open stream: no suitable wrapper could be found in
/home/admin/public_html/components/com_allvideoshare/tmpl/player/html5.php
on line 422

Is it possible to fix it? So is it will not interfere with my other scrips on my site?
Thank you,
Looking forward.
1 year 9 months ago #9991

Please Log in or Create an account to join the conversation.

  • Posts: 2476
  • Thank you received: 1451

Replied by Administrator on topic Errors on maximum

This occurs because the "allow_url_fopen" is dsabled on your server www.php.net/manual/en/filesystem.configuration.php

Solution 1:
Kindly refer to this article support.cpanel.net/hc/en-us/articles/360...open-Setting-for-PHP and enable this for your website. You can also write to your HOST and ask them to enable this for you.

Solution 2:
1. Edit open the following  file,
/home/admin/public_html/components/com_allvideoshare/tmpl/player/html5.php

2. Find the line (#421) below,
if ( function_exists( 'file_get_contents' ) ) {
3. Replace it as,
if ( function_exists( 'file_get_contents' ) && ini_get('allow_url_fopen') ) {
4. Save the changes and check now.

Hope this solved your issue!

Note: Our next version would have this fix included.
Last edit: 1 year 9 months ago by Administrator.
1 year 9 months ago #9992

Please Log in or Create an account to join the conversation.

Time to create page: 0.101 seconds

We accept cookies to provide you the best viewing experience. By using our services, you agree to our use of cookies