Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter eschmidt99

    (@eschmidt99)

    Hello Barry,

    Basically, it doesn’t really ‘stop’ as that would imply that a change occurs after it has started. No change occurs, it just simply continues to show that it has started and remains that way.

    And in response to your question on the Shopp Plugin site: “Did you select the Enable Smart Cleanup checkbox and/or have you tried running the Orphan Cleanup tool?” Yes, I tried both ways, first with the Smart Cleanup box checked then the Orphan Cleanup tool, those didn’t work so I restored the database and tried again without the Smart Cleanup checked, just using the Orphan Cleanup tool, same result for both.

    Thank you,
    Eric

    eschmidt99

    (@eschmidt99)

    Hello Dan,

    Upgrade to the newest beta version, 4.0beta11 at the time of this writing. Be aware that there is no ‘rebuild sitemap’ option, it seems to rebuild it automatically on options save.

    Best,
    Eric

    Thread Starter eschmidt99

    (@eschmidt99)

    Hello,

    I got it working.

    The problem wasn’t register_globals, as they were turned off, but it was a session_start() hidden in the code from the original developer. Once it was removed, the plugin started working properly again.

    I hope you can get yours working rl7greg, maybe try searching your site for a session_start() that doesn’t need to be there.

    Thank you for everything, Mike.

    Best,
    Eric

    Thread Starter eschmidt99

    (@eschmidt99)

    Hello Mike,

    Thank you for your reply.

    The URL to the form is http://www.alaskanessences.com/livingbook/help/

    I tried changing the theme and deactivating the plugins but neither worked. When I turned on the error reporting, I didn’t get anything related to session variables.

    If I print out all current SESSION variables from inside the <head> tag, I get:

    array(5) {
      ["vcita_expert"]=>
      &NULL
      ["fsc_shortcode_redirect_1"]=>
      &NULL
      ["fsc_shortcode_hidden_1"]=>
      &NULL
      ["fsc_shortcode_email_to_1"]=>
      &NULL
      ["securimage_code_ctf_1"]=>
      &NULL
    }

    In case that helps with anything.

    Could it be a ‘register_globals’ issue?

    Thank you again,
    Eric

    Thread Starter eschmidt99

    (@eschmidt99)

    Hello Mikko,

    Sorry about not replying earlier.

    Disabling the shortcodes worked like a charm. Thank you very much for your time.

    Thread Starter eschmidt99

    (@eschmidt99)

    Unfortunately, it stopped indexing at 64 documents. I’ve tried removing it completely and reinstalling it 4-5 times now with no success.

    Do you have any other ideas?

    Thank you,
    Eric

    Thread Starter eschmidt99

    (@eschmidt99)

    Hello again,

    And if it matters, I’m still getting the message:

    “Relevanssi needs attention: Remember to build the index (you can do it at the settings page), otherwise searching won’t work.”

    At the top of my admin pages.

    Thank you,
    Eric

    Thread Starter eschmidt99

    (@eschmidt99)

    Hello Mikko,

    Thank you for your reply.

    First, yes, all the correct boxes are checked on the Settings page, double checked.

    The indexed numbers are now at:

    Documents in the index: 63
    Terms in the index: 915
    Highest post ID indexed: 528

    This happened after I posted this question yesterday however it’s still not close to the numbers that it should be indexing.

    As for the debugging, I put the code in but nothing shows. When I hit ‘Build the Index’ or ‘Continue Indexing’, it takes me to the /wp-admin/ page and no information is displayed.

    Should it be returning me to the admin home page?

    Thank you for your time,
    Eric

    Thread Starter eschmidt99

    (@eschmidt99)

    Just a quick addition.

    The custom post types are set to:

    'public' => true,
    'publicly_queryable' => true,

    Thanks.

    Thread Starter eschmidt99

    (@eschmidt99)

    Figured it out.

    In each of the theme calendar files such as week.php, month.php, etc…, I changed:

    href="<?php echo esc_attr( get_permalink( $event->post_id ) ) . $event->instance_id ?>"

    to:

    href="<?php the_field('url',$event->post_id); ?>"

    (I’m using the Advanced Custom Fields plugin, but you can put anything in there).

    Thanks.

    For those of you, like me, who needed to actually pass a variable into ‘terms’, here is the answer, graciously provided to me in another forum post from vtxyzzy.

    Set $variable so it will echo out something like:

    yellow,black,blue

    Then, within your tax_query array, have:

    ...
    'terms' => explode(',', $variable)
    ...

    I hope this helps somebody as it helped me.

    Thread Starter eschmidt99

    (@eschmidt99)

    Hooray!

    That worked. Hopefully this page ranks high in the SE’s as I couldn’t find an answer to this problem anywhere even though it had been asked a few times.

    Thanks a ton vtxyzzy! You’re my hero.

    Thread Starter eschmidt99

    (@eschmidt99)

    Thanks again for your time, I really appreciate it. When I enter your code I get the following error:

    Warning: strip_tags() expects parameter 1 to be string, array given in ..\wp-includes\formatting.php on line 955

    And wouldn’t explode() remove the commas?

    Thanks again,
    Eric

    Thread Starter eschmidt99

    (@eschmidt99)

    Thank you vtxyzzy for the code. It seems to be doing what I want when I enter the terms in manually. However, since I’m getting the array term values from a form, I need to enter the terms into the tax_query from a variable. As it is, to build the variable, I have:

    foreach ($_POST['color'] as $item) :
    	$item = filter($item);
    	$color .= "'" . $item . "',";
    endforeach;
    $color = substr_replace($color ,"",-1);

    When I echo out $color, I get something like “‘red’,’blue’,’yellow'”, without the double quotes, as expected. But when I enter in

    ...
    'terms' => array($color)
    ...

    Nothing is returned. But if I enter the terms in manually, I get the posts as expected.

    So, my question is: How do I pull the terms array from a variable?

    Thank you again for your help,
    Eric

    Thread Starter eschmidt99

    (@eschmidt99)

    I did put the style in the style.css, the link to style.css was being replaced. But I don’t know what happened, it seems to be working fine now, all I did was not touch it for a couple hours…

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