Forum Replies Created

Viewing 15 replies - 1 through 15 (of 23 total)
  • Thread Starter ronrapp

    (@ronrapp)

    drmike: I feel your pain. ??

    Regarding the slowness, I even went so far as to get rid of the myhacks stuff just in case it was slowing things down, but did not notice any perceptible change.

    Can a template slow down a site that noticeably? I searched for tips on that sort of thing but didn’t find anything useful.

    Thread Starter ronrapp

    (@ronrapp)

    Anyone have ideas on this?

    Thread Starter ronrapp

    (@ronrapp)

    Yes, I have mod_rewrite installed.

    Thread Starter ronrapp

    (@ronrapp)

    Ah, so he did answer. ?? My bad, Matt!!
    Ditto on the kudos from Brian for a fine product!
    Re: calling WordPress functions from a single level down, I’ve done that, too. I have some static pages that use the WordPress functions, like https://www.rapp.org/links/
    I just thought of another possibility. Gallery uses PHP. Any chance both packages are calling subroutines of the same name or something like that?
    –Ron

    Thread Starter ronrapp

    (@ronrapp)

    Allusion,
    Were you referring to having an alternate wp-blog-header.php version that excludes the wpl10n.php include but leaves the rest?
    I don’t think brian or i have made any changes to the blog header file.
    Thanks,
    –Ron

    Note: Brian is using multiple domains, but the issue has nothing to do with that. I have the same problem he does and I’m only using one domain.
    This is a problem with integrating Gallery and WordPress. If you try to use a <?php get_links_list(); ?> or call any other WordPress code from a Gallery page you’ll get the wpl10n.php error.
    See https://www.ads-software.com/support/3/7885/

    Thread Starter ronrapp

    (@ronrapp)

    Allusion,
    The wp-config.php file only contains the code for accessing the database. The file doesn’t contain any of the actual WordPress code.
    What I want to do is have a list of recent comments and recent entries from my blog appear on my Gallery pages. This means having WordPress code running on the Gallery pages. How do I do that?

    Thread Starter ronrapp

    (@ronrapp)

    Brian,
    No, I still have not found an answer to this issue. I’ve searched high and low for an answer, queried PHP experts, WordPress folks, searched Google, and so on.
    All the suggestions I’ve received have been WAY off the mark (like ‘just include the wp-blog-header.php file, it’s easy’). This leads me to believe I’m not explaining the issue properly.
    I’m sure the issue has something to do with calling the wp-blog-header.php file from a directory several levels below where it normally gets called from. The obvious answer is to just use an absolute path for the include, and that’s the very first thing I tried.
    Anyway, I believe this to be the issue because wp-l10n.php gets used in every other WordPress dynamically generated page (it’s included in the wp-blog-header.php file) and it works fine.
    We can’t be the only ones trying to make Gallery and WordPress play together. Heck, Matt (of photomatt fame) uses Gallery himself. But if you look closely, you’ll see he does not display any wordpress data (comments, entry titles, etc) on the Gallery-powered pages. All Matt did was make the Gallery pages use the same stylesheet as the WordPress pages. Out of desperation, I emailed Matt to ask if he could assist but got no reply. I’m sure he’s probably too busy with serious coding to worry about this, but it’s a frustrating problem isn’t it? Gallery integrated with Movable Type with no problems.
    This has an answer. I just find it strange that no one has come up with it yet.
    Do we need to change the includes called from wp-blog-header.php so they are absolute? Should we have another version of the wp-blog-header.php file running from within the Gallery htmlwrap directory? I have no idea.
    –Ron

    Thread Starter ronrapp

    (@ronrapp)

    Podz,
    Sorry, I should have mentioned that I tried that already. It reduces the huge gap on the top and bottom by 15 pixels, but there’s still definitely a line break there.
    Do you know how I can get WordPress to stop putting those tags inside the blockquote tag?

    Forum: Fixing WordPress
    In reply to: Broken Permalink
    Thread Starter ronrapp

    (@ronrapp)

    OK, I found the problem, though I am not sure why it’s occurring.
    I renamed the post slug from “musical_rapps” to “musical_rapp”, deleting the trailing “s”. Now the permalink works. So there must be something in my .htaccess file that’s behind the problem.
    But what?

    Forum: Fixing WordPress
    In reply to: Broken Permalink
    Thread Starter ronrapp

    (@ronrapp)

    Addendum: I’ve tried several things to see if I can get this post to appear at it’s permalink. here’s what I’ve tried:
    1. Replaced all the post content with plain text, just in case something in the post was causing a problem.
    2. Deleted all comments for that post
    3. Changed the post title AND the post slug
    No dice on any of those changes, so I put everything back the way it was. Is it possible the database is corrupted? This is the only post that does this.

    Thread Starter ronrapp

    (@ronrapp)

    Here’s some more info:
    I’m trying to call the wp-blog-header.php file from /WProot/gallery/
    That directory has it’s own .htaccess file (used to make Gallery work properly). Any chance this could be causing the “Fatal error: Call to a member function on a non-object in /home/ronrapp/public_html/wp-includes/wp-l10n.php on line 37” error?
    # BEGIN Gallery section
    # (Automatically generated. Do not edit this section)
    # Note: still under development, so format may change.
    # If you edit this file, make a backup before runnng the Config. Wizard.

    Options -Indexes +FollowSymLinks
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /gallery/
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^\.\?/]+)/([0-9]+)$ /gallery/view_photo.php?set_albumName=$1&index=$2 [QSA]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^\.\?/]+)/([A-Za-z_0-9\-]+)$ /gallery/view_photo.php?set_albumName=$1&id=$2 [QSA]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^\.\?/]+)/$ /gallery/$1 [R]
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^([^\.\?/]+)$ /gallery/view_album.php?set_albumName=$1 [QSA]
    </IfModule>
    # END Gallery section. Add User changes below this line

    Thread Starter ronrapp

    (@ronrapp)

    Anyone have any ideas on this?? I’ve tried searching Google, the support forums here, mosquito, etc. I’ve tried changing the path from absolute to relative, it doesn’t work. I’ve also checked to make sure there are no extra carriage returns in there, as I know that sometimes plays havoc.
    Perhaps one of the developers could chime in with an idea?

    Thread Starter ronrapp

    (@ronrapp)

    For what it’s worth, it always refers to line 37 of wp-l10n.php, which is this section:
    // Return a translated string.
    function __($text) {
    global $l10n;
    return $l10n->translate($text);

    Thread Starter ronrapp

    (@ronrapp)

    Thanks for the suggestion. I tried using a relative path: require(‘../wp-blog-header.php’);
    It came up with the same error:
    Fatal error: Call to a member function on a non-object in /home/.furcatheaterheater/ronrapp/public_html/wp-includes/wp-l10n.php on line 37

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