Foliovision › Forums › FV Player › Troubleshooting › Coconut – Digitalocean – Server error.
-
I have been using your FV Player Coconut plugin for a month and everything worked fine.
Since last week, when trying to upload a video from the WordPress dashboard, the error Upload failed with server error appears at the beginning.
I will add that other materials that were uploaded earlier can still be viewed.
-
-
Hello Łukasz,
Please download a new FV Player Coconut ZIP file from https://foliovision.com/my-licenses and reinstall from that. Will it fix the issue?
What PHP error appears in the log when the issue occurs?
If you are not sure about how to check the PHP error log, the server technical support should be able to give you a hand.
Or you can install this plugin which makes a list of these errors available in wp-admin: https://wordpress.org/plugins/error-log-monitor/
Then try to upload a video once again and the error should be recorded in these logs.
Thanks,
MartinUnfortunately the problem has not been resolved.
Here is the error information https://www.dropbox.com/scl/fi/rktdvw1tne4e980nh8hwx/error.txt?rlkey=sy70nqjdmear4l5twi5zj5003&dl=0
Hello Łukasz,
The error which you are getting is:
PHP Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\default_user_agent()
This kind of error appears if there is another plugin which also uses GuzzleHttp library of a different version.
There is no easy fix for this issue as in WordPress every plugin usually carries it’s own set of libraries. We had to think hard about it.
That’s why in FV Player 8 we will use special Ajax endpoints for:
- Coconut job submission
- AWS S3 browser
- DigitalOcean Spaces browser
These special Ajax endpoints will prevent the other plugins from loading and different versions of libraries from different plugins will no longer break FV Player these functionalities.
FV Player 8 is currently waiting for approval on WordPress.org which might take another month. If you would like to give it a try now, please install if from here: https://foliovision.com/downloads/fv-player-8.zip
You will also have to install FV Player Pro 8 from https://foliovision.com/my-licenses -> FV Player License -> Show Previous Versions -> Download FV Player Pro 8. Then it also has to be switched to Beta: https://foliovision.com/player/basic-setup/switching-fv-player-pro-to-beta
And finally FV Player Coconut 8 from https://foliovision.com/my-licenses -> FV Player Coconut -> Show Previous Versions -> Download 8.
Thanks,
MartinThank you for your answer.
I installed the plugin with version 8 but when I try to activate it, I get the error:
Fatal error: Cannot redeclare fv_http_build_url() (previously declared in /home/xgcnukin/domains/ntvplay.pl/public_html/wp-content/plugins/fv-wordpress-flowplayer/ includes/extra-functions.php:62) in /home/xgcnukin/domains/ntvplay.pl/public_html/wp-content/plugins/fv-player/includes/extra-functions.php on line 62Hello Łukasz,
Please make sure you delete the current FV Player plugins you are using before installing the new version. No videos or settings will be lost, unless you enabled wp-admin -> FV Player -> Settings -> Tools -> Uninstall -> Remove all data. So that’s worth checking if you were playing with the settings.
Thanks,
MartinHellow Martin.
Following your suggestions, uploading files works correctly.I just have another problem. Currently, if I want to post a video from YouTube, after trying to go to the website with a given video, a critical error appears: https://www.dropbox.com/scl/fi/rktdvw1tne4e980nh8hwx/error.txt?rlkey=sy70nqjdmear4l5twi5zj5003&dl=0
Hello Łukasz,
Could you please reinstall FV Player from this link? https://foliovision.com/downloads/fv-player-8.zip
Then also delete FV Player Pro and hit the “Install Pro Extension” button in wp-admin -> FV Player -> Settings. That will make sure you have latest FV Player Pro 8 as well.
That will fix it the issue you are having with YouTube.
FV Player 8 might be approved for WordPress.org finally next week, so then we can finally provide updates for these fixes.
Please let us know if you noticed any other issue with FV Player 8.
Thanks,
MartinHello Łukasz,
Please also get a new copy of FV Player Coconut 8 from https://foliovision.com/my-licenses -> FV Player Coconut -> Show Previous Versions -> Download 8.
I noticed that the version which you have did not work with the video encryption properly. So if you intended to protect your videos against downloads you will have to re-encode them.
Sorry about the inconvenience.
Thanks,
MartinEverything works correctly.
I only have a problem with one thing. It’s about displaying the player.
In the settings I have set the width to 60% and so far it was fine, but after the update the video player is displayed at 100%https://www.dropbox.com/scl/fi/u2t0dqv1vo8ifdrex42u8/1fv.jpg?rlkey=8mj0bvt8n8g2d4bcj78gvsawz&dl=0
https://www.dropbox.com/scl/fi/8913j6z7di7wpmmhponv8/2fv.jpg?rlkey=4ife4czf0a8lrtj45z477qzk3&dl=0Hello Łukas,
In FV Player 8 we would like to remove any settings that lets you set the player size. It will just fill-up the space that ‘s available. That works for blog articles or also is you use a page builder where you align blocks to columns etc.
Please let us know what’s your case where you need it to be 60%. Maybe it could be set if the player had a left or right alignment and you need the text to flow next to it, but that’s on a per-player basis.
Thanks,
MartinThis will be a problem for me, because I have a player on the website https://tiny.pl/cs923, but the display does not fit on the computer screen, and additionally, if there is no button to enlarge the screen, it will not be possible to watch the full video. Here I have other material from YouTube https://tiny.pl/cs98g. The display is smaller, but it is not possible to expand the player to full width on a given device.
Hello Łukas,
In FV Player 8 we detect the video size in pixels. I found that it’s overriding the global width which you set to 60%. So it worked on your second link but not the first one which was a mistake.
We worked on improving the icons too and they won’t be missing anymore.
Could you please reinstall FV Player from this link? https://foliovision.com/downloads/fv-wordpress-flowplayer.zip
Then the issues will be fixed.
Please also deactivate and delete the FV Player Pro plugin you are using, then hit “Install Pro extension” at the top of the wp-admin -> FV Player -> Settings screen.
That will give you FV Player Pro 8 as you seem to be using FV Player Pro 7 still.
Thanks,
MartinI have one more problem
https://prnt.sc/wKwr1h8tjJJZ
I wanted to add a new movie to prt scr, but it did not automatically enter the Encrypted HLS – Descryption key field.
Where can I download this key now?Hello Łukas,
Please confirm that the video actually won’t start playing if the key is not there. On your screenshot it seems that the video just keeps trying to load without success.
Please check in wp-admin -> FV Player -> Coconut Jobs where you need to find your encoding job and click the the value in the “Target” column.
There you should see the part like this:
"encryption_mode": "AES-128", "encryption_key": "84...5d",
So you can copy the key from there.
Please also try to post the video again or post some older video where you used encryption. Will these get the decryption key properly?
Thanks,
Martin