Auphonic-"Part" and player in Episode missing

Hi there,

I’m currently setting up my third Podlove-installation on a existing WP-Blog. I connected the Publisher to auphonic, but the whole auphonic-Part in the Episode-Creation is missing. When I disconnect auphonic, the “new episode” sheet is complete and I can publish the episode. But when I use the manual way, the player is missing from the frontend…


any thoughts on that?

Thanks a lot!

Michael

Please check your PHP error log for errors. When a page suddenly stops rendering like that, it means there was a fatal error.

Hmm, I get some

PHP Fatal error: Call to a member function cover_art() on null in /var/www/virtual/mschmid/html/wp-content/plugins/podlove-podcasting-plugin-for-wordpress/lib/modules/auphonic/episode_enhancer.php on line 68

Thanks
Michael

Thanks, that helps. I will fix it, but until then you can fix it yourself:

  1. Open the file lib/modules/auphonic/episode_enhancer.php (from your error message)
  2. Find line 56, which should be $episode = ...
  3. Replace the whole line with this: $episode = Model\Episode::find_or_create_by_post_id(get_the_ID());

That did it for the backend… Thanks a lot for that.

I still have the problem with the frontend. The player does not show correctly. I tried all three players and the assets are linked correctly in the backend (green check-mark and links are working). I’m getting no log-entry or javascript-error at all…

e.G. here: https://schmid.tv/2010/04/sc001-das-neue-macbook-pro/

Thanks!
Michael

Hmm, I just checked the feed and realized that there are no enclosures presented in the feed…

Another piece of information: In the Podlove/Dashboard screen, the “Validate Podcast Files” section is empty… It seems that the assets are not associated with the episode…

and I’m getting an error

WordPress-Datenbank-Fehler You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ORDER BYpositionASC' at line 1 für Abfrage SELECT * FROM wp_podlove_modules_contributors_episodecontribution WHEREepisode_id= ORDER BYpositionASC von include('wp-admin/edit-form-advanced.php'), do_meta_boxes, call_user_func, Podlove\Podcast_Post_Meta_Box::post_type_meta_box_callback, Podlove\Form\build_for, call_user_func, Podlove\Podcast_Post_Meta_Box::Podlove\{closure}, Podlove\Form\Input\DivWrapper->callback, Podlove\Form\Input\Wrapper->__call, Podlove\Form\Input\DivWrapper->do_template, call_user_func, Podlove\Form\Input\Wrapper->Podlove\Form\Input\{closure}, call_user_func_array, Podlove\Form\Input\Builder->callback, call_user_func, Podlove\Modules\Contributors\Contributors->contributors_form_for_episode_callback, Podlove\Model\Base::all, Podlove\Model\Base::find_all_by_sql

Thanks
Michael

Really odd issue I’ve never seen before. Looks like the actual episode wasn’t created. Does it happen when you create a new episode, too, or just this one?

I tried with a new episode and it happens, too. I also deactivated all other plugins with no success :frowning:

Michael

Can you post the report from the “Support” section?

Website             https://schmid.tv
PHP Version         5.6.21
WordPress Version   4.7.4
WordPress Theme     Twenty Fifteen v1.7
Publisher Version   2.5.2
Web Player Version  no web player found
Twig Version        1.32.0
open_basedir        ok
curl Version        7.44.0
iconv               available
simplexml           ok
max_execution_time  30
upload_max_filesize 64M
memory_limit        512M
disable_classes     
disable_functions   
permalinks          ok (/%year%/%monthnum%/%postname%/)
podlove_permalinks  ok
podcast_settings    ok
web_player          ok
podlove_cache       on
assets              
  - mp3    audio/mpeg https://schmid.tv/feed/mp3/
  - mp4    video/mp4  no feed
  - m4a    audio/mp4  https://schmid.tv/feed/m4a/
  - flac   audio/flac https://schmid.tv/feed/flac/
  - ogg    audio/ogg  https://schmid.tv/feed/ogg/
  - opus   audio/ogg;codecs=opushttps://schmid.tv/feed/opus/
  - vtt    text/vtt   no feed
cron                ok

0 errors
0 notices
Nice, Everything looks fine!

I tried switching to PHP 7.0.11 with no success …
I get an error in the debug-section

2017-04-29 22:47:55	Curl Error: The requested URL returned error: 404 Not Found	/Audiogram	toggle details
2017-04-29 22:47:55	Unexpected http response when trying to access remote media file.	/Audiogram HTTP Status: 404	toggle details
2017-04-29 22:47:55	Can't reach https://cdn.schmid.tv/podcasts/testing-3.mp4	toggle details
2017-04-29 22:47:55	Curl Error: The requested URL returned error: 404 Not Found	/MPEG-4 AAC Audio	toggle details
2017-04-29 22:47:55	Unexpected http response when trying to access remote media file.	/MPEG-4 AAC Audio HTTP Status: 404	toggle details
2017-04-29 22:47:55	Curl Error: The requested URL returned error: 404 Not Found	/MPEG-4 AAC Audio	toggle details
2017-04-29 22:47:55	Unexpected http response when trying to access remote media file.	/MPEG-4 AAC Audio HTTP Status: 404	toggle details
2017-04-29 22:47:55	Can't reach https://cdn.schmid.tv/podcasts/testing-3.m4a	toggle details
2017-04-29 22:47:56	Curl Error: The requested URL returned error: 404 Not Found	/FLAC Audio	toggle details
2017-04-29 22:47:56	Unexpected http response when trying to access remote media file.	/FLAC Audio HTTP Status: 404	toggle details
2017-04-29 22:47:56	Curl Error: The requested URL returned error: 404 Not Found	/FLAC Audio	toggle details
2017-04-29 22:47:56	Unexpected http response when trying to access remote media file.	/FLAC Audio HTTP Status: 404	toggle details
2017-04-29 22:47:56	Can't reach https://cdn.schmid.tv/podcasts/testing-3.flac	toggle details
2017-04-29 23:22:23	All assets for this episode are invalid!	
2017-04-30 05:22:34	All assets for this episode are invalid!	
2017-04-30 11:24:28	All assets for this episode are invalid!	
2017-04-30 18:23:45	All assets for this episode are invalid!	

But the links are working…

Hi Eric,

ich glaube ich hab den Fehler gefunden: Aus irgendwelchen Gründen sind meine post_ids sehr groß. Der Post der Podcast-Folge hat die ID 4042461321. Dafür reicht natürlich der Feld-Typ int(11) nicht mehr aus. Ich habe den Feld-Typ jetzt auf bigint(20) geändert und alles funktioniert…

Da wp_posts.ID standardmäßig auf bigint(20) steht, sollte das doch in der wp_podlove_episode.post_id ebenfalls auf bigint(20) stehen?

Schöne Grüße
Michael

1 Like