Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter robertbryn

    (@robertbryn)

    Unfortunately, I am the hosting too, so I can’t pin it on someone else. Because I use cloudflare as the primary firewall, there are very few restrictions on the server itself. just the base minimum to prevent drive by DDOS. There are no rules that block wp-json (again… confirmed because it’s sister site on the same server works fine)

    here is the .htaccess

    # BEGIN FRedirect_ErrorDocument
    # The directives (lines) between "BEGIN FRedirect_ErrorDocument" and "END FRedirect_ErrorDocument" are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    ErrorDocument 404 /index.php?error=404
    # END FRedirect_ErrorDocument
    # 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


    # BEGIN cPanel-generated php ini directives, do not edit
    # Manual editing of this file may result in unexpected behavior.
    # To make changes to this file, use the cPanel MultiPHP INI Editor (Home >> Software >> MultiPHP INI Editor)
    # For more information, read our documentation (https://go.cpanel.net/EA4ModifyINI)
    <IfModule php8_module>
    php_flag display_errors Off
    php_value max_execution_time 90
    php_value max_input_time 90
    php_value max_input_vars 10000
    php_value memory_limit 1024M
    php_value post_max_size 100M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path "/var/cpanel/php/sessions/ea-php84"
    php_value upload_max_filesize 100M
    php_flag zlib.output_compression Off
    </IfModule>
    <IfModule lsapi_module>
    php_flag display_errors Off
    php_value max_execution_time 90
    php_value max_input_time 90
    php_value max_input_vars 10000
    php_value memory_limit 1024M
    php_value post_max_size 100M
    php_value session.gc_maxlifetime 1440
    php_value session.save_path "/var/cpanel/php/sessions/ea-php84"
    php_value upload_max_filesize 100M
    php_flag zlib.output_compression Off
    </IfModule>
    # END cPanel-generated php ini directives, do not edit

    # php -- BEGIN cPanel-generated handler, do not edit
    # Set the “ea-php84” package as the default “PHP” programming language.
    <IfModule mime_module>
    AddHandler application/x-httpd-ea-php84 .php .php8 .phtml
    </IfModule>
    # php -- END cPanel-generated handler, do not edit
    Thread Starter robertbryn

    (@robertbryn)

    1. confirmed….Discourage search engines from indexing this site is unchecked.
    2. Confirmed I’m logging in as admin (its the only non-customer user so there isn’t an option for anything else)
    3. disabled all plugins (except woocommerce and pinterest)
    4. bypassed cloudflare
    5. cleared all cache in the browsers to force clean logins (and even did a separate attempt incognito)
    6. I even went to the sister site on the same server… cleared the plugin and it’s data and set it back up (which worked fine) just to make sure it didn’t have the same issue.

    I’m still getting the error after being redirected back to wordpress after the pinterest setup.

    {“code”:”rest_forbidden”,”message”:”Sorry, you are not allowed to do that.”,”data”:{“status”:401}}
    Thread Starter robertbryn

    (@robertbryn)

    Here is the paste from the BROKEN Site that throws the error.
    https://pastebin.com/K6wZbH4T

    Here is the paste from its sister site that is WORKING on the same server (ruling out server issue)
    https://pastebin.com/WH9MzFzU

    Thread Starter robertbryn

    (@robertbryn)

    Did some additional testing today.. in addition to disabling all themes/plugins, i also performed the following.

    1. create a new admin account in WordPress (just to make sure it wasn’t account specific)
    2. was successful in hitting /wp-json/ and recieved a response (With a list of all endpoints, which the pinterest one was in there)
    3. bypassed/disabled all firewalls/caching (even took CloudFlare out of the loop)
    4. Enabled app passwords on the profile(s).. it had been disabled by wordfence (Wordfence has also been removed)
    5. Started a private browser session, logged in as Admin and pasted the callback url into the browser with all the token information (also tried to run through the whole process again.)
    6. uninstalled plugin, went into wp_options table and manually removed all entries with option_name Like “pinterest_for_woocommerce%”
    7. on the same server/cpanel/account instance I had an unrelated woocommerce site, it worked fine and had no problem (this rules out Server level blocks or problems since it’s on the same server, account, cpanel instance).

    No change at all, all attempts end with the same error.

    Any other ideas?

Viewing 4 replies - 1 through 4 (of 4 total)