• Hi,

    I’ve just installed wordpress. Took me about 15 minutes. Smooth as butter. Nice job!

    I’ve got an issue similar to that of others here, but have found no response that resolves my problem. I’ve searched the codex and the site to no avail, I’m hoping that some quality data might help someone help me.

    When I click on a category link, I get no content results. The header, footer and side bar appear, but no listings of my posts. The link looks like this: “https://test.wordpress.com/?cat=5”. All that appears in the side bar is the search box with the following message:

    “You are currently browsing the archives for the CSS category.”

    The archive and front page links work just fine. When I type in a search in the box, I get correct listings.

    I am editing my user default them (in this case: “/wp-content/themes/frank-marion/”). I have all the files that are included in the default user setup, and they appear to match the set up in “/wp-content/themes/default/”.

    I have edited the header and footer extensively while being careful not to mess with any native code. I have made the minor adjustment in the rest of the files by moving the include for the side bar directly below the include for the header as such

    <?php get_header(); ?>
    <?php get_sidebar(); ?>

    I have no plug-ins activated.

    I don’t think the issue has anything to do with Apache 2.x, MySQL 4.x, PHP 5.x or the browsers. I’m not a PHP expert, but I’m experienced with server side scripting.

    Can anyone suggest a solution to the issue, or offer a pointer in the right direction?

    Please see my url for clarification. Note: please remove the space from the url. It’s there to avoid getting the attention of crawlers and search engines.

    Thanks!

    https://zeph.dnsalias .com/wordpress/

Viewing 8 replies - 31 through 38 (of 38 total)
  • Thread Starter frankmarion

    (@frankmarion)

    Can content have this kind of effect?

    Try editing wp-includes/functions.php, find the line:

    if ( isset($cache_settings->$setting) ) :

    and change it to:

    if ( isset($cache_settings->setting) ) :

    Thread Starter frankmarion

    (@frankmarion)

    No, not a change. Here’s the thing I don’t get. I don’t think that it’s wordpress, because the default themes work perfectly. In my mind, that rules out the app itself, and narrows it down to my theme. What I don’t understand is that a comparison of each them file, other than the placement of the sidebar include, and the inclusion of the function <?php bloginfo(‘stylesheet_directory’); ?> in the header and <?php echo get_settings(‘home’); ?> once in the sidebar, no php has been changed.

    It’s not an issue or rendering, because a view of the source clearly shows that at some point it’s cut off.

    I’m a coldfusion guy, we can make error message display where the error actually occurs. Can the same be done in PHP?

    Have a look in C:\Program Files\Apache2\logs (or wherever you ahve Apache) for an error.log or similar and see if that contains anything useful.

    Thread Starter frankmarion

    (@frankmarion)

    Ah! This is the exact error. Do you understand it?

    [Tue Oct 04 21:52:13 2005] [error] [client 127.0.0.1]
    PHP Fatal error: Only variables can be passed by reference
    in E:\\Documents-Server\\htdocs\\wordpress\\wp-includes\\classes.php
    on line 629, referer: https://zeph.dnsalias.com/wordpress/

    and the corresponding code is:

    if ($this->is_category) {
    $category = &get_category($this->get('cat')); // line 629
    $this->queried_object = &$category;
    $this->queried_object_id = $this->get('cat');

    The question is not “what is wrong with this code” but rather (I think) how is my theme interacting with this, wheras the others, for most intents and purposes is identical.

    Thread Starter frankmarion

    (@frankmarion)

    Yay! Solved. Thank Google! Please see the following post

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

    It actually wasn’t my fault. That’s good for the ego.

    I thought it must have been something like that, we went through something like that with the menu generating code at https://kde.org a little while ago, glad it has been solved for you. ??

    Thread Starter frankmarion

    (@frankmarion)

    Thank you for your help, time and attention. It’s a real kindness to dig in so deeply into another’s issues.

Viewing 8 replies - 31 through 38 (of 38 total)
  • The topic ‘Yet another Category link doesn’t work post–but with info!’ is closed to new replies.