• napkindad

    (@napkindad)


    I am using WP 3.8.1 on yahoo. I am not able to access my WP admin site. The main site https://www.martycoleman.com (which is not WP) is up and running and the actual blog p https://www.martycoleman.com/blog/ is also up and running (though not complete or linked anywhere yet). Supposedly the culprit is my theme, Focal, (from hero themes) which I installed a few weeks ago.
    So, maybe someone here could help explain the issue and how I might be able to access the blog manager to at least deactivate the theme (if that really is the problem)?
    Here is the log link showing the errors. https://martycoleman.com/logs/scripts.log
    Thanks, Marty

Viewing 13 replies - 1 through 13 (of 13 total)
  • Moderator t-p

    (@t-p)

    try switching to the unedited default, core-bundled Theme (such as Twenty Twelve, Twenty Thirteen or Twenty Fourteen) by renaming your current theme’s folder in wp-content/themes and adding “-old” to the end of the folder name using via FTP or SFTP or whatever file management application your host provides. Alternately, you can remove other themes except the default theme. That will force your site to use it.

    kmessinger

    (@kmessinger)

    It looks to me like the SEO and cache plugins are not working correctly. You can try disabling them. The cache plugin may have written something on the .htaccess so you may need to change that.

    Thread Starter napkindad

    (@napkindad)

    Thanks Tara and KM,
    KM, can I simply delete the two plugins, which I can see how to do from my web hosting control panel on yahoo, or do I need to disable them, which I am not sure how to do from there. I would know how if I could get to the WP control panel, but I can’t. Thanks, M

    kmessinger

    (@kmessinger)

    Just rename them using ftp or the file manager your host provides.

    Thread Starter napkindad

    (@napkindad)

    neither of those solutions worked. I renamed one, then the other. The result was the URL above was not redirected like it had been, but it still didn’t go to my WP panel. It’s just a blank white page, sometimes with a 500 general error.
    I did what Tara suggested and got rid of all old themes, except one, then renamed the current theme. No luck.
    Not sure what to do next.

    kmessinger

    (@kmessinger)

    It is not really a blank page. There is a script running on it calling up something from lexity.com. They have tools that Yahoo uses for ecommerce.

    I think it is time to speak to your host. Here is the script,
    <script type="text/javascript">(function (d, w) {var x = d.getElementsByTagName('SCRIPT')[0];var f = function () {var s = d.createElement('SCRIPT');s.type = 'text/javascript';s.async = true;s.src = "//np.lexity.com/embed/YW/5a324fba797db087d0e1243d3ad97a58?id=725970689c4d";x.parentNode.insertBefore(s, x);};w.attachEvent ? w.attachEvent('onload',f) :w.addEventListener('load',f,false);}(document, window));</script>

    Ask them why that script is appearing on your WordPress log in page.

    Thread Starter napkindad

    (@napkindad)

    Thanks KM, I will do that. I also had yahoo get back to me. They say it is this php code problem.

    “There is an issue with the PHP coding that was recently made.

    The error scripts logs indicates the following error message ‘PHP Fatal error: Cannot redeclare check_password_reset_key() (previously declared in /blog/wp-login.php:281) in /blog/wp-includes/user.php on line 1637’. You need to correct the coding in the above mentioned pages to gain access to the WordPress control panel.

    Here is a bit of the code.
    1636 return new WP_Error( 'invalid_key', __( 'Invalid key' ) );
    1637 }
    1638
    1639 /**
    1640 * Handles resetting the user's password.
    1641 *
    1642 * @param object $user The user
    1643 * @param string $new_pass New password for the user in plaintext
    1644 */
    1645 function reset_password( $user, $new_pass ) {
    1646 do_action( 'password_reset', $user, $new_pass );
    1647
    1648 wp_set_password( $new_pass, $user->ID );
    1649 update_user_option( $user->ID, 'default_password_nag', false, true );
    1650
    1651 wp_password_change_notification( $user );

    Maybe this all has to do with a password resetting? I don’t know how to reset my password if I can’t get in to reset it.

    thanks again for your help, M

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    I don’t know how to reset my password if I can’t get in to reset it.

    There are a few ways to do that without WordPress dashboard access (obviously ?? ).

    https://codex.www.ads-software.com/Resetting_Your_Password

    I myself like this method.

    https://codex.www.ads-software.com/Resetting_Your_Password#Through_FTP

    If you do go that way please make sure you back up any files you modify first.

    Thread Starter napkindad

    (@napkindad)

    I did it through the mysql way. Didn’t fix the issue.

    Moderator t-p

    (@t-p)

    double check the siteurl and home values

    Thread Starter napkindad

    (@napkindad)

    I found the siteurl in wp_options and it’s what it is suppose to be. Not sure what I am looking for when you say ‘home values’ though.

    Thread Starter napkindad

    (@napkindad)

    I restored the databases to before my theme change, still didn’t work. It even stopped me from getting to the blog via a browser. But I did get a message saying I needed to repair the databases, which I did. It was unable to repair one thing, saying

    wp_options: Table is marked as crashed

    So, now the question is, do I delete the table? or repair it or? I don’t know the next step.

    esmi

    (@esmi)

    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.

    resetting the plugins folder by FTP or phpMyAdmin.

    – repairing all database tables again.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Can't get into work on my wordpress’ is closed to new replies.