WordPress.org

Ready to get started?Download WordPress

Forums

CataBlog
[resolved] Can't save Options after changing thumbnail size. (12 posts)

  1. smcpheron
    Member
    Posted 2 years ago #

    I can’t change thumbnail sizes in options. The save button becomes disabled as soon as I make any changes to the default 100 number. Nothing appears to be wrong with any of the other options. I did a multiple image upload originally and everything else works normally. WordPress 3.4.1 using Weaver II Pro
    Server Statistics
    CataBlog Version: 1.6.3
    MySQL Version: 5.1.53-log
    PHP Version: 5.2.17
    GD Version: bundled (2.0.34 compatible)
    PHP Memory Usage: 28.5 MB
    PHP Memory Limit: 256 MB
    Max Uploaded File Size: 7M
    Max Post size: 8M
    Thumbnail Disc Usage: 0.07 MB
    Full Size Disc Usage: 0 MB
    Original Upload Disc Usage: 0.27 MB
    Total Disc Usage: 0.34 MB

    http://wordpress.org/extend/plugins/catablog/

  2. macguru2000
    Member
    Plugin Author

    Posted 2 years ago #

    This is probably a Javascript error, can you open up a Javascript console using Firebug or Chrome Developer Tools? If so, would you please send me any error or bugs that are reported when you change the thumbnail size. I have had others report similar incidents and still cannot reproduce this bug myself, so its really hard to diagnose.

  3. smcpheron
    Member
    Posted 2 years ago #

    I found the problem. The maintenance mode plugin was causing a conflict. http://wordpress.org/extend/plugins/maintenance-mode/

    That plugin has not been updated in a while.

  4. smcpheron
    Member
    Posted 2 years ago #

    I found this simple alternative to adding a maintenance plugin. Add this to functions.php of your child theme.

    function maintenace_mode() {
          if ( !current_user_can( 'edit_themes' ) || !is_user_logged_in() ) {wp_die('Sorry, We are performing routine Maintenance. We will be back up shortly.');}
    }
    add_action('get_header', 'maintenace_mode');
  5. Bites of design
    Member
    Posted 1 year ago #

    Thank you so much for sharing this info! I have exactly the same problem.

  6. thriftdiving
    Member
    Posted 1 year ago #

    I am having the same problem. Whenever I try to change the thumbnail dimensions, I get the same greying out of the "Save" button. Any other fix other than having to add some coding? Thanks!

  7. mbrsolution
    Member
    Posted 1 year ago #

    Hello @thriftdiving, are you also using maintenance mode plugin? If you are then the only solution is what is mentioned above. Maintenance mode plugin has not been updated for a while. You should remove the plugin and find an alternative which is up to date.

    Also this support thread is marked as resolved. Could you start a new support thread if you are experiencing any problem.

    Kind regards

  8. talymo
    Member
    Posted 1 year ago #

    In no way shape or form is this issue resolved. I'm experiencing the same issue. The button has disabled="disabled" and a class of disabled on it after I change the values in the input boxes.

  9. mbrsolution
    Member
    Posted 1 year ago #

    Hi talymo, this support thread is marked as resolved. Please start a new support thread so that others can assist you quicker.

    Kind regards

  10. talymo
    Member
    Posted 1 year ago #

    It's ok. I just went into the code and fixed it myself.

    For anyone else having this problem, go into the CataBlog.class.php
    find this bit of code...

    // catalog item images
    		$values['main-image']      = '<img src="'.$values['image-thumbnails'].'" alt="" />';

    change image-thumbnails to image-lightbox. That will give you access to the fullsize images bypassing the forced image resizer.

    Now, you can size the image any which way you please on the front end.

    ;)

  11. mbrsolution
    Member
    Posted 1 year ago #

    Hello talymo, that is good news. What version of WordPress are you running?

    Kind regards

  12. mbrsolution
    Member
    Posted 1 year ago #

    Hello talymo, I did some more testing and to tell you the truth I am certain your changes are not correct. I just did some testing on my test site running WordPress 3.6 beta 3 and the latest version of the plugin and it works extremely well without making the changes you suggested above. I also think that, that change might cause another conflict in the future.

    I suspect in your circumstances that it is another plugin that is not compatible with CataBlog and causing the button to grey out and or disabled.

    Kind regards

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.