• Resolved veeto

    (@veeto)


    Hello.

    i have a problem to access to my wp-admin dashboard.

    i’m using bitnami wordpress hosted on aws amazon. i tried to contact bitnami community support but no respond. so i’m asking here to get some help from you guys.

    i have follow all documentation to fixed this, but nothing success.

    -Do reset back to default permission.
    -uninstall and install back plugin.
    -removed .htaccess and replace new one.
    -sudo chmod everything permission

    but still no access. when i run bndiagnostic tool, this is the result.

    ? Apache: Found possible issues
    ? WordPress: Found possible issues
    ? resources: No issues found
    ? mysql: No issues found
    ? php: No issues found

    Found recent error messages in the Apache error log.

    
    [Mon Jul 11 14:39:31.131147 2022] [proxy_fcgi:error] [pid 12276:tid 140423276259072] [client 162.158.162.207:49842] AH01071: Got error 'PHP message: WordPress database error Table 'bitnami_wordpress.wp_wilcity_have_been_there' doesn't exist for query SELECT ID FROM wp_wilcity_have_been_there WHERE (ipAddress='114.119.134.220' AND userId=0) AND objectID=75715 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/wilcity/single.php'), get_template_part, locate_template, load_template, require('/themes/wilcity/post-types/listing.php'), Wilcity\Ultils\ListItems\Lists->render, Wilcity\Ultils\ListItems\Div->render, Wilcity\Ultils\ListItems\RenderableAbstract->beforeRenderElement, Wilcity\Ultils\ListItems\WilHaveBeenThereBtn->render, WilokeListingTools\Models\HaveBeenThereModel::isCheckedPHP message: WordPress database error Table 'bitnami_wordpress.wp_wilcity_have_been_there' doesn't exist for query SELECT COUNT(ID) FROM wp_wilcity_have_been_there WHERE objectID=75715 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/wilcity/single.php'), get_template_part, locate_template, load_template, require('/themes/wilcity/post-types/listing.php'), Wilcity\Ultils\ListItems\Lists->render, Wilcity\Ultils\ListItems\Div->render, Wilcity\Ultils\ListItems\RenderableAbstract->beforeRenderElement, Wilcity\Ultils\ListItems\WilHaveBeenThereBtn->render, WilokeListingTools\Models\HaveBeenThereModel::count'
    

    Please check the following guide to troubleshoot server issues:

    https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/

    Found recent WordPress plugin related error messages in the Apache error log.Please check the following guide to deactivate plugins:

    https://developer.www.ads-software.com/cli/commands/plugin/deactivate/

    how to fixed this?

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 37 total)
  • Your error log states missing DB table error.

    Can you trying logging into wp-admin using this url https://www.weddingmate.my/wp-login.php and then switch to another theme to check and confirm if it’s just a theme issue or any kind of server issue?

    Thread Starter veeto

    (@veeto)

    thanks for fast reply. but it works if i login using that. but after login when redirect to wp-admin, it will show the error Forbidden. please have a look the video https://www.awesomescreenshot.com/video/9905752?key=002ec68dfc98ce3c03cb4b635690e66a

    Can you please share your root .htaccess file code? (Please hide any private information from code)

    Can you also explain how can you access wp-login.php page without adding .php ? if you don’t add .php you must have seen 404 page. so you added something that allow you to access pages without .php extension?

    Thread Starter veeto

    (@veeto)

    # BEGIN WP Hide & Security Enhancer 
    <IfModule mod_rewrite.c> 
    RewriteEngine On 
    RewriteBase / 
    RewriteRule .* - [E=WPH_REWRITE_1:fbdbee8b]
    
    RewriteCond %{ENV:REDIRECT_STATUS} 200
    RewriteRule ^ - [L]
    
    RewriteRule ^wm/wm.css /wp-content/themes/wilcity/style.css [END,QSA]
    
    RewriteRule ^wm_ctheme/wm_style.css /wp-content/themes/wilcity-childtheme/style.css [END,QSA]
    
    RewriteRule ^wm/(.+) /wp-content/themes/wilcity/$1 [END,QSA]
    
    RewriteRule ^wm_ctheme/(.+) /wp-content/themes/wilcity-childtheme/$1 [END,QSA]
    
    RewriteRule ^path/(.+) /wp-includes/$1 [QSA,END]
    
    RewriteRule ^files/(.+) /wp-content/$1 [QSA,L]
    </IfModule> 
    # END WP Hide & Security Enhancer 
    
    # BEGIN WordPress
    # The directives (lines) between "BEGIN WordPress" and "END WordPress" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    
    # Wordfence WAF
    <Files ".user.ini">
    <IfModule mod_authz_core.c>
    	Require all denied
    </IfModule>
    <IfModule !mod_authz_core.c>
    	Order deny,allow
    	Deny from all
    </IfModule>
    </Files>
    
    # END Wordfence WAF

    i’m using wp-hide enchancher & security pro, maybe because that one i can access without using extension .php

    • This reply was modified 2 years, 4 months ago by veeto.

    Can you take background or .htaccess and use only default WP htaccess code only then test things.

    Thread Starter veeto

    (@veeto)

    i already change to default .htaccess code https://imgur.com/KFOu0p8 but still problem.

    Can you please try the latest code from here, your code looks a bit different.

    https://www.ads-software.com/support/article/htaccess/#basic-wp

    Thread Starter veeto

    (@veeto)

    already change to new one https://imgur.com/s8qM0S6 still same

    Thread Starter veeto

    (@veeto)

    i don’t know what i need to do. i have follow all instruction and tutorial but still can’t access the wp-admin area. it’s my website have been hack? or permission still error? i already reset all the permission to 775 https://imgur.com/zBwMTRI as bitnami required but the problem still there..

    Can you install another wordpress on a subdir and check if you still have same kind of issue in new install as well or it is just old install problem?

    If it’s just old install issue, then rename the wp-admin and wp-includes folder and upload the new folder from fresh WordPress zip.

    Thread Starter veeto

    (@veeto)

    i can’t install another one at subdir because it will charge for using another instance.. https://aws.amazon.com/marketplace/pp/prodview-bzstv3wbn5wkq?sr=0-4&ref_=beagle&applicationId=AWSMPContessa

    Thread Starter veeto

    (@veeto)

    ? Apache: Found possible issues
        ? WordPress: No issues found
        ? resources: No issues found
        ? mysql: No issues found
        ? php: No issues found
    
    Found recent error messages in the Apache error log.
    <pre><code>
    [Mon Jul 11 17:34:49.011649 2022] [access_compat:error] [pid 19663:tid 139817291                                609856] [client 172.70.142.221:53052] AH01797: client denied by server configura                                tion: /opt/bitnami/apps/wordpress/htdocs/wp-admin/admin-ajax.php, referer: https                                ://www.weddingmate.my/chinese/kuala-lumpur/flowers-deco/nieldelia-florist-gifts/                                ?tab=instafeedhub
    </code></pre>
    
    Please check the following guide to troubleshoot server issues:
    
    https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apa                                che/

    [client 172.70.142.221:53052] AH01797: client denied by server configura tion: /opt/bitnami/apps/wordpress/htdocs/wp-admin/admin-ajax.php

    what cause this problem? on admin-ajax.php?

    Then you can try deactivating all the plugins using cli and switch to default theme.

    Also, reset all the folder permissions to 755 and files permission to 644

    Also, check make sure there is no .htaccess files inside wp-admin & wp-includes folder.

    Please take backup of everything before doing all the changes.

    what cause this problem? on admin-ajax.php?

    You have blocked the request either via .htaccess or Apache configurtation.

    I can’t tell where you have made changes, but seems you have done something wrong in configuration or 3rd party plugin did it for you.

    The best option is to deactivate all plugins and switch to default theme, remove all the custom .htaccess and start debugging each plugin, theme and custom code.

Viewing 15 replies - 1 through 15 (of 37 total)
  • The topic ‘Forbidden You don’t have permission to access this resource’ is closed to new replies.