WordPress.org

Ready to get started?Download WordPress

Forums

Options Optimizer
Still working? (8 posts)

  1. mnr
    Member
    Posted 1 year ago #

    Does the plugin still work? It's giving me an internal server error when I try to use its options. It has been activated.

    I'm now using php 5.4 which might be a problem.

    http://wordpress.org/plugins/options-optimizer/

  2. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    I have not looked at it in a while. I will install it and see if anything happens on my test machine.

    Keith

  3. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    I just tested under PHP 5.4.3 and it works fine.

    If you can get me the error I can tell more, but right now I can't reproduce it.

    Keith

  4. mnr
    Member
    Posted 1 year ago #

    "Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

    More information about this error may be available in the server error log."

    But there is nothing in the error log.
    I upgraded to wordpress 3.6 and the same thing happens when I try to access your plugin settings.

  5. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    Perhaps it is a broken installation.

    Uninstall it, then delete the folder if it is still there and then download again.

    I've had plugins that were only partially downloaded or were damaged somehow during the install and then worked the second time I installed them.

    Keith

  6. mnr
    Member
    Posted 1 year ago #

    I uninstalled and deleted its folder but it made no difference.

    Lately I upgraded the nextgen gallery plugin to v2. Disabling this seems to have made the difference. WordPress is telling me there is a version 2.07 available. Now options optimizer loads and shows me this (but nothing else):

    Options Optimizer
    Options Optimizer is installed and working correctly.

    The Options Optimizer allows you to change plugin options so that they don't autoload. It also allows you to delete orphan options.

    In WordPress, some options are loaded whenever WordPress loads a page. These are marked as autoload options. This is done to speed up WordPress and prevent the programs from hitting the database every time some plugin needs to look up an option. Automatic loading of options at start-up makes WordPress fast, but it can also use up memory for options that will seldom or never be used.

    You can safely switch options so that they don't load automatically. Probably the worst thing that will happen is that the page will paint a little slower because the option is retrieved separately from other options. The best thing that can happen is there is a lower demand on memory because the unused options are not loaded when WordPress starts loading a page.

    When plugins are uninstalled they are supposed to clean up their options. Many options do not do any clean-up during uninstall. It is quite possible that you have many orphan options from plugins that you deleted long ago. These are autoloaded on every page, slowing down your pages and eating up memory. These options can be safely marked so that they will not autoload. If you are sure they are not needed you can delete them.

    You can change the autoload settings or delete an option on the form below. Be aware that you can break some plugins by deleting their options. I do not show most of the built-in options used by WordPress. The list below should be just plugin options.

    It is far safer to change the autoload option value to "no" than to delete an option. Only delete an option if you are sure that it is from an uninstalled plugin. If you find your pages slowing down, turn the autoload option back to "on".

    In order to see if the change in autoload makes any difference, you can view the source of your blog pages and look for an html comment that shows your current memory usage and the load time and number of queries for the page. This is added to the footer by this plugin. It is an html comment so you have to view the page source to see it.

    Deactivate this plugin when you are not using it in order to save memory and speed your page.

  7. kpgraham
    Member
    Plugin Author

    Posted 1 year ago #

    I think that your installation can't run things because of memory restraints. You might look into adding a php.ini file to your site with the directives to increase memory.

    When your wordpress installation runs under constraints for memoory and execution time, things will sometimes work and then sometimes not. A 500 error with nothing in the log means that the program was stopped because it used up memory or time.

    Keith

  8. mnr
    Member
    Posted 1 year ago #

    My wordpress memory usage is currently 62.99M and even when I increase the php limit to close to 300M the 500 error still happens. Unless I disable the nextgen plugin, in that case optimizer runs but the black rhs appears again..
    I'll have to call it a day on this one for now...

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic