WordPress.org

Support

Support » Plugins and Hacks » Stray Random Quotes » [Plugin: Stray Random Quotes] Bug: Ajax Refresh Issue if wp-config.php Moved

[Plugin: Stray Random Quotes] Bug: Ajax Refresh Issue if wp-config.php Moved

  • Hi,

    For about a year I’ve never been able to get the Ajax refreshing working. The original quote would disappear and never be replaced by anything else. Or, a long string of error messages would appear.

    I finally dissected the error messages and realized the problem: The plugin’s Ajax functions are broken if the wp-config.php file is not in the WordPress directory. Of course, WordPress allows this file to be moved up one directory for security purposes. But that breaks the plugin somewhat.

    As a test, I moved the file back down to its original place and…voila! Everything worked as expected. But I want to keep that extra (but small) level of security. Is there anything I can do to tweak the plugin and get around this issue?

    Thanks,

    Mark

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hmm, I am still seeing problems on sub-sites under multisite. Things work fine on the main site, but there are still Ajax issues (click quote and it disappears but no no quote appears) in sub-sites.

    HTH.

    Mark

    Any word on this topic? I have installed this and it is not refreshing. AJAX problem?

    Same problem. There’s gotta be a solution.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Stray Random Quotes] Bug: Ajax Refresh Issue if wp-config.php Moved’ is closed to new replies.
Skip to toolbar