WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Theme Installation showing errors (Fopen) (11 posts)

  1. priyankawriting
    Member
    Posted 3 years ago #

    I have installed the Splendio theme on http://www.travel.priyankawriting.com. I am getting these errors,

    Unpacking the package…

    Installing the theme…

    Theme installed successfully.

    Warning: fopen(/home6/digiwhir/public_html/travel/wp-content/themes/splendio/style.css) [function.fopen]: failed to open stream: No such file or directory in /home6/digiwhir/public_html/travel/wp-includes/functions.php on line 4284

    Warning: fread(): supplied argument is not a valid stream resource in /home6/digiwhir/public_html/travel/wp-includes/functions.php on line 4287

    Warning: fclose(): supplied argument is not a valid stream resource in /home6/digiwhir/public_html/travel/wp-includes/functions.php on line 4290

    I think because of this I am not able to work the slider or flickr gallery. What can I do?

  2. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    The error message is telling you that it can't find your Theme's stylesheet: /wp-content/themes/splendio/style.css.

    That, or else your server is configured not to allow use of fopen()/fread()/fclose() functions, for security reasons.

  3. priyankawriting
    Member
    Posted 3 years ago #

    Well so what can I do about these errors? How can I check whether its a server problem or whatt... cause the error does not show for some other themes.

  4. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    First things first: does the file actually exist?

    If not, then re-upload your Theme, and ensure that all files are uploaded properly.

  5. priyankawriting
    Member
    Posted 3 years ago #

    Ok so the file that is present is,
    /home6/digiwhir/public_html/travel/wp-content/themes/splendio/SPLENDIO/style.css

    So there is one extra Splendio folder... :|

  6. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    Then that's the problem: the file doesn't exist. Try re-uploading the Theme. (I just checked the original download source; the style.css file exists in the theme root in the ZIP file.)

    EDIT:

    Let me re-phrase that: the Theme apparently has been installed in an extra subdirectory, so rather than re-uploading, you could simply move everything from \splendido\SPLENDIDO up into \splendido.

  7. priyankawriting
    Member
    Posted 3 years ago #

    If by re-upload you mean delete current theme and then upload it afresh. I have done that many times and it doesn't help!

    What I did currently is I copied the style.css file and pasted it in the first Splendio folder. So effectively now the file does exist...

    EDIT REPLY
    Okay so I did that not with all elements but with the style.css file. But how do i get the current theme to recognise it immediately?

  8. priyankawriting
    Member
    Posted 3 years ago #

    Hey Chip,

    Well your inputs were very helpful, I fiddled around with the theme zip file itself. I basically extracted and then re-zipped it without the extra splendio folder and it worked. I am not getting the error any more :)

    Though I am still not able to get the flickr rss or slider working :| it mostly is because they are in a different folder called ' splendio plugins' though not sure what I should do abt it...

  9. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    I would install the Plugins in \wp-content\plugins\, and then activate them as per normal.

  10. priyankawriting
    Member
    Posted 3 years ago #

    Well I just did that and they are working.. though getting some glitches here and there.. but will figure it out with some fiddling :) thanks.

  11. nippermh
    Member
    Posted 2 years ago #

    I deleted a theme and the error went away. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic