• Hi:
    A few days ago, I was trying to change the wordpress page that loads when I type in my URL https://www.annmariedavis.com. Under general settings I use the “change Site Address (URL)” to about-2 which is in the same wordpress database. Clearly a mistake. Now when I try to log into my admin panel I get a 500 error.

    For some reason, when I tried to restore the back to the way it was earlier that day, it didn’t work. I have no idea why that didn’t fix it. I have no earlier backups.

    Can I use ftp to change the appropriate file and get my admin panel back?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Change the urls back. See Changing_The_Site_URL for details of how to do this.

    Thread Starter AnnieM

    (@anniem)

    I took everything off of my function.php except

    <?php
    define(‘WP_HOME’,’https://annmariedavis.com&#8217;);
    define(‘WP_SITEURL’,’https://annmariedavis.com&#8217;);

    in order to get into my my admin panel. Then I changed the urls back. ThenI put back in the original function.php and I it seemed to not find my page called about-2. I don’t know what folder wordpress puts those pages in and it the programs seems to not find them. I only change my pages through wordpress so I don’t know where they could have gone.

    WordPress stores pages and posts in MySQL database. However, you may look for your about-2 page in your dashboard > pages.

    Thread Starter AnnieM

    (@anniem)

    I think that there is something wrong with the way that they are being stored. I think they are going in the wrong folder, maybe a folder within a folder. So, I want to look at the folder structure.

    I think the problem is with your theme which is either infected or broken. Can you revert to Twenty Twelve theme? Also you can see the links in that report but I do not find about-2.

    Thread Starter AnnieM

    (@anniem)

    I changed the function.php page to

    <?php
    define(‘WP_HOME’,’https://annmariedavis.com&#8217;);
    define(‘WP_SITEURL’,’https://annmariedavis.com&#8217;);

    I got into the admin panel and changed the urls to annmariedavis.com
    I still have a problem with my file structure apparently. on https://annmariedavis.com/digital-art/ I have an error message,

    Fatal error: Call to undefined function portfoliopress_content_nav() in /home/annma5/public_html/annmariedavis.com/wp-content/themes/portfolio-press/content-portfolio.php on line 72

    And also the widgets menus are not working properly. I can fix the widgets and menus, but I’m not quite sure it there is a more systemic problem.

    Thread Starter AnnieM

    (@anniem)

    P.S. I put the original functions.php back that I got from the theme developer.

    Try switching to the default theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    Thread Starter AnnieM

    (@anniem)

    Situation with me getting into my admin panel is solved. Now I have new glitches stated in the above post.

    clear active plugin row in wp-option table or as esmi said delete/rename the theme you are using so that wordpress goes on default theme

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘I cannot get to my admin panel’ is closed to new replies.