1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Troubleshooting Unexpected Behavior

Discussion in 'General Troubleshooting' started by Nick, Aug 7, 2009.

  1. Nick

    Nick Well-Known Member

    So many times I've been scratching my head wondering why the plugin I've just installed isn't working properly. Here are some possible reasons for unexpected behavior.

    1. Your browser has cached the page.

    Try a hard refresh, CTRL+F5, to make sure you're looking at a fresh page.

    If the problem is CSS or JavaScript related, go to Admin -> Maintenance, clear the css/js cache, return to the page you were having a problem on and do a hard refresh. If you prefer, you can disable the css/js cache in Admin -> Settings.

    2. Hotaru is using cached database queries which are out of date.

    Clearing the cache when you encounter problems remedies most problems. Just go to Admin -> Maintenance and click "Clear database cache" to instantly delete all the cached files.

    You can disable or change the duration of the database cache in Admin - > Settings.

    3. Hotaru is checking for plugin actions in the wrong order.

    Depending on the order you install certain plugins, it's possible the resulting behavior might differ. Take for example the navigation bar. The Vote plugin adds "Top Stories" and "Latest" to the navigation bar and the Submit plugin adds "Submit a Story". The order those links appear in the navigation bar depends on the order you install those plugins. While that particular example won't break your website, more complicated plugin functions could cause unexpected results if fired in the wrong order.

    The solution is simply to go to Admin -> Plugin Management and click the up and down arrows to change the order the actions are triggered in.
     
    Last edited: Sep 23, 2009
  2. JonH

    JonH Admin & Design

    "Try a hard refresh, CTRL+F5, to make sure you're looking at a fresh page. "

    I started using "Private Browsing" in Firefox: Ctrl+Shift+P when working with changing themes, CSS or installs. it disables the cache / temp files on your browser. I think IE has this feature too.
     
  3. liana

    liana New Member

    i'm not sure if we should still be using the old documentation or not .. but it appears this page may need updated.

    i was unable to find the function in submit - it was actually located in bookmarking.php
     

Share This Page