• Resolved dbase66

    (@dbase66)


    Warnung fopen(/homepages/20/d34869179/htdocs/AM/wp-content/cache/seraphinite-accelerator/s/m/up): Failed to open stream: No such file or directory
    wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:793
    1 Plugin: seraphinite-accelerator-ext

    Warnung fopen(/homepages/20/d34869179/htdocs/AM/wp-content/cache/seraphinite-accelerator/s/m/schu): Failed to open stream: Is a directory
    wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:793
    1 Plugin: seraphinite-accelerator-ext

    Warnung fopen(/homepages/20/d34869179/htdocs/AM/wp-content/cache/seraphinite-accelerator/s/m/cln): Failed to open stream: No such file or directory
    wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:793

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Author Seraphinite Solutions

    (@seraphinitesoft)

    Hi.

    Is the plugin the latest version?

    Thread Starter dbase66

    (@dbase66)

    Yes

    Seraphinite Accelerator (Extended, limited)

    Version: 2.21.8

    Thread Starter dbase66

    (@dbase66)

    Folder schu is present, file permissions 705

    if i create up and cln folder by myself with the same file permissions, the error stays present

    • This reply was modified 7 months, 2 weeks ago by dbase66.
    Thread Starter dbase66

    (@dbase66)

    additional log output

    1. wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:793
    2. fopen()
      wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:793
    3. seraph_accel\Gen::_FileOpen()
      wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:825
    4. seraph_accel\Gen::FileContentExclusive_Open()
      wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:899
    5. seraph_accel\Gen::FileGetContentExclusive()
      wp-content/plugins/seraphinite-accelerator-ext/Cmn/Plugin.php:143
    6. seraph_accel\PluginFileValues::GetEx()
      wp-content/plugins/seraphinite-accelerator-ext/Cmn/Plugin.php:127
    7. seraph_accel\PluginFileValues::Get()
      wp-content/plugins/seraphinite-accelerator-ext/main.php:1543
    8. seraph_accel\GetStatusData()
      wp-content/plugins/seraphinite-accelerator-ext/main.php:1033
    9. seraph_accel\{closure}()
      wp-admin/includes/template.php:1456
    10. do_meta_boxes()
      wp-content/plugins/seraphinite-accelerator-ext/Cmn/Ui.php:1001
    11. seraph_accel\Ui::PostBoxes()
      wp-content/plugins/seraphinite-accelerator-ext/main.php:1281
    12. seraph_accel\_ManagePage()
      wp-includes/class-wp-hook.php:324
    13. do_action('toplevel_page_seraph_accel_manage')
      wp-admin/admin.php:259
    Plugin Author Seraphinite Solutions

    (@seraphinitesoft)

    Thanks, we see. The fix will be in the nearest release. U can ignore that due to it is by design. We will just mask this warnings.

    Thread Starter dbase66

    (@dbase66)

    Do you have a quickwin for me?

    static private function _FileOpen( $filename, $mode, $use_include_path = false )
    {
        $nErrRepprev = @error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR );
        $h = @fopen( $filename, $mode, $use_include_path );
        @error_reporting( $nErrRepprev );
        return( $h );
    }
    Plugin Author Seraphinite Solutions

    (@seraphinitesoft)

    Yes, pls add there E_WARNING.

    static private function _FileOpen( $filename, $mode, $use_include_path = false )
    {
        $nErrRepprev = @error_reporting( E_ERROR | E_PARSE | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR | E_WARNING );
        $h = @fopen( $filename, $mode, $use_include_path );
        @error_reporting( $nErrRepprev );
        return( $h );
    }
    Thread Starter dbase66

    (@dbase66)

    THX, but error message is still on screen as warning

    Plugin Author Seraphinite Solutions

    (@seraphinitesoft)

    Pls, replace all of constant to only one E_ALL. And will see.

    Plugin Author Seraphinite Solutions

    (@seraphinitesoft)

    Did it help?

    Thread Starter dbase66

    (@dbase66)

    I do not understand exactly, what you mean with “replace all of constant to only one E_ALL”. The Warning is not interesting enough for me. Better is, to make plugins more compatible and working without warnings. ??

    Plugin Author Seraphinite Solutions

    (@seraphinitesoft)

    Pls, replace it in such manner:

    static private function _FileOpen( $filename, $mode, $use_include_path = false ) { $nErrRepprev = @error_reporting( E_ALL ); $h = @fopen( $filename, $mode, $use_include_path ); @error_reporting( $nErrRepprev ); return( $h ); }

    Thread Starter dbase66

    (@dbase66)

    OK, understand, bute also E_ALL gives no other responses than

    Error (E_WARNING): “fopen(/homepages/20/d34869179/htdocs/AM/wp-content/cache/seraphinite-accelerator/s/m/up): Failed to open stream: No such file or directory” at ./wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:797.+

    1. ./wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:797:797

    1Plugin: decalogWarnungError (E_WARNING): “fopen(/homepages/20/d34869179/htdocs/AM/wp-content/cache/seraphinite-accelerator/s/m/schu): Failed to open stream: Is a directory” at ./wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:797.+

    1. ./wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:797:797

    1Plugin: decalogWarnungError (E_WARNING): “fopen(/homepages/20/d34869179/htdocs/AM/wp-content/cache/seraphinite-accelerator/s/m/cln): Failed to open stream: No such file or directory” at ./wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:797.+

    1. ./wp-content/plugins/seraphinite-accelerator-ext/Cmn/Gen.php:797:797
    Plugin Author Seraphinite Solutions

    (@seraphinitesoft)

    So, we made all possible warning masking.

    Thread Starter dbase66

    (@dbase66)

    ok, waiting for new version

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Failed to open stream: No such file or directory’ is closed to new replies.