• mayank29gupta

    (@mayank29gupta)


    Hello,

    I added a snippet which gave Error 503. I tried using your method of adding define(‘CODE_SNIPPETS_SAFE_MODE’, true); and using ?snippets-safe-mode=1.

    The first method didn’t work at all. While Second method do manage to give me access to admin section but as soon as I visit the admin.php?page=snippets page by adding the safe mode in url, it shows same error 503.

    I had to disable plugin using FTP. How to fix this issue??? I have added several snippets which work fine and I need them. So how do I remove the latest snippet and enable plugin again??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Shea Bunge

    (@bungeshea)

    With the first method, you need to make sure you add the constant near the beginning of the file. Whereabouts in your wp-config.php file did you add it?

    Thread Starter mayank29gupta

    (@mayank29gupta)

    Hello @bungeshea a post in this forum said to put the code before “/* That’s all, stop editing! Happy blogging. */“:. And this is where I put it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Snippet Crashed Website. Safe Mode Not Working’ is closed to new replies.