• Resolved petecogle

    (@petecogle)


    I’ve just purchased and installed Categorizer.

    I’ve chosen Day of the Week as Category with individual days of the week as sub-categories.

    I’m implemented the [SL-CATEGORY-SEARCH-FORM] at http://swoovefitness.com/test.

    Using the test data
    Day Of Week
    Monday
    RH16 2NJ
    Haywards Heath
    Within 50 Miles

    This geocodes the location on the store finder page (http://swoovefitness.com/find-a-class/) as the address:
    RH16 2NJ, Haywards Heath Monday

    This doesn’t geocode at all.

    I know that putting in a city, or having the Auto-Locate User running it geocodes perfectly.

    What am I doing wrong? I can’t find any decent documentation on this at all.

    Pete Cogle

    https://wordpress.org/plugins/store-locator/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Viadat

    (@viadat)

    1) First go to:
    WP Admin > Store Locator > MapDesigner > “Defaults” section > “JS & CSS Loading” option

    … set it to “All Pages”.

    2) Then, it appears your site is showing “403 Forbidden” when trying to load Categorizer’s JavaScript and CSS stylesheet — please make sure that your site isn’t blocking the /sl-uploads/addons/ path or directory, which possibly can happen with a over-restrictive .htaccess, robots.txt, or security plugin setting

    Thread Starter petecogle

    (@petecogle)

    I have set the “All Pages” as requested.

    I don’t have a robots.txt file implemented. I don’t have a security plugin loaded and my .htaccess file looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    I get the same result. No geocoding. Please help further.

    Thread Starter petecogle

    (@petecogle)

    OK, I’ve got this working. Trial and Error.

    It geocodes when the Category Filtering boxes are left unchecked.

    It does not geocode when the Category Filtering boxes (Show Category Checkbox Filters) are checked.

    I don’t know why this is. Is it a bug?

    Plugin Author Viadat

    (@viadat)

    Ok, sounds good. Upon activation, your Categorizer addon should have …

    1. Automatically created a “{WP prefix}sl_category” table
    2. Automatically added a “sl_category” field to the “{WP prefix}store_locator” table. If it didn’t …

    Contact us on our website — will provide you the SQL queries to create them depending on if your database is currently missing one or both of them — you can reference this post. Seems that some websites’ database user account don’t have CREATE and/or ALTER database permissions, which is needed for these to be created automatically

    Thread Starter petecogle

    (@petecogle)

    Hi

    The wp_sl_category table and sl_category field in the wp_store-locator are both there.

    Both seem to be populated with the correct data.

    Pete

    Plugin Author Viadat

    (@viadat)

    1) Turn on Firebox Firebug or Google Chrome Developer Tools and view the “Console” tab when trying to search (with whichever options you mention aren’t working turned on)

    2) It should show you more clues / error messages (and you still currently have 403 Forbidden restrictions blocking your Categorizer scripts on your website as well)

    Thread Starter petecogle

    (@petecogle)

    I have fixed the issue with the 403 on the categorizer script and this appears to be fixed now.

    Plugin Author Viadat

    (@viadat)

    Great .. looks / sounds good

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cannot get categorizer working’ is closed to new replies.