WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Now Reading Reloaded] Save options in admin lead to a blank page (27 posts)

  1. Truth
    Member
    Posted 5 years ago #

    The only thing that doesn't work for me now is that whenever I tried to save options, it lead to a blank page

    http://domain.com/wordpress/wp-content/plugins/now-reading-reloaded/admin/options.php

    Any idea how to fix this?

    I'm using the latest 5.0.3.2.

    Thanks.

  2. bgunnink
    Member
    Posted 5 years ago #

    Truth,

    Do the options save despite the blank screen?

    If so, can you enable debug mode to get any additional information?

  3. Truth
    Member
    Posted 5 years ago #

    The options do not save at all, so I can't enable debug mode.

  4. Truth
    Member
    Posted 5 years ago #

    After upgrading to the latest version, I am not able to save changes to the options page so basically this plugin isn't working now.

    I have this error:

    Fatal error: Cannot use object of type WPlize as array in .../wordpress/wp-content/plugins/now-reading-reloaded/admin/options.php on line 19

    Any advice? Thanks.

  5. bgunnink
    Member
    Posted 5 years ago #

    Can you give me any information about your hosting platform? Web server, PHP version, etc etc?

  6. Truth
    Member
    Posted 5 years ago #

    Operating System : Linux
    Server : Apache/2.0.63 (Unix)
    PHP Version : 5.2.8
    MYSQL Version : 5.0.81-community

    Running latest version of WP and plugin.

    Let me know if there's any other information you need. Thanks :)

  7. Truth
    Member
    Posted 5 years ago #

    Any updates about this issue? :)

    Thanks!

  8. bgunnink
    Member
    Posted 5 years ago #

    I'm stumped. Without access to the malfunctioning site and/or more detailed diagnostic information, everything would be a shot in the dark.

  9. Truth
    Member
    Posted 5 years ago #

    Is it possible to do a reinstall?

    I tried deactivating, reuploaded the files but it didn't make any changes. There still this error

    Fatal error: Cannot use object of type WPlize as array in .../wordpress/wp-content/plugins/now-reading-reloaded/admin/options.php on line 19

    Is there a way I can hardcode the 2 required amazon keys into the plugin file or via other ways so that I can add books and continue using this plugin? Only the save options ain't working, all the rest are working fine. :(

  10. mixedbredie
    Member
    Posted 5 years ago #

    I get the same error:
    Fatal error: Cannot use object of type WPlize as array in .../words/wp-content/plugins/now-reading-reloaded/admin/options.php on line 19
    when I try to enter my amazon keys.
    I do have the debug option checked but does it give any more information than the error above? Not sure where it is output.

    On this page the books still show in the sidebar but not on the main page.

  11. mixedbredie
    Member
    Posted 5 years ago #

    Further to the problem with NRR 5.1.0.0 in my previous post, I checked the apache2 error logs and noticed that I was getting duplicate key errors for the tables referencing NRR.

    WordPress database error Duplicate key name 'permalink' for query ALTER TABLE wp_now_reading ADD INDEX permalink (b_nice_author, b_nice_title) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta, referer: http://words.mixedbredie.net/wp-admin/plugins.php?plugin_status=recent
    WordPress database error Duplicate key name 'title' for query ALTER TABLE wp_now_reading ADD INDEX title (b_title) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta, referer: http://words.mixedbredie.net/wp-admin/plugins.php?plugin_status=recent
    WordPress database error Duplicate key name 'author' for query ALTER TABLE wp_now_reading ADD INDEX author (b_author) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta, referer: http://words.mixedbredie.net/wp-admin/plugins.php?plugin_status=recent
    WordPress database error Duplicate key name 'book' for query ALTER TABLE wp_now_reading_books2tags ADD INDEX book (book_id) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta, referer: http://words.mixedbredie.net/wp-admin/plugins.php?plugin_status=recent
    WordPress database error Duplicate key name 'm_key' for query ALTER TABLE wp_now_reading_meta ADD INDEX m_key (m_key) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta, referer: http://words.mixedbredie.net/wp-admin/plugins.php?plugin_status=recent
    WordPress database error Duplicate key name 't_name' for query ALTER TABLE wp_now_reading_tags ADD INDEX t_name (t_name) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta, referer: http://words.mixedbredie.net/wp-admin/plugins.php?plugin_status=recent

    Now, I don't know if that is a problem with just my database or something that the plugin upgrade has caused but hopefully someone will be able to tell me.

  12. Truth
    Member
    Posted 5 years ago #

    Updated to the latest version and the problem persist.

  13. mixedbredie
    Member
    Posted 4 years ago #

    Just updated to latest version 5.1.1.0 and, like Truth, I see the problem is still there:

    Fatal error: Cannot use object of type WPlize as array in /../../../wp-content/plugins/now-reading-reloaded/admin/options.php on line 19

    Line 19 in options.php is the line for the Amazon Web Services key. Anyone else having this problem? Any solutions?

  14. Truth
    Member
    Posted 4 years ago #

    Uhm so any updates?

    Thanks!

  15. bgunnink
    Member
    Posted 4 years ago #

    Truth,

    Short of getting into your servers myself, I can't troubleshoot this problem.

    At some point, perhaps this fall, I'll be attempting a massive cleanup of the plugin to better integrate with WP's plugin API, so that might fix the issue.

    Unfortunately, I can't give a timeline at this point.

  16. Truth
    Member
    Posted 4 years ago #

    Okay huh. I think it wasn't a plugin issue nor a server issue. I installed it on another rather new WP installation on the same domain same server. It was working fine. I think it was due to the upgrade from the old version from Now reading to Now reading reloaded that caused this issue. Can you teach me how to do a complete fresh installation for this plugin? Like how do I delete the old data etc and reinstalled it?

    Thanks! :)

  17. Truth
    Member
    Posted 4 years ago #

    I tried deleting the plugins file and the 4 wp tables relating to this plugin. But the un-installation wasn't complete though. When I reupload the file, the options page still has my old settings. How do I reset everything to default? Please advise. Thanks!

  18. bgunnink
    Member
    Posted 4 years ago #

    Truth,

    Now Reading [Reloaded] makes three entries in the wp_options table. Look for

    • nowReadingOptions
    • nowReadingVersions
    • nowReadingWidget (possibly)
  19. Truth
    Member
    Posted 4 years ago #

    Uhm sorry but how do I go about deleting those entries using phpmyadmin?

    very new to this. Tks.

  20. Truth
    Member
    Posted 4 years ago #

    Okay I deleted away those entries and did a fresh installation. It still doesn't work. :(

  21. bgunnink
    Member
    Posted 4 years ago #

    Truth,

    If you're truly doing a fresh installation, it's possibly a conflict with other plugins.

  22. Truth
    Member
    Posted 4 years ago #

    I found the conflicting plugin. It's the WP Slim Box 2.

    http://transientmonkey.com/wp-slimbox2

    Hmmm, should I be contacting the author of that plugin or...?

    Please advise. Thanks :)

  23. Truth
    Member
    Posted 4 years ago #

    Okay I avoid the problem first by deactivating the Slim Box 2. Update all the options for Now Reading Reloaded. Activate Slim Box 2 again. It works so far. But while Slim Box 2 is activated, option page for NRR cannot be updated.

  24. Truth
    Member
    Posted 4 years ago #

    Uhm, by the way, I notice something weird

    7 books overall; 7 books read in the last year; 7 books read in the last month. That's an average of 217 books each month.

    http://amourchaleur.com/spirit/library/

  25. bgunnink
    Member
    Posted 4 years ago #

    For whatever reason, the WPlize class in Slimbox2 breaks Now Reading Reloaded. I think the Slimbox2 plugin is trampling over a particular variable name and NRR doesn't like it.

    This may very well be a non-issue come 6.0, but for the time being, may I suggest a different lightbox plugin? I like Shadowbox and Colorbox, personally.

    Re: average. I don't see that line on your blog anymore, and can't reproduce it elsewhere.....

  26. Truth
    Member
    Posted 4 years ago #

    Oh I see. I really like Slimbox 2 because it's a lot faster. The trick now is to:

    - Disable Slimbox 2
    - Make any changes to options for NRR, options will saved successfully
    - Enable Slimbox 2 again

    There will be no errors other than the fact that the options cannot be updated. Anyway, I remove the average line in my template because it looks funny. Anyway, might be due to the conflicting plugins causing the weird average count of the books. When the WPlize issue is fixed, maybe that average issue will be fix as well.

    For now, I shall continue to use both plugins together (w/o the average stats). Thanks so much for the support help rendered. I look forward to version 6.0 then. Thanks! ;)

  27. devildv
    Member
    Posted 4 years ago #

    I am having this same issue, only I am not running Slimbox 2 or anything of the sort - in fact, all of my plugins are disabled at the moment. I cannot save the options page - including all of my Amazon information - because when I hit "save options" it takes me to a blank page with "500 Server Error".

    Operating System : Linux
    Server : Apache 2.2.14
    PHP Version : 5.2.11
    MYSQL Version : 5.1.44-log

    Any ideas? Mixed Bredie, did you ever resolve your issue? My apache error logs look a lot like yours:
    [15-Mar-2010 01:42:20] WordPress database error Duplicate key name 'permalink' for query ALTER TABLE wp_now_reading ADD INDEX permalink (b_nice_author, b_nice_title) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta [15-Mar-2010 01:42:20] WordPress database error Duplicate key name 'title' for query ALTER TABLE wp_now_reading ADD INDEX title (b_title) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta [15-Mar-2010 01:42:20] WordPress database error Duplicate key name 'author' for query ALTER TABLE wp_now_reading ADD INDEX author (b_author) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta [15-Mar-2010 01:42:20] WordPress database error Duplicate key name 'book' for query ALTER TABLE wp_now_reading_books2tags ADD INDEX book (book_id) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta [15-Mar-2010 01:42:20] WordPress database error Duplicate key name 'm_key' for query ALTER TABLE wp_now_reading_meta ADD INDEX m_key (m_key) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta [15-Mar-2010 01:42:20] WordPress database error Duplicate key name 't_name' for query ALTER TABLE wp_now_reading_tags ADD INDEX t_name (t_name) made by activate_plugin, do_action, call_user_func_array, nr_install, dbDelta

Topic Closed

This topic has been closed to new replies.

About this Topic