Warning: fwrite(): supplied argument is not a valid stream resource

Discussion in 'General' started by Salvis, Jun 29, 2007.

  1. Salvis

    Salvis New Member

    I runed command:
    And i received multiple lines with response:
    How to fix it ?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    What's around line 97 in /root/ispconfig/scripts/shell/logs.php?
     
  3. Salvis

    Salvis New Member

    /root/ispconfig/scripts/shell/logs.php
    [​IMG]
     
  4. falko

    falko Super Moderator Howtoforge Staff

    Can you put the lines
    PHP:
    echo get_filename($virtual_host);
    echo 
    $virtual_host;
    after line 95 and run
    Code:
    /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php
    again? What's the output?
     
  5. Salvis

    Salvis New Member

    # /root/ispconfig/php/php /root/ispconfig/scripts/shell/awstats.php
     
  6. falko

    falko Super Moderator Howtoforge Staff

    Is that the whole output?
     
  7. Salvis

    Salvis New Member

    Yes. Whole output.
     
  8. falko

    falko Super Moderator Howtoforge Staff

    I wonder why it doesn't display any virtual hosts... Also, why does it say that web8 is an invalid group?
    Did you maybe delete some groups and directories manually?
     

Share This Page