WordPress.org

Ready to get started?Download WordPress

Forums

Problem uploading themes! (3 posts)

  1. gamesinfoworld
    Member
    Posted 3 years ago #

    When i try to upload a theme it says that it has installed succesively and them this:
    Warning: fopen(/home4/bitsfoub/public_html/gamesinfoworld/wp-content/themes/shiwordreverse/style.css) [function.fopen]: failed to open stream: No such file or directory in /home4/bitsfoub/public_html/gamesinfoworld/wp-includes/functions.php on line 4339

    Warning: fread(): supplied argument is not a valid stream resource in /home4/bitsfoub/public_html/gamesinfoworld/wp-includes/functions.php on line 4342

    Warning: fclose(): supplied argument is not a valid stream resource in /home4/bitsfoub/public_html/gamesinfoworld/wp-includes/functions.php on line 4345

    and when i go into the code it says this:

    function get_file_data( $file, $default_headers, $context = '' ) {
    // We don't need to write to the file, so just open for reading.
    $fp = fopen( $file, 'r' );

    // Pull only the first 8kiB of the file in.
    $file_data = fread( $fp, 8192 );

    // PHP will close file handle, but we are good citizens.
    fclose( $fp );

    How can i sort this.

  2. Samuel B
    moderator
    Posted 3 years ago #

    those warnings are your host's "security" settings
    ask them how you can allow this action

  3. gamesinfoworld
    Member
    Posted 3 years ago #

    as in the place where i bought the domain? what should i ask them?

Topic Closed

This topic has been closed to new replies.

About this Topic