Forum Replies Created

Viewing 12 replies - 16 through 27 (of 27 total)
  • Thread Starter TDP'sGM

    (@gmhilltop)

    Here is a little more information.

    It is in the MAIN server error log, but not the one for the testbed I am working on:

    Premature end of script headers: options-general.php, referer: https://xxxxxtestbed.xxxxxxxxx.com/wp-admin/options-general.php?page=relevanssi/relevanssi.php

    Does this help at all?

    Premature end of script headers: options-general.php

    Thread Starter TDP'sGM

    (@gmhilltop)

    Thanks Mikko! The moment I have a chance I’ll give that a go.

    Thread Starter TDP'sGM

    (@gmhilltop)

    Thanks for this. As I am still new to PHP (and wordpress for that matter) could you clarify this for me:

    Regarding the copy this to the functions.php file:

    function relevanssi_the_tags($sep = ', ', $echo = true) {
    	$tags = relevanssi_highlight_terms(get_the_tag_list('', $sep), get_search_query());
    	if ($echo) {
    		echo $tags;
    	}
    	else {
    		return $tags;
    	}
    }

    Do I just paste it in ANYWHERE within that file?

    … and in my “Search Results Template” . . . I have no idea where that is.

    Sorry for such a BASIC question, but the fact of the matter is I am still trying to figure out how wordpress file(s) interact with each other.

    When a post says “Search Results Template” and I don’t see a “Search Results Template” file anywhere, I hit a wall and it is frustrating.

    Quite frankly I find that my biggest problem with the whole codex section too. I try to implement something “Advance Custom fields” and it really isn’t clear what and where to put the code — the GIVE the code, but where to put it (EXACTLY), well that what I am struggling with.

    I realize that this is off topic now but, any suggestions would be greatly appreciated!

    Thread Starter TDP'sGM

    (@gmhilltop)

    keesiemeijer (or anyone else who can help)

    I think that I have finally hit a wall, and I am going to have to learn how to integrate PHP code.

    I am pretty good at just copy and pasting code, (when I at least have a clue what the code is saying an doing). I have gone through some basic PHP syntax, and I sorta get what they are saying.

    Having said that, when I review pages like this:

    codex.www.ads-software.com/Function_Reference/get_post_custom

    I am still lost. Am I to take that code exactly as it is:

    <?php
    
      $custom_fields = get_post_custom(72);
      $my_custom_field = $custom_fields['my_custom_field'];
      foreach ( $my_custom_field as $key => $value )
        echo $key . " => " . $value . "<br />";
    
    ?>

    and whack it into the wp-includes/post.php file?
    (It was a rhetorical question). No, I don’t think so, but I could be wrong.
    And then there is there WHERE in that file am I to put it?
    sure it says

    get_post_custom() is located in wp-includes/post.php

    but that doesn’t really help me much.

    I am willing to read, willing to learn, but this is my biggest problem that I am having with WordPress Codex, and having to tinker with the PHP a little… I don’t really understand EXACTLY where it is that they want me to put the code…I am pretty sure that in the code example above I am not to include the “72” or “my_custom_field” (literally) in the code. They are probably saying that I should include the actual ‘Name’ of my custom field, but there are other instances where that is NOT so obvious to me.

    Is there ANY examples of a video where someone has walked people through the CODEX page AND then executed that information with a real LIVE example?

    Anyone’s help here would be greatly appreciated.
    Thanks

    Thread Starter TDP'sGM

    (@gmhilltop)

    Thanks keesiemeijer.

    I am sure it is relatively simple to do, but I am not sure I am ready to tackle PHP just yet.

    I have tinkered just a bit with it, and I have to take more time to wrap my brain around just how to use it.

    HTML and CSS is pretty straight forward compared to PHP. I don’t mind at all getting into the files and changing the code, but I want to make sure that I UNDERSTAND what it is that I am doing too.

    Thanks again for the link though.

    I don’t know if this helps at all, but we haven’t changed our website in Years (5+). There apparently was a shift in the Google Algorithm a few months back and our conversion/traffic went way down. (That one was a NON-Wordpress site. It wasn’t spammy, and there was no advertising on it. All we advertised was a service that we provided for a particular area. That is it. Like I said, it has been very steady and very consistent up until a few months ago, and then it hit a HUGE decline.

    I have seen this before, with clients of ours too, and the Google shifts.

    Sometimes they (Google) re-tweak the algorithm and things come back, but it can take a few months.

    I realize that this may not ‘fix’ your issue (or mine), but hopefully it can provide a possible reason for the decline, some hope, and some piece of mind that what you have done may have had nothing to do with it.

    Wish I had more to offer.

    Thread Starter TDP'sGM

    (@gmhilltop)

    Thanks Mikko, but I am still am having a difficult time understanding and using PHP. I have no problem pasting code, and editing files, but what you just suggested just went a little over my head.

    I sort of understand what it is you suggested, but I don’t have the foggiest idea how to write that exactly.

    I think I’ll wait for you to update Relevanssi.

    It seems to me that if someone WANTED things highlighted, that it would make sense to highlight ALL the things that showed up in results. At least that way you can tell at a glance WHY that search result was pulled . . . even if it was from a Tag. It just makes sense to me.

    Thanks for your help.

    Thread Starter TDP'sGM

    (@gmhilltop)

    Thanks Keith. My only issue with this is that that plugin MAY become unsupported in the future and the builder said he might not be updating it often due to personal circumstances.

    Am I to understand that this is a wordpress thing?
    If so, they should REALLY have a close look at fixing THAT!

    At the very least give Administrators the ability to insert code that doesn’t get stripped by WordPress itself, and leave that feature in place for people with lower levels of authority in that box.

    To the moderator ===> My apologies. I had scripting turned off and I didn’t notice the code button or the note below regarding code.

    Sorry to bother you again, could you confirm this for me:

    if we go to a virtual cloud based server, I just need to keep in mind that I need to make sure that these 3 things are installed — is that correct?

    refering to:

    Opcode cache
    Memcache extension
    Mime type detection

    Thanks

    I don’t have a dedicated, virtual dedicated or multiple servers … yet – but we are looking into it. We are trying this to see if we can get the site speed up a little bit better before moving to that.

    I think we just need to get off the shared server we are on. So if we go to a virtual cloud based server, I just need to keep in mind that I need to make sure that these 3 things are installed — is that correct?

    Thanks again for the quick response, and the slick plugin!

    Hi Frederick,
    I have the same warnings in the compatibility test. What are they required for?

    I am looking at using a CDN as well, will they be required for that? I am looking at using either MAXCDN or VPS.NETs Level3 CDN services (Just in case you need to know this).

    What is:

    Opcode cache: Not installed
    Memcache extension: Not installed
    Mime type detection: Not installed

    used for?

    Thanks for what looks like an amazing plugin!

    Thread Starter TDP'sGM

    (@gmhilltop)

    That is what it was.

    I found a similar post here:

    https://www.ads-software.com/support/topic/302015

    The error message seemed to be triggered after the file was uploaded to the temporary directory where php stores the newly uploaded file. I did not have access to this directory, so I contacted my host and they were able to repair/remove the temporary files in the directory. This immediately resolved the issue for me and I hope this helps resolve it for all of you.

    Their /tmp directory was full and we don’t have access to it – the hosting company has to go in to empty it out to get it working again.

    Hope this helps someone else.

    Thanks esmi for the reply!

Viewing 12 replies - 16 through 27 (of 27 total)