• Skip to content
  • Skip to primary sidebar
  • Skip to footer

Foliovision

Main navigation

  • Weblog
    • FV Player
    • WordPress
    • Video of the Week
    • Case Studies
    • Business
  • About
    • Testimonials
    • Meet the Team
    • We Support
    • Careers
    • Contact
    • Pricing
  • Products
  • Support
    • FV Player Docs
    • Pro Support
  • Login
  • Basket is empty

Can’t edit playlist

[Solved]

Foliovision › Forums › FV Player › Bug Reports › Can’t edit playlist

  • Paul 6 years, 6 months ago

    Hi,

    I’m using wordpress 4.9.8 with FV Player 7.3.1.727. After inserting the first video the player works fine. But when I try to edit the playlist a black windows opens and the hourglass-circle spins indefinitely no matter what browser I use.

    Paul

Viewing 17 replies - 1 through 17 (of 17 total)
  • Martin 7 years ago

    Hello Paul,

    please check our playlist editing guide: https://foliovision.com/player/basic-setup/creating-playlists

    At which exact step does the issue occur?

    Please enable your web browser JavaScript console (here’s how to do it: https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis), then try to reproduce the error and see what appears on that console.

    Please also provide output of Settings -> FV Player -> Tools -> System Info.

    Thanks,
    Martin

    Martin 7 years ago

    Hello Paul,

    so it appears that the Ajax loading of the playlist data fails.

    Could you please try to clone that player on wp-admin -> FV Player screen and see if you can edit that one?

    Please also provide the export of that player by using the export function found in each table row in wp-admin -> FV Player.

    Last thing – do you see any new entry in your PHP error log when you open that player in editor?

    Thanks,
    Martin

    Paul 7 years ago

    Hello Martin,

    the cloned playlist can’t be edited either.

    What export do you mean: from dashboard or database via myphpadmin?

    I have enabled php-loging in wp-config.php:
    define( ‘WP_DEBUG’, true);
    No /wp-content/debug.log was written; php-errors are displayed on the web-site instead. But no new entries when open player in editor.

    regards
    Paul

    Martin 7 years ago

    Hello Paul,

    you can use the export function found in wp-admin -> FV Player. If that won’t help with our troubleshooting, then a SQL export of the wp_fv_player_* tables would be great.

    The wp-content/debug.log only appears if you also use this, so please check that:

    define( 'WP_DEBUG_LOG', true );
    Paul 7 years ago

    Hello Martin,

    Table `wp_fv_player_videometa` is empty. Here the other 3 tables:
    ================================================
    — Host: localhost
    — Server Version: 5.7.20
    — PHP-Version: 5.4.45

    INSERT INTO `wp_fv_player_playermeta` (`id`, `id_player`, `meta_key`, `meta_value`) VALUES
    (9, 9, 'post_id', '3008');
    
    INSERT INTO `wp_fv_player_players` (`id`, `player_name`, `player_slug`, `videos`, `ab`, `ad`, `ad_height`, `ad_width`, `ad_skip`, `align`, `author`, `autoplay`, `controlbar`, `copy_text`, `changed_by`, `date_created`, `date_modified`, `embed`, `end_actions`, `end_action_value`, `height`, `hflip`, `lightbox`, `lightbox_caption`, `lightbox_height`, `lightbox_width`, `playlist`, `playlist_advance`, `qsel`, `share`, `share_title`, `share_url`, `speed`, `sticky`, `video_ads`, `video_ads_post`, `width`) VALUES
    (9, 'testplaylist', '', '9', '', '', '', '', '', '', 1, '', '', '', 1, '2018-11-27 18:22:14', '2018-11-27 18:22:14', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '');
    
    INSERT INTO `wp_fv_player_videos` (`id`, `src`, `src1`, `src2`, `splash`, `splash_text`, `caption`, `end`, `mobile`, `rtmp`, `rtmp_path`, `start`) VALUES
    (9, '//cdn.foliovision.com/wp-content/videos/Formation2010.mp4', '', '', '', '', '', '', '', '', '', '');
    
    Martin 7 years ago

    Hello Paul,

    I improved the code appearance to handle SQL statements better and added a note for you to use the pre tag below the forum reply form.

    What you provided works fine for me. I’m able to edit it just fine. But it’s not a playlist, just a single video. Are you sure you are having issues with that one?

    I see you are using PHP 5.2.17 so I wonder if the issue could be caused by that. Are you able to switch to PHP 5.4, 5.5 or 5.6 easily? You can do that relatively easy – at least in comparison to switching to PHP 7.

    Another thing is that there should be no hourglass icon and no black window opening. It should be white with a spinning icon – same as when you hit “Add new” on wp-admin -> FV Player screen. So some plugin might be causing a conflict here.

    Thanks,
    Martin

    Paul 7 years ago

    Hello Martin,

    it’s indeed a spinning icon in a white window. But it appeares on a black background (lightbox). Did’nt know how to describe it.
    PHP version depends from my provider.
    The problem occours no matter how many videos are in the playlist.

    regards
    Paul

    Martin 7 years ago

    Hello Paul,

    PHP 5.2 even has some security issues, it should really be updated. We did test our plugins with it to avoid syntax issues as some of the statements are not supported in that old PHP version, but we don’t check all the plugin functions in it.

    What’s left is trying

    define( 'WP_DEBUG_LOG', true );

    and then checking wp-content/debug.log. As WordPress.org suggests:

    Note that this allows you to write to /wp-content/debug.log using PHP’s built in error_log() function, which can be useful for instance when debugging AJAX events.

    And that’s just what we need.

    Thanks,
    Martin

    Paul 7 years ago

    Hello Martin,

    the debug.log is from the moment I opend wp-admin -> FV Player until attempt to edit the playlist:

    ....
    28-Nov-2018 13:00:39] PHP Warning:  json_encode() expects exactly 1 parameter, 2 given in .../wp-content/plugins/fv-wordpress-flowplayer/models/db.php on line 1064
    ....
    [28-Nov-2018 13:01:00] PHP Warning:  json_encode() expects exactly 1 parameter, 2 given in .../wp-content/plugins/fv-wordpress-flowplayer/models/db.php on line 1064
    ...
    
    Martin 7 years ago

    Hello Paul,

    I shortened that debug log to the entries which are related to FV Player. These look fine tough and should not affect anything. They are specific to PHP 5.2 too. But on the other hand these are in the right spot, so perhaps it’s affecting things.

    What new log entries appear once you open a playlist for editing?

    Also, does the Export function on wp-admin -> FV Player screen work?

    I think we are close now.

    Thanks,
    Martin

    Paul 7 years ago

    Hello Martin,

    the log includes the moment I attempted to edit the playlist.
    The export funktion opens an empty textfield and the buttons “Copy to Clipboard” and “Close”.

    regards
    Paul

    Martin 7 years ago

    Hello Paul,

    we created a fix for this, but before we release it could you please try it out on your website? Just reinstall FV Player from this ZIP file: https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip To do that you will have to disable and delete your current FV Player plugin. WordPress might say something that your data might get lost and so on, but no worries, it’s not the case with FV Player. All settings and videos remain intact.

    Let us know if it helps with the export function too.

    Thanks!
    Martin

    Paul 7 years ago

    Hello Martin,

    with your new version I can edit the playlist finally! But the export contains only “null”.

    regards
    Paul

    Martin 7 years ago

    Hello Paul,

    Thank you for all your cooperation so far!

    Can you check the error log again to see if you find any error entry related to that. It’s not so easy to get a web hosting with PHP 5.2 these days, so it’s not easy for me to check this.

    Thanks,
    Martin

    Paul 7 years ago

    Hello Martin,

    here’s the log from when I called export:
    ==============================

    ...
    [29-Nov-2018 18:27:41] PHP Notice:  Undefined variable: out in /var/www/web1640/html/wp-content/plugins/fv-wordpress-flowplayer-master/models/db.php on line 1216
    ...
    
    Martin 7 years ago

    Hello Paul,

    thanks, if you reinstall from https://github.com/foliovision/fv-wordpress-flowplayer/archive/master.zip then that will be fixed as well.

    Thanks,
    Martin

    Paul 6 years ago

    Hello Martin,

    thanks for your support! Everything works fine now!

    regards
    Paul

Viewing 17 replies - 1 through 17 (of 17 total)
Reply To: Can’t edit playlist



Please Sign in or Register to upload files.

Related Posts

  1. Playlist Styles

  2. YouTube Playlist Embedding

  3. YouTube Playlist Integration and Other New Features

Primary Sidebar

Sign in Register
FV Player Docs Post New Topic

Welcome

to Foliovision support forums! We'll be happy to provide free support to resolve all the reported bugs. You always can start by specifying your OS and browser and steps to reproduce the bug.

If you need help with the installation on your site, please submit a request for a Pro Support Incident. We'll have you up and running in no time, with detailed instructions on how to resolve your issue yourself in the future.

Facing a hard to solve WordPress problem? On a tight deadline?

Let us take care of it for you
right now.

Pro Support Buy FV Player

Footer

Our Plugins

  • FV WordPress Flowplayer
  • FV Thoughtful Comments
  • FV Simpler SEO
  • FV Antispam
  • FV Gravatar Cache
  • FV Testimonials

Free Tools

  • Pandoc Online
  • Article spinner
  • WordPress Password Finder
  • Delete LinkedIn Account
  • Responsive Design Calculator
Foliovision logo
All materials © 2025 Foliovision s.r.o. | Panská 12 - 81101 Bratislava - Slovakia | info@foliovision.com
  • This Site Uses Cookies
  • Privacy Policy
  • Terms of Service
  • Site Map
  • Contact
  • Tel. ‭+421 2/5292 0086‬

We are using cookies to give you the best experience on our website.

You can find out more about which cookies we are using or switch them off in .

Powered by  GDPR Cookie Compliance
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

Necessary Cookies

Strictly Necessary Cookie allow you to log in and download your software or post to forums.

We use the WordPress login cookie and the session cookie.

If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.

Support Cookies

Foliovision.com uses self-hosted Rocket.chat and self-hosted Freescout support desk to provide support for FV Player users. These cookies allow our visitors to chat with us and/or submit support tickets.

We are delighted to recommend self-hosted Rocket.chat and especially Freescout to other privacy-conscious independent publishers who would prefer to self-host support.

Please enable Strictly Necessary Cookies first so that we can save your preferences!

3rd Party Cookies

This website uses Google Analytics and Statcounter to collect anonymous information such as the number of visitors to the site, and the most popular pages.

Keeping this cookie enabled helps us to improve our website.

We reluctantly use Google Analytics as it helps us to test FV Player against popular Google Analytics features. Feel free to turn off these cookies if they make you feel uncomfortable.

Statcounter is an independent Irish stats service which we have been using since the beginning of recorded time, sixteen years ago.

Please enable Strictly Necessary Cookies first so that we can save your preferences!