WordPress.org

Ready to get started?Download WordPress

Forums

podPress
podPress 8.8.5.3 - duration and file size detection (1 post)

  1. ntm
    Member
    Plugin Author

    Posted 4 years ago #

    If you are using podPress 8.8.5.3 and you encounter problems with duration and file size detection which you have not experienced in previous podPress versions then it is very likely that there is an easy fix.
    I have forgotten to set the new debug constant PODPRESS_DEBUG_LOG in the podpress.php to FALSE before the release. Now, It is set to TRUE by default. If this constant is TRUE then podPress logs its activities during the duration, file size and ID3 tag detection processes into a file (or at least tries to do that). But the logging function currently don't checks whether the user is allowed to write into files. And sometimes he is not allowed to that. In these cases the you are getting long error messages in the small duration and file size fields or the detection seems not to work.

    These problems are limited and easy to fix:

    Open the podpress.php file in the plugin editor (or an other editor) and set the constant to FALSE:

    old:
    define( 'PODPRESS_DEBUG_LOG', TRUE );

    new:
    define( 'PODPRESS_DEBUG_LOG', FALSE );

    You can find this line at the beginning of the file (line 98).

    This constant will be set to FALSE by default in the next podPress version.

    I'm sorry for the trouble I have caused!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags