Support » Plugin: File Away » File Away causes blank page

  • Resolved kkjaerbye

    (@kkjaerbye)


    Hi guys,

    I hope you’re able to help me. I really love your plugin, but unfortunately it only works sometimes.

    After installation of File Away everytime I save a post, update it etc. I get a blank page. Also when I visit my site, sometimes I get a blank page but when I refresh it works perfectly.

    What can be causing these problems? I’ve tried to install another template than my preferred one, and the theme wasn’t the issue.

    Unfortunately I can’t show you my site as it runs on a local server serving as an intranet for my business.

    I hope you able to point me into the right direction as your theme is exactly what I need! 🙂

    Thanks in advance!

    https://wordpress.org/plugins/file-away/

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author thomstark

    (@thomstark)

    Try setting wp_debug to true in your wp_config.php and tell me if you get any errors when updating a post. It’s difficult to troubleshoot if I can’t see your site, since I’ve never encountered this problem before. What version of WP are you using?

    Awesome with the quick response, Thomstark. I’m running WP 3.9.1.

    I receive the following errors when I try to create a blog post (note that the post is submitted even though I receive these errors):

    Warning: Cannot modify header information - headers already sent by (output started at /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php:2) in /share/MD0_DATA/Web/wp/wp-admin/post.php on line 235
    
    Warning: Cannot modify header information - headers already sent by (output started at /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php:2) in /share/MD0_DATA/Web/wp/wp-includes/pluggable.php on line 1121

    Regards.

    I’m also receiving this error in the bottom of my frontend:

    Notice: Undefined index: ssfa_playback_script in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/fileaplay.php on line 12

    And these errors occur on the page where I’ve embedded the File Away shortcode:

    Notice: Undefined offset: 0 in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/directory-tree-navigation.php on line 42
    
    Notice: Undefined variable: path in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 103
    
    Notice: Undefined variable: ssh in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 103
    
    Notice: Undefined variable: sh in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 103
    
    Notice: Undefined variable: td in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 103
    
    Notice: Undefined variable: fafl in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 103
    
    Notice: Undefined variable: faui in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 103
    
    Notice: Undefined variable: faun in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 103
    
    Notice: Undefined variable: faur in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 103
    
    Notice: Undefined variable: direxcluded in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 136
    
    Notice: Undefined variable: direxcluded in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 136
    
    Notice: Undefined index: extension in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 156
    
    Notice: Undefined index: extension in /share/MD0_DATA/Web/wp/wp-content/plugins/file-away/includes/file-away.php on line 156
    Plugin Author thomstark

    (@thomstark)

    Your past two comments are not errors. They are notices. Anyway, open up file-away/includes/file-away.php, scroll to the bottom and check to see if there is a closing “?>” at the end. If so, delete it. It shouldn’t be there, I’m not sure why it would be, but headers already sent errors happen when a php doc has blank spaces after a closing tag.

    Damn, that didn’t do the trick. There wasn’t any closing PHP tag.

    Here’s my file: http://we.tl/9gkuncJA5r

    I’ve done nothing but translating a word within that file. Therefore I’ve restored the original “file-away/includes/file-away.php” to try out if my edition caused the error. However, unfortunately the error still occurs.

    having similar errors, and debug give me this :

    [29-Aug-2014 19:34:58 UTC] PHP Notice: Undefined variable: onlydirs in /home/ttip/stop-ttip-ceta-tisa.eu/wp-content/plugins/file-away/includes/reference-functions.php on line 8
    [29-Aug-2014 19:34:58 UTC] PHP Notice: Undefined variable: direxcluded in /home/ttip/stop-ttip-ceta-tisa.eu/wp-content/plugins/file-away/includes/reference-functions.php on line 9
    [29-Aug-2014 19:34:58 UTC] PHP Notice: Undefined index: ssfa_playback_script in /home/ttip/stop-ttip-ceta-tisa.eu/wp-content/plugins/file-away/includes/fileaplay.php on line 11
    [29-Aug-2014 19:35:22 UTC] PHP Notice: Undefined index: ssfa_playback_script in /home/ttip/stop-ttip-ceta-tisa.eu/wp-content/plugins/file-away/includes/fileaplay.php on line 11

    anything i can fix to get ride of these ?

    also having : Notice: Undefined index: ssfa_playback_script in /home/ttip/stop-ttip-ceta-tisa.eu/wp-content/plugins/file-away/includes/fileaplay.php on line 11

    in the front page.

    Plugin Author thomstark

    (@thomstark)

    For the time being, just set WP_DEBUG to false in your wp-config.php, or customize it to disable showing notices. Notices are not errors or warnings, not harmful. I am working on a total rewrite of the plugin in OOP and I will be getting rid of all of these notices that I can find.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘File Away causes blank page’ is closed to new replies.