Forum Replies Created

Viewing 15 replies - 31 through 45 (of 49 total)
  • Thread Starter oldcode

    (@coconutcoder)

    This fixed it for me. In the database, I performed this query:

    SELECT * FROMwp_postmetaWHERE meta_key LIKE ‘_sku’

    At 30 records per page, and 6 pages, on page 6 I found duplicates of the sku #s that were giving errors. In phpMyAdmin I deleted those records, and suddenly I was able to use the correct sku #s on variable products with no errors.

    I attribute the solution to this question url

    oldcode

    (@coconutcoder)

    This fixed it for me. In the database, I performed this query:

    SELECT * FROM wp_postmeta WHERE meta_key LIKE ‘_sku’

    At 30 records per page, and 6 pages, on page 6 I found duplicates of the sku #s that were giving errors. In phpMyAdmin I deleted those records, and suddenly I was able to use the correct sku #s on variable products with no errors.

    I attribute the solution to this question url

    oldcode

    (@coconutcoder)

    Yeah, getting that error. I just added a trailing underscore to the sku numbers to make them different, and they took. I don’t think this is satisfactory, however, because I’m just the web programmer, and I don’t know how I’m going to ask the inventory department to change sku numbers to make the buggy web plugin work.

    oldcode

    (@coconutcoder)

    Ever get a solution to this?

    Thread Starter oldcode

    (@coconutcoder)

    I updated WordPress, and updated the plugins, and now they work. Thank you for your assistance.

    Thread Starter oldcode

    (@coconutcoder)

    WooCommerce Composite Products Version 2.2.0

    WordPress 4.4.2

    jQuery jquery-2.2.3.js (just upgraded from 1.12.3, but it didn’t work with 1.12.3, either).

    Thread Starter oldcode

    (@coconutcoder)

    Your response really made my day. It works, and now I am able to understand some of the other option details that have helped me to make it look the way I am expecting it to look. Thank you, Sir.

    Resolved.

    Thread Starter oldcode

    (@coconutcoder)

    Thread Starter oldcode

    (@coconutcoder)

    My original problem remains unsolved, that the membership-registration form doesn’t seem to do anything upon submission. It submits to itself (action=””). Nobody gets any notifications, there’s no message saying, “Your registration has been submitted,” or, “Your registration is pending.” Nobody gets any emails saying “John Smith just registered.” Nothing happens.

    I think the time spent playing with this plugin has reached the point of too much work with no payoff. Plugins should just work. This one doesn’t seem to really do anything except make a few tables, and make a few pages and forms that don’t really do anything.

    Thread Starter oldcode

    (@coconutcoder)

    I uninstalled the plugin. I deleted the swpm tables. I reinstalled the plugin (an updated version as of this morning).

    Everything is now at the default, with the exception that I created one free level called Dealer (set to value = 1).

    Now when you click “Join Us” from the login page, it takes you to the Join Us page.

    But the JOIN NOW button doesn’t click, doesn’t do anything. What’s wrong with this?

    Login Page URL : http://tecinfrared.com/membership-login/
    Registration Page URL : http://tecinfrared.com/membership-join/membership-registration/
    Join Us Page URL : http://tecinfrared.com/membership-join/
    Edit Profile Page URL : http://tecinfrared.com/membership-login/membership-profile/
    Password Reset Page URL : http://tecinfrared.com/membership-login/password-reset/

    Enable Debug checked
    Enable Sandbox Testing checked

    Thread Starter oldcode

    (@coconutcoder)

    Sure,

    In login.php, the original code looks like this:
    <a id="register" class="swpm-login-form-register-link" href="<?php echo $join_url; ?>"><?php echo SwpmUtils::_('Join Us') ?></a>

    I change it to this:
    <a id="register" class="swpm-login-form-register-link" href="http://tecinfrared.com/membership-join/membership-registration/">Register</a>

    So now when you click the “Register” link, it takes you directly to the Registration page, rather than taking you to the Join Us page.

    Thread Starter oldcode

    (@coconutcoder)

    Hi, and thank you for responding.

    I’m trying to register from this link: http://tecinfrared.com/membership-join/membership-registration/

    I hard coded this page from the “Register” link from the login page (http://tecinfrared.com/membership-login/) because I want to only have one free level at present, and I don’t want the intermediate “level options” page.

    I’m not using the Form Builder add on, since the basic register form seems sufficient.

    I have debug turned on.

    The log.txt is empty for some reason.

    Not sure if the log_auth.txt is important to my problem, but it looks like this:
    [09/29/2015 3:56 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 6:56 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 6:58 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 6:59 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 7:00 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 7:08 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 7:08 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 7:09 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 7:10 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 7:11 PM] – SUCCESS :Authenticate request – Username: webmaster
    [09/29/2015 7:21 PM] – SUCCESS :login
    [09/29/2015 7:21 PM] – SUCCESS :Authenticate request – Username: admin
    [09/30/2015 12:20 AM] – SUCCESS :login
    [09/30/2015 12:20 AM] – SUCCESS :Authenticate request – Username: admin
    [09/30/2015 12:07 PM] – SUCCESS :login
    [09/30/2015 12:07 PM] – SUCCESS :Authenticate request – Username: virginia
    [09/30/2015 1:36 PM] – SUCCESS :login
    [09/30/2015 1:36 PM] – SUCCESS :Authenticate request – Username: admin
    [09/30/2015 3:39 PM] – SUCCESS :login
    [09/30/2015 3:39 PM] – SUCCESS :Authenticate request – Username: admin

    Thread Starter oldcode

    (@coconutcoder)

    I corrected the main styling problem, but I am still interested in styling the pages. I thought there might be some kind of best practice for this, or maybe selecting a theme like you can do in store locator plus, but it looks like a matter of customizing the swpm.common.css.

    Thread Starter oldcode

    (@coconutcoder)

    I solved this problem. This is how I did it.

    First of all, I realize that the Store Locator Plus Janitor 4.0.01 is supposed to take care of some of the housekeeping I had to do, but the plugin just did not work on our system. There is no console, control, panel, button, just no way of accessing the Janitor fucntions.

    But I realized of the dozen things I tried to fix the problem of SLP not being able to create a db table, or after I manually created the table, and even when I managed to get SLP to insert new records, either through add or import, the location manager would still not display the locations for editing, with the resulting message of “No locations have been created yet.” – the last thing I thought of was that there must be remnants of previous installs in the database.

    In the Janitor product page description I read that it cleaned out entries in the wp_options table. So, I wrote a couple of queries that searched for slp related entries in the wp_options table:

    SELECT * FROM wp_options WHERE (option_name LIKE ‘sl_%’)

    SELECT * FROM wp_options WHERE (option_name LIKE ‘%slp%’)

    SELECT * FROM wp_options WHERE (option_name LIKE ‘slplus%’)

    SELECT * FROM wp_options WHERE (option_value LIKE ‘slplus%’)

    etc., and I found these records:

    Array
    (
    [option_id] => 852931
    [option_name] => slp-import-messages
    [option_value] => “(long string of values)”
    Array
    (
    [option_id] => 855055
    [option_name] => slplus-extendo-contacts-options
    [option_value] => a:1:{s:17:”installed_version”;s:6:”4.2.02″;}
    [autoload] => yes
    )
    Array
    (
    [option_id] => 752
    [option_name] => slurp_page_installed
    [option_value] => 1
    [autoload] => yes
    )
    Array
    (
    [option_id] => 852916
    [option_name] => sl_google_map_country
    [option_value] => United States
    [autoload] => yes
    )
    Array
    (
    [option_id] => 855459
    [option_name] => sl_instruction_message
    [option_value] => Enter an address or zip code and click the find locations button.
    [autoload] => yes
    )
    Array
    (
    [option_id] => 852915
    [option_name] => sl_location_table_view
    [option_value] => Normal
    [autoload] => yes
    )
    Array
    (
    [option_id] => 855458
    [option_name] => sl_map_radii
    [option_value] => 10,25,50,100,(200),500
    [autoload] => yes
    )
    Array
    (
    [option_id] => 855461
    [option_name] => sl_radius_label
    [option_value] => Within
    [autoload] => yes
    )
    Array
    (
    [option_id] => 855462
    [option_name] => sl_search_label
    [option_value] => Address / Zip
    [autoload] => yes
    )
    Array
    (
    [option_id] => 852913
    [option_name] => sl_use_name_search
    [option_value] => 0
    [autoload] => yes
    )
    Array
    (
    [option_id] => 855463
    [option_name] => sl_website_label
    [option_value] => Website
    [autoload] => yes
    )
    Array
    (
    [option_id] => 855460
    [option_name] => sl_zoom_level
    [option_value] => 4
    [autoload] => yes
    )
    Array
    (
    [option_id] => 852914
    [option_name] => sl_zoom_tweak
    [option_value] => 1
    [autoload] => yes
    )

    There were also records with option_name values starting with a <code class=”plain plain”>csl-slplus- prefix.
    I nuked all of these from the database (except for the one named ‘slurp’ — had to visually inspect each record to make sure it didn’t belong to some other plugin).

    I killed the wp_store_locator table.

    I deactivated and all plugins, including the main Store Locator Plus plugin.

    I re-installed using store-locator-le.4.2.67.zip

    The first record I added manually, and it displayed in the location manager (meaning SLP auto-created the wp_store_locator table).

    I installed the SLP Pro module.

    I used the import function to import the entire CSV, which promptly inserted, and then displayed all the new store records.

    This problem solved. By the way, the SLP Janitor still doesn’t do anything on our site, even after all else seems tto have returned to normal.

    I downloaded the latest iteration of the WP-CRM plugin and on line 886 of wp-crm/lib/class_contact_message.php, which is within the if( result.success == “true” ) { condition of the success: event of a very straightforward jQuery.ajax call, I added this setTimeout:

    setTimeout(function(){ window.location = “/support/”; },”3000″);

    3 seconds is enough time to display the “Your message has been sent. Thank you.” response message, and then redirect the user back to the support page.

Viewing 15 replies - 31 through 45 (of 49 total)