• Resolved kevinackford

    (@kevinackford)


    Hi,
    I have been unable to access my wp-admin dashboard for some time now and am unable to make changes/update my site.
    I have tried renaming the plugins folder, I have tried renaming the theme folder as advised but I still cannot get into my dashboard. I see a series of links to everything on the left of my screen but if I click one I get the message: Oops! That page can’t be found.
    I had a conversation with my hosting service the other day and they said that I had two deny codes in my htaccess files which were causing the problem and deleted them for me.
    The files were:

    <FilesMatch “.(py|exe|php)$”>
    Order allow,deny
    Deny from all
    </FilesMatch>
    <FilesMatch “^(about.php|radio.php|index.php|content.php|lock360.php)$”>
    Order allow,deny
    Allow from all
    </FilesMatch>
    They were in public_html –> wp-admin –> .htaccess

    Should these files not have been deleted? If not how do I put them back, or is there something that I can try to use to repair my dashboard.

    I am desperate to get this resolved as at present none of my pupils who are in group tuition can book lessons and I cannot update anything.

    Thank you.

Viewing 15 replies - 16 through 30 (of 54 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Learn to use the Chrome Developer Tools or Firefox Developer Tools to help you see site related errors.

    Thread Starter kevinackford

    (@kevinackford)

    Wow just had a look at the Chrome Developer Tools link…there is loads of it. It will probably be quicker to build a new site than try to learn all of that. ??
    Is there a way to move my present site into a new installation of WordPress to see if that solves it.
    My hosting provider has WordPress on there

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    All I’m asking is for you to open the error console and look for errors in red.

    Thread Starter kevinackford

    (@kevinackford)

    @sterndata

    Sorry this is what I mean by not very technically minded. Where do I find the error console?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Open the inspector and click on “Console”.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Also, what’s in the main .htaccess file in your site’s root?

    Thread Starter kevinackford

    (@kevinackford)

    Good grief there are loads of errors.

    load-styles.php:1 Failed to load resource: the server responded with a status of 404 ()
    load-scripts.php:1 Failed to load resource: the server responded with a status of 404 ()
    load-scripts.php:1 Failed to load resource: the server responded with a status of 404 ()
    load-scripts.php:1 Failed to load resource: the server responded with a status of 404 ()
    load-scripts.php:1 Failed to load resource: the server responded with a status of 404 ()
    common.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at common.min.js?ver=5.6.2:2
    wp-util.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at wp-util.min.js?ver=5.6.2:2
    api-request.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at api-request.min.js?ver=5.6.2:2
    site-health.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at site-health.min.js?ver=5.6.2:2
    wp-ajax-response.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at wp-ajax-response.min.js?ver=5.6.2:2
    jquery.color.min.js?ver=2.1.2:2 Uncaught ReferenceError: jQuery is not defined
        at jquery.color.min.js?ver=2.1.2:2
    wp-lists.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at wp-lists.min.js?ver=5.6.2:2
    jquery.query.js?ver=2.1.7:11 Uncaught ReferenceError: jQuery is not defined
        at jquery.query.js?ver=2.1.7:11
    edit-comments.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at edit-comments.min.js?ver=5.6.2:2
    core.min.js?ver=1.12.1:5 Uncaught ReferenceError: jQuery is not defined
        at core.min.js?ver=1.12.1:5
        at core.min.js?ver=1.12.1:5
    mouse.min.js?ver=1.12.1:9 Uncaught ReferenceError: jQuery is not defined
        at mouse.min.js?ver=1.12.1:9
        at mouse.min.js?ver=1.12.1:9
    sortable.min.js?ver=1.12.1:9 Uncaught ReferenceError: jQuery is not defined
        at sortable.min.js?ver=1.12.1:9
        at sortable.min.js?ver=1.12.1:9
    postbox.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at postbox.min.js?ver=5.6.2:2
    dashboard.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at dashboard.min.js?ver=5.6.2:2
    thickbox.js?ver=3.1-20121105:15 Uncaught ReferenceError: jQuery is not defined
        at thickbox.js?ver=3.1-20121105:15
    plugin-install.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at plugin-install.min.js?ver=5.6.2:2
    updates.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at updates.min.js?ver=5.6.2:2
    media-upload.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at media-upload.min.js?ver=5.6.2:2
    svg-painter.js?ver=5.6.2:241 Uncaught ReferenceError: jQuery is not defined
        at svg-painter.js?ver=5.6.2:241
    heartbeat.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at heartbeat.min.js?ver=5.6.2:2
    wp-auth-check.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at wp-auth-check.min.js?ver=5.6.2:2
    wplink.min.js?ver=5.6.2:2 Uncaught ReferenceError: jQuery is not defined
        at wplink.min.js?ver=5.6.2:2
    menu.min.js?ver=1.12.1:9 Uncaught ReferenceError: jQuery is not defined
        at menu.min.js?ver=1.12.1:9
        at menu.min.js?ver=1.12.1:9
    autocomplete.min.js?ver=1.12.1:9 Uncaught ReferenceError: jQuery is not defined
        at autocomplete.min.js?ver=1.12.1:9
        at autocomplete.min.js?ver=1.12.1:9
    /wp-admin/admin-ajax.php?action=wp-compression-test&test=1&_ajax_nonce=40d2485c74&1620745535182:1 Failed to load resource: the server responded with a status of 404 ()
    /wp-admin/admin-ajax.php?action=wp-compression-test&test=no&_ajax_nonce=40d2485c74&1620745535814:1 Failed to load resource: the server responded with a status of 404 ()
    load-styles.php:1 Failed to load resource: the server responded with a status of 404 ()
    Thread Starter kevinackford

    (@kevinackford)

    I will now try to find the main .htaccess file in my sites root

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    It looks like parts of WP itself might be missing. Please do step 1 of the manual update process: https://www.ads-software.com/support/article/updating-wordpress/#step-1-replace-wordpress-files

    Thread Starter kevinackford

    (@kevinackford)

    @sterndata

    Thank you again for all of your assistance so far. I will do the step 1 and get back to you on whether it works or not.

    Time is catching up with me again today so it will be tomorrow before I can try to get things done.

    Have a great day (or evening)

    Thread Starter kevinackford

    (@kevinackford)

    @sterndata

    Good news I can now see my dashboard.

    Not quite so good news, whenever I click on a link I get my good ole friend come back with…Oops that page can’t be found message.

    At least the dashboard is there which is a start.

    I don’t know if you will be able to get anything from this link.

    https://kevinackford.uk/wp-admin/

    • This reply was modified 3 years, 6 months ago by kevinackford.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What is in your .htaccess file?

    Thread Starter kevinackford

    (@kevinackford)

    Hi @sterndata is this what you need?

    I have 3 .htaccess files they are:

    <FilesMatch ".(py|exe|php)$">
     Order allow,deny
     Deny from all
    </FilesMatch>
    <FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php)$">
     Order allow,deny
     Allow from all
    </FilesMatch>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    <FilesMatch ".(py|exe|php)$">
     Order allow,deny
     Deny from all
    </FilesMatch>
    <FilesMatch "^(about.php|radio.php|index.php|content.php|lock360.php|admin.php|wp-login.php)$">
     Order allow,deny
     Allow from all
    </FilesMatch>
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    The permissions on the two above are 0444

    The 3rd one is a BAK file

    • This reply was modified 3 years, 6 months ago by kevinackford.
    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You should have only ONE .htaccess file, in the root of your site. Please change yours to just the default WP one: https://www.ads-software.com/support/article/htaccess/#basic-wp

    Thread Starter kevinackford

    (@kevinackford)

    @sterndata

    Ok before I start changing files, I take either of the above files, delete everything above where it says RewriteBase /, replace it with the text
    # BEGIN WordPress

    RewriteEngine On
    RewriteRule .* –
    [E=HTTP_AUTHORIZATION:%
    {HTTP:Authorization}]

    and at the end

    #END WordPress

    then delete the other files including the BAK one?

Viewing 15 replies - 16 through 30 (of 54 total)
  • The topic ‘Still unable to access dashboard please help’ is closed to new replies.