• Resolved calisun

    (@calisun)


    I have latest version of your plugin (1.2.8), running on WordPress (4.8.2)
    When I got to Options and API tab, I click on “Enable External API” and “Generate new API Key” and “Save Options”
    But when I get out of that tab and go back in, “Enable External API” and “Generate new API Key” fields are empty.
    I have tried several things:
    Disabled/ enabled plugin. I have removed and re-install plugin.
    I have enabled plugin in the site and network enabled.
    Nothing made a difference, looks like the APT options don’t get saved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter calisun

    (@calisun)

    Any suggestions?

    Plugin Author ice00

    (@ice00)

    hi,

    did the other options in other tabs get saved or not?

    Thread Starter calisun

    (@calisun)

    Hi ice00, thank you for your reply.
    I just checked and it looks like it is not saving anything,

    To Test,

    In Options -> Details Menu -> Top Days, I changed 5 to 7, and saved. after returning to this location, it was back to 5.

    I also did, Options -> Visits Menu -> Number if IP per page, I changed 20 to 50, but it did not stick also.

    Plugin Author ice00

    (@ice00)

    Hi,

    Could you add this two lines inside newstatpress.php, just after the initial block of comments (the one inside /** */)

    error_reporting(E_ALL);
    ini_set('display_errors', 1);

    then try to change an option and see if you get some errors on screen (after that remove the code).

    Thanks

    Thread Starter calisun

    (@calisun)

    I have added code as suggested:

    Author URI: https://newstatpress.altervista.org
    ************************************************************/
    
    error_reporting(E_ALL);
    ini_set('display_errors', 1);
                       
    // Make sure plugin remains secure if called directly

    nothing shows up on the screen.

    • This reply was modified 7 years, 4 months ago by calisun.
    • This reply was modified 7 years, 4 months ago by calisun.
    Thread Starter calisun

    (@calisun)

    After installing your latest version (1.2.9) it started saving

    Plugin Author ice00

    (@ice00)

    Good.
    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘API option not saving’ is closed to new replies.