Title: 1db's Replies | WordPress.org

---

# 1db

  [  ](https://wordpress.org/support/users/1db/)

 *   [Profile](https://wordpress.org/support/users/1db/)
 *   [Topics Started](https://wordpress.org/support/users/1db/topics/)
 *   [Replies Created](https://wordpress.org/support/users/1db/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/1db/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/1db/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/1db/engagements/)
 *   [Favorites](https://wordpress.org/support/users/1db/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/1db/replies/page/2/?output_format=md) 
[→](https://wordpress.org/support/users/1db/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Home page uses wrong theme](https://wordpress.org/support/topic/home-page-uses-wrong-theme/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [3 years, 9 months ago](https://wordpress.org/support/topic/home-page-uses-wrong-theme/#post-16131887)
 * George —
 * Thanks, that was indeed the problem. This is the first site I’ve ever built that
   was hosted on Siteground, and this is the most aggressive caching I’ve ever seen.
   They cached the site before I even began building it!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] “Build Index” does nothing at all](https://wordpress.org/support/topic/build-index-does-nothing-at-all/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/build-index-does-nothing-at-all/page/2/#post-12627315)
 * That’s what I was thinking, too. And I’ve had problems with them in the past,
   and had to request settings be changed.
 * The irony is, this particular client just fired me — not over this issue, over
   something else — so now I don’t have to worry about this.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] “Build Index” does nothing at all](https://wordpress.org/support/topic/build-index-does-nothing-at-all/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/build-index-does-nothing-at-all/page/2/#post-12622760)
 * This is, as near as I can tell, from yesterday morning’s attempt to build the
   index, just before I deleted and reinstalled Relevanssi 4.2.0. I’m not sure if
   any of this is actually sensitive data, so I’ve obfuscated some of it:
 * 2020-04-02 05:41:25.809791 [INFO] [905904] [ my IP address ] File not found [/
   home/path/to/wordpress/wp-admin/admin-ajax.php]
 * This doesn’t tell _me_ much…I hope it’s useful to you.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] “Build Index” does nothing at all](https://wordpress.org/support/topic/build-index-does-nothing-at-all/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/build-index-does-nothing-at-all/#post-12622487)
 * I checked the error log, but I’m not anything like an expert in interpreting 
   this. There were plentiful errors associated with admin-ajax.php, and every one
   of them says “File not found.” The file, of course, is there, and has been all
   along, so I have no idea why the server couldn’t find it.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] “Build Index” does nothing at all](https://wordpress.org/support/topic/build-index-does-nothing-at-all/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/build-index-does-nothing-at-all/#post-12616943)
 * Okay, an update: after performing the above test, I once again deleted Relevanssi
   and reinstalled it, version 4.2.0. I activated it, saved the settings I needed,
   and successfully built the index in 2 seconds. Four requests to admin-ajax.php,
   all of them OK.
 * One very strange thing, however: on the plugins page, there is no indication 
   that there is a newer version of Relevanssi, no update prompt at all.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] “Build Index” does nothing at all](https://wordpress.org/support/topic/build-index-does-nothing-at-all/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/build-index-does-nothing-at-all/#post-12616849)
 * Request to admin-ajax.php results in a “500 Internal Server Error,” and the timer
   just counts up forever while stuck on “Wiping out the index…”
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] “Build Index” does nothing at all](https://wordpress.org/support/topic/build-index-does-nothing-at-all/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/build-index-does-nothing-at-all/#post-12611382)
 * No, and one of the first things I tried was a very bare-bones functions.php that
   had nothing in it but support for menus. Besides, I also switched to other themes,
   and the problem never went away.
 * Could this be related to PHP version, or some setting on the server?
 * (BTW: just updated to 5.4, and that didn’t help. But it sure took a long time.)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] “Build Index” does nothing at all](https://wordpress.org/support/topic/build-index-does-nothing-at-all/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/build-index-does-nothing-at-all/#post-12609174)
 * I was able to get the plugin working by deleting it and installing 4.2.0. Then
   I updated it to make sure, the update wouldn’t work, and I rolled it back again.
   But now it won’t complete the index, so I’m wondering if the real problem might
   be my hosting service, since it was slow and flaky all day long.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Relevanssi - A Better Search] “Build Index” does nothing at all](https://wordpress.org/support/topic/build-index-does-nothing-at-all/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/build-index-does-nothing-at-all/#post-12606361)
 * The database does have Relevanssi tables. I didn’t see any error messages in 
   the console.
 * It gets stranger. I use custom fields (ACF) almost exclusively, and I have the
   custom fields setting at “Visible.” This is what I usually do. Still, clicking“
   Build Index” does nothing, and “State of the Index” says “0 documents.”
 * I went to one of the pages and duplicated the content of a WYSIWYG field in the
   main edit box (wp_content), saved the page, and checked Relevanssi. Now it says,“
   1 document.” But it also still shows the alert at the top of the page, “You do
   not have an index!”
 * I went to another page, and once again entered some text in the main edit box,
   saved, and checked Relevanssi. “2 documents.” But the alert is still there, and
   clicking the “Build Index” button still does nothing…at least, that I can tell.
 * (BTW, I also deregistered JQuery and loaded 3.1.1 through the header. It was 
   loading 1.12.4, and I’ve had problems before with that version. Changing versions
   accomplished nothing.)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [How to get login for private pages?](https://wordpress.org/support/topic/how-to-get-login-for-private-pages/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/how-to-get-login-for-private-pages/#post-12392756)
 * Nope. Thanks, but that was the first thing I tried. Just tried it again anyway,
   and no joy.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Can save store on one computer, not on another](https://wordpress.org/support/topic/can-save-store-on-one-computer-not-on-another/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/can-save-store-on-one-computer-not-on-another/#post-11335375)
 * I added your code and asked the client to try again. It failed again, but this
   time it gave details of the referrer, including the key. But the key doesn’t 
   match either the browser or the server key that’s saved in the plugin settings.
 * I later tried to publish the dummy listing, and this time it failed for me too.
 * BTW: the site is running 4.4.1. It’s hard to get clients to keep core and plugins
   updated, and there’s no maintenance contract in place.
    -  This reply was modified 7 years, 4 months ago by [1db](https://wordpress.org/support/users/1db/).
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Store Locator] Can save store on one computer, not on another](https://wordpress.org/support/topic/can-save-store-on-one-computer-not-on-another/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/can-save-store-on-one-computer-not-on-another/#post-11330648)
 * Tijmen —
 * Sorry it’s taken me so long to get back to you, but I had to make sure what was
   actually happening.
 * The API key is set to work with a range of IP addresses, and the plugin continues
   to work correctly for me but not for my client. No matter what IP is set as the
   referrer, he’s unable to publish a store; but once he notifies me of this, I 
   log in and click “Publish,” and it adds the store without any difficulties. The
   problem isn’t the browser used (probably), since he’s had failures in both Chrome
   and Firefox (I use Firefox). The only real difference that I can see is different
   ISPs.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [the_time returning only one date](https://wordpress.org/support/topic/the_time-returning-only-one-date/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/the_time-returning-only-one-date/#post-10672254)
 * If I simply move `<?php while (have_posts() ) : the_post(); ?>` above the category/
   month if statements, then the headline will print above each post in the archive
   list. How is it possible to make this work?
 * Edit: use rewind_posts. Thanks, Michael, I’ve got it working now.
    -  This reply was modified 7 years, 11 months ago by [1db](https://wordpress.org/support/users/1db/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [the_time returning only one date](https://wordpress.org/support/topic/the_time-returning-only-one-date/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/the_time-returning-only-one-date/#post-10666712)
 * No, it didn’t. The month is still November, the year is still -0001.
 * Let me give a bit more info. Here is a larger snippet of that page:
 *     ```
       <?php if (have_posts() ) : ?>
   
               <?php if (is_category() ) { ?>
                 <h3 class="categoryHead"><?php single_cat_title(); ?></h3>
               <?php } elseif (is_month() ) { ?>
                 <h3 class="categoryHead"><span>Browsing posts from</span> <?php the_time('F, Y'); ?></h3>
               <?php } ?>
   
               <?php while (have_posts() ) : the_post(); ?>
   
                 <div <?php post_class() ?> id="post-<?php the_ID(); ?>">
                   <div class="meta">
                     <p><?php the_time('F j, Y') ?> | Posted in <span><?php the_category(', ') ?></p>
                   </div>
       ```
   
 * Notice that the_time is used twice. One works (the one in div.meta), and one 
   does not. They’re both inside the loop. What gives?
    -  This reply was modified 7 years, 11 months ago by [1db](https://wordpress.org/support/users/1db/).
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [the_time returning only one date](https://wordpress.org/support/topic/the_time-returning-only-one-date/)
 *  Thread Starter [1db](https://wordpress.org/support/users/1db/)
 * (@1db)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/the_time-returning-only-one-date/#post-10665370)
 * Nope, that killed the page.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/users/1db/replies/page/2/?output_format=md) 
[→](https://wordpress.org/support/users/1db/replies/page/2/?output_format=md)