Support » Plugin: DecaLog » Decalog DB prefix

  • Resolved jimmy19742

    (@jimmy19742)


    I was enjoying this plugin quite a lot until I forced it to override my debug log settings and tried to send notifications to the browser console. After this action from my side,I could not log in ( blank screen ) and I decativated the plugin which solved the issue.. Later deleted it and tried to reactive it. But “The plugin cannot decativated because it triggered a fatal error” was the message I got.

    And as I see via the Cron daemon log it has daily events there which don’t run because the plugin is missing.
    I suspect it is “statistics” but would like to be sure.

    So I want to drop the old tables and make a clean new installation because I like all Your plugins.

    • This topic was modified 6 months ago by jimmy19742. Reason: Typos

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

Viewing 15 replies - 1 through 15 (of 22 total)
  • Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Hello Jimmy!
    Sorry to hear that…
    First, now you can safely delete the old tables and reinstall the plugin. It will takes care of “ghost” cron. But, I think there’s a better (and safer) way to do that (and a way to not loose historical data and settings). If you are comfortable with your database (and a bit of SQL), I can explain you.

    BTW, your issue is very strange and it make me think of an old one which was browser-dependent… Could you tell me which logger you were setting (Browser Console or ChromePHP) and with which browser your were doing it?

    jimmy19742

    (@jimmy19742)

    Thank You for Your quick reply! I used Chrome for Android ( on my tablet running on Android8.2 ) which doesn’t have developers options.It was just a mistake from me.
    I think it was browser console.but I really can’t recall.

    jimmy19742

    (@jimmy19742)

    Android 8.1

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    OK. Are you comfortable with SQL? Do you have tools like PHPMyAdmin or Adminer…?

    jimmy19742

    (@jimmy19742)

    Yes ,I do have phpMyAdmin. A beginner in SQL.

    jimmy19742

    (@jimmy19742)

    I just would like to know which tables to drop/empty

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Unfortunately, it will not be so simple to just drop old ones. But don’t worry, you will see it’s really simple:
    1 – in your “options” table just select the row where “option_name” is “decalog_loggers”. You can do that like that:
    SELECT * FROM your_options_table_name WHERE option_name= 'decalog_loggers';
    (replace ‘your_options_table_name’ with its true name, depending of your database prefix, it should be something like ‘prefix_options’)
    2 – edit the corresponding ‘option_value’ field by replacing all instances of s:7:"running";b:1 by s:7:"running";b:0 and save the record.

    That’s it. Now, you can safely reactivate the plugin, all you loggers are paused.

    Is it ok for you?

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Alternatively, I prepare a fix to automatically do that after a reactivation. I think I can release it in the next 24h if you prefer to wait for it…

    jimmy19742

    (@jimmy19742)

    Absolutely.
    Thank You!
    I was just browsing my options table!
    Have a nice day,Sir and be healthy to create more awesome plugins like this one , Opcache manager,APCU manager and others!

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Thanks a lot 😉

    I will ping you as soon as the fix is ready to download.

    jimmy19742

    (@jimmy19742)

    I intend to execute this query:
    delete from wp_options where option_name like “%decalo_loggers%”;
    What do You think?

    jimmy19742

    (@jimmy19742)

    decalog_loggers
    A typo again

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    You will loose all your settings… 🙁

    jimmy19742

    (@jimmy19742)

    Okay. I’m not in a hurry and I can wait.
    But if You have any other errands, don’t be in a hurry either.

    jimmy19742

    (@jimmy19742)

    Thank You in advance!

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Decalog DB prefix’ is closed to new replies.