Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #1074

    Hi Kriesi

    After uploading CUBIT I get the following……

    Installing Theme from uploaded file: (Purchase code hidden if logged out)

    Unpacking the package…

    Installing the theme…

    Theme installed successfully.

    Warning: fopen(/home/gasballoon/ (Purchase code hidden if logged out) -portfolio-theme/style.css) [function.fopen]: failed to open stream: No such file or directory in /home/gasballoon/ on line 4165

    Warning: fread(): supplied argument is not a valid stream resource in /home/gasballoon/ on line 4168

    Warning: fclose(): supplied argument is not a valid stream resource in /home/gasballoon/ on line 4171

    I looked at the lines mentioned…..(below)

    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 );

    It has not installed into WordPress.

    I hope you can give me some advice if I have missed something?




    You need to unzip the Themeforest package first. You’ll find another .zip file in the unpacked content. This zip file is only called “Cubit”. You uploaded the whole package from Themeforest, including the psd files and the documentation. WordPress searches for style.css but can’t find it in the zip you uploaded – that’s because you just need to upload which is part of “”.

    The Dude

    PS: I would recommend that you upload the themefiles via ftp. (unpack and upload the unpacked folder via ftp (i.e. filezilla)


    Excellent. Thanks Dude.

    I did read somewhere else that it is better to upload via ftp, but….well….I didn’t.

    Best wishes,



    Glad that I could help.

    The Dude

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Cubit installation problem’ is closed to new replies.