• Resolved wickedom

    (@wickedom)


    Hi, the first snippet is work fine. as for the second snippet, i can only save but not activate. i tried interchange both snippet to see if is the code problem and again is the same issue. the second snippet at activation will return in error:

    Forbidden
    You don’t have permission to access /wp-admin/admin.php on this server.
    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

    any advise?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter wickedom

    (@wickedom)

    found the issue and i think i solved it. but in the course of it, i created another.

    i deleted the plugin via cpanel and now i cannot get it back. i am able to install but cannot activate.

    please advise.

    • This reply was modified 6 years, 6 months ago by wickedom.
    Plugin Author Shea Bunge

    (@bungeshea)

    What happens when you try to activate the plugin?

    You might benefit from enabling safe mode by temporarily adding this line to your wp-config.php file before reactivating:

    define( 'CODE_SNIPPETS_SAFE_MODE', true );

    Thread Starter wickedom

    (@wickedom)

    When I tried to activate:

    This page isn’t working
    mydomain.com is currently unable to handle this request.
    HTTP ERROR 500

    Btw, it breaks the entire site.

    Then I went back to cPanel to delete the plugin and add in the safe mode. Reinstalled and still the same thing happened.

    Thread Starter wickedom

    (@wickedom)

    okay. managed to get the safe mode to work and deleted the bad snippets. many thanks for the prompt response!

    Plugin Author Shea Bunge

    (@bungeshea)

    Glad to hear you could get it working!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Cannot activate the second snippet’ is closed to new replies.