Forums

[resolved] I got a "warning" and now cant access WordPress (23 posts)

  1. samraj10
    Member
    Posted 1 year ago #

    Dear friend.
    I am new to WordPress and have been trying to install a theme from StudioPress.Its been a bit of a nightmare.
    In the process i got the following.
    Help!.
    As a result, every time i try to get into my WordPress account and dashboard, the message below comes up.
    Can you help?.
    Thanks.
    Gavin

    Warning: require_once(/home2/fulltim7/public_html/wp-content/themes/genesis/lib/init.php) [function.require-once]: failed to open stream: No such file or directory in /home2/fulltim7/public_html/wp-content/themes/serenity/functions.php on line 3

    Fatal error: require_once() [function.require]: Failed opening required '/home2/fulltim7/public_html/wp-content/themes/genesis/lib/init.php' (include_path='.:/usr/lib64/php:/usr/lib/php') in /home2/fulltim7/public_html/wp-content/themes/serenity/functions.php on line 3

  2. govpatel
    Member
    Posted 1 year ago #

    Rename that theme to something else ex. serenity-bak using ftp or server and than try to go on your website this will force wordpress to open twentyten theme.

    If this works than you have problem in /serenity/functions.php

    upload serenity/functions.php and overwrite the file.

  3. samraj10
    Member
    Posted 1 year ago #

    Hi govpatel.

    Can you clarify what you said.
    I am new to all of this so i would very much appreciate
    as little jargon as possible.

    THANK-YOU.

    - I need to rename my theme. What to?.
    - What is ftp?..or server
    - What is the twentyten theme?

    Thank-you for all your help.

    Gavin

  4. James
    Happiness Engineer
    Posted 1 year ago #

    Access your server via FTP or SFTP, navigate to /wp-content/themes/ and rename the /serenity/ directory to anything (like /serenity2/). This will force the Default theme (WordPress 1.5 - 2.9.2) or the Twenty Ten theme (WordPress 3.0 and higher) to activate and hopefully rule-out a theme-specific issue.

  5. flhunt
    Member
    Posted 1 year ago #

    I HAVE A SIMILAR PROBLEM. Samaraj 10 - were you able to fix it with the instructions above? I tried what James wrote above however I am unable to enter the dashboard therefore unsure how to change the script. thanks in advance

  6. flhunt
    Member
    Posted 1 year ago #

    THis is the error message I received:

    Warning: require_once(/home/content/56/6876456/html/wp-content/themes/genesis/lib/init.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/56/6876456/html/wp-content/themes/agentpress/functions.php on line 3

    Fatal error: require_once() [function.require]: Failed opening required '/home/content/56/6876456/html/wp-content/themes/genesis/lib/init.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/56/6876456/html/wp-content/themes/agentpress/functions.php on line 3

  7. govpatel
    Member
    Posted 1 year ago #

    You need to rename this genesis folder in themes and than try and go on website that will force twentyten theme to open.

    looks like your theme is not installed properly as I see that you two folders in themes folder
    themes/agentpress/functions.php
    themes/genesis

    so which one your theme.

  8. flhunt
    Member
    Posted 1 year ago #

    THANK YOU SOOOO MUCH for your quick response. I've been trying to get help for over 3 hours and am going nuts.

    WEll AgentPress is the theme I purchase from stuio press and Genesis seems to be their framework file. I hope I explained that well. I'm going to try what you suggested RIGHT NOW....

  9. flhunt
    Member
    Posted 1 year ago #

    I attemped to change the names to no avail so .....and I hope I havent made things worse...I deleted the file thinking I could just reinstall. Well nothing has changed. When I go to my website I STILL receive the message above and I can not access the WP dashboard. I just don't know how to fix this.

  10. govpatel
    Member
    Posted 1 year ago #

    you need rename agentpress as that is your theme.

  11. govpatel
    Member
    Posted 1 year ago #

    you mean you deleted genesis and agentpress.
    what do you have in themes folder now.

  12. flhunt
    Member
    Posted 1 year ago #

    yes. I deleted the file that was dowlnoaded from the studiopress site. THat was the file I uploaded to wordpress.org for the install theme

  13. flhunt
    Member
    Posted 1 year ago #

    before deleting I had renamed the agent press file however nothing changed.

  14. govpatel
    Member
    Posted 1 year ago #

    I asked you to check what you have in themes folder now.

  15. flhunt
    Member
    Posted 1 year ago #

    I am not able to access the wp dashboard AND deleted the downloaded themes folders from studio press therefore I'm not certain which "themes folder" you are referring to.

    When I type my name and login on to the wordpress.org site it loads the same script as the website.

  16. James
    Happiness Engineer
    Posted 1 year ago #

    You need to access your server via FTP or SFTP and navigate to the /wp-content/themes/ directory.

  17. flhunt
    Member
    Posted 1 year ago #

    THANK YOU James. I opened the hyper link and downloaded FileZilla however when it attempts to connect to the server it asks for an adminsistration password and I don't know what to enter. HELP

  18. govpatel
    Member
    Posted 1 year ago #

    You need to enter you host account user name and password

  19. flhunt
    Member
    Posted 1 year ago #

    I'm sorry to be so misinformed BUT I don't know what the host account is? Is this something I creating?

  20. govpatel
    Member
    Posted 1 year ago #

    if you are setting up a wordpress on own domain name then you must have a host account (server) to install self hosted website.

  21. James
    Happiness Engineer
    Posted 1 year ago #

    Contact your hosting provider if you don't know your FTP login details.

  22. flhunt
    Member
    Posted 1 year ago #

    THANK YOU SO MUCH ALL! I contacted my host as you directed and the problem was resolve. I've learned a lot in these last few sleepness night! and this is JUST the beginning. Thank you again for taking the time to help me.

  23. James
    Happiness Engineer
    Posted 1 year ago #

    You're welcome!

Topic Closed

This topic has been closed to new replies.

About this Topic