Forum Replies Created

Viewing 15 replies - 16 through 30 (of 39 total)
  • Forum: Fixing WordPress
    In reply to: 500 errors
    Thread Starter ek_wals

    (@ek_wals)

    No I don’t have a post named ‘Texas’ In fact, this problem began during a time when no posts, or other changes, were made to the site.
    The error message says ‘server misconfigured’ and after a day of effort, I will take it’s word for it.

    Thread Starter ek_wals

    (@ek_wals)

    No I have pretty much given up on WP (and maybe PHP as well)

    Forum: Fixing WordPress
    In reply to: 500 errors
    Thread Starter ek_wals

    (@ek_wals)

    No luck on increasing posts/page.
    The permalinks are: custom- “/inn/%category%/%post_id%”
    I also have ‘category base’ set to “/category”

    I also get a page with ‘www.stayeat.com/category/texas”

    Given the extra time, perhaps the database lookup is
    exceeding some Apache timeout, which in turn convinces
    another part of Apache that an error has occurred.

    Sounds like a configuration problem at my host (BlueHost).
    It should be noted that I last knew this to work around
    the start of May, which is when the other thread mentions
    sporadic problems of the same kind on the same host.
    I wonder if the server load has increased since April?

    Forum: Fixing WordPress
    In reply to: 500 errors
    Thread Starter ek_wals

    (@ek_wals)

    https://www.stayeat.com click on ‘Texas’

    Not very informative though — it just shows a [500] error.
    My host is BlueHost and I found another message about this problem with them (“Orphaned Apache processes…”)
    I have an escalation with them to try and find the problem. My suspicion is that the server has some timeout that is insufficient for a PHP program of the magnitude of WordPress. PHP appears to be a frail vessel for large programs.

    Similar problems here ( also BlueHost)
    8 out of 50 links generate 500 errors (consistantly)
    Tech support has no idea.

    Thread Starter ek_wals

    (@ek_wals)

    Thanks – thats it.

    Forum: Plugins
    In reply to: LightPress experiences?
    Thread Starter ek_wals

    (@ek_wals)

    Its a plugin for WP.

    See:
    forum.textdrive.com/viewtopic.php?id=5716

    https://lightpress.org

    If you are interested.
    Just thought I might get some hints before I invest the time to investigate it in depth.

    Just noticed LightPress – a frontend for WP that claims to greatly increase the speed.

    See: https://forum.textdrive.com/viewtopic.php?id=5716

    Talks about a site that reaches 400 requests/min.

    Forum: Plugins
    In reply to: PHP help
    Thread Starter ek_wals

    (@ek_wals)

    I have a variable $var that is initialised to 0 and somtimes set to a string. I than do:
    switch ($var) {
    case ‘good’:
    ….
    case ‘better’:
    ….
    default:
    ….
    }
    Imagine my surprise when $var is set to 0 and the ‘good’ clause executes!!
    A language that allows a variable to change types really ought to do better.

    Forum: Plugins
    In reply to: PHP help
    Thread Starter ek_wals

    (@ek_wals)

    Possibly. I sort of hoped this forum would include some who were writing plugins and therefor might have run into this sort of thing. I just found an answer — use the is_string() function (presumably added to PHP because of the broken equality operator.)

    grumble, grumble …

    Forum: Plugins
    In reply to: PHP help
    Thread Starter ek_wals

    (@ek_wals)

    I am kind of pushing the boundary ??

    The question is why does PHP think that (“str” == 0) is TRUE? And what do I do about it?

    Forum: Plugins
    In reply to: PHP help
    Thread Starter ek_wals

    (@ek_wals)

    What I mean is heirarhical selection. Currently category selection is done from a flattened list, showing all categories at all levels. In my case this is somewhere around 2000 categories, and the list is very hard to use. I want to chose from a list of just the top level categories, then from just the subcategories of a single category, etc.

    That problem is solved – see msg in ‘problem’

    I now have categories.php hacked to edit one level of categories at a time.

    The bigger step is a new select_categories page for the edit post page — a dropdown box containing 3000 categories is no fun.

    Forum: Plugins
    In reply to: Magic code
    Thread Starter ek_wals

    (@ek_wals)

    Well a good niht’s sleep fixed it.

    It seems that my WP installation has TWO categories.php

    When using ‘Manage – Categories’ to initially get the edit screen, WP uses wp-content/plugins/categories.php
    Other navigation uses wp-admin/categories.php

    Apparently WP looks for at least some of its core files in plugins first – so at least one plugin can replace core files (catagories.php at least).

    A real easy way to experiment with hacks!

    Odd indeed. Problem is still there this AM, which probably clears the host of ‘illegal caching’.

    The initial ‘cached’ page is produced by a hacked version I produced earlier, so I know I can affect it. It has a bit of

    Forum: Plugins
    In reply to: Magic code
    Thread Starter ek_wals

    (@ek_wals)

    WP 2.0.2
    I’ve tried clearing my browser cache, and I don’t see any cache in wp-content.
    The Manage-Categories screen does work – it shows changes that I make to the Cats. It’s just running code I overwrote this A.M.
    The newest version of categories.php is also there — I can activate it with the right navigation.

    Someone is caching the old version, but only using it from the Manage-Categories entry, and not from other navigation.

    I.E. My WP runs 2 different categories.php files simultaneously.

Viewing 15 replies - 16 through 30 (of 39 total)