Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter ieure

    (@ieure)

    Well, I had this exact problem with the stable version as well. It and the theme support led me to try out the CVS snap.

    In any case, after putting the AllowOverride Options FileInfo in the correct <Directory> in Apache’s config, it’s working.

    Thanks for the pointer.

    Thread Starter ieure

    (@ieure)

    Maybe I should have called it “Invalid XHTML & WordPress.” :^P
    Fixed now.

    This may help you.
    It’s geared towards making links to external sites open in a new window, but it should be easy to teach it which links should open in a new window.

    Forum: Plugins
    In reply to: iG:Syntax Hiliter Plugin

    “Unknown host blog.igeek.info”

    Thread Starter ieure

    (@ieure)

    That did it. Sure is unfortunate, though.
    I’ll see about educating WP about not fiddling with content in <pre>s.

    Forum: Plugins
    In reply to: New Pluign: Faked Folders

    Stevarino: No worries. I saw your correct address in your profile here, but I wasn’t able to find it on your blog anywhere. The patch I linked above is the same one I sent you. The database creation is the more severe of the two issues, anyways.
    I’d really like to get the rewriting working, but it’s not a huge deal. I really only need one static directory, so I just modified the rule and added it to my Apache config.
    This plugin could definitely use some polish, but I have it under control now.

    Forum: Plugins
    In reply to: New Pluign: Faked Folders

    TheMole: It should be /folderName/postSlug
    E.g. if you create a ‘Static’ folder, and add a post to it called, ‘foobar’, the URL would be http://www.mysite.com/Static/foobar

    Forum: Plugins
    In reply to: New Pluign: Faked Folders

    Oh, and I’m quite sure that changing the ini_get() statement didn’t work for me.
    It looks like I simply can’t use mod_rewrite in .htaccess files. I’ve tested it, and none of the rules in there are ever applied. There has to be some magic to enable that – anyone know how to do it?

    Forum: Plugins
    In reply to: New Pluign: Faked Folders

    Stevarino: I tried emailing you with the patch yesterday, but it looks like I sent it to the wrong address. I will resend it, if you like. In short, PHP < 4.3.0 requires two arguments to implode(), and it is not recommended that you use the >= 4.3.0 syntax. PHP’s implode() documentation gives you a bit more information.
    I actually got things mostly working by just ripping out the tempfile code and forcing it to use tempnam(). Not an ideal solution, to be sure. I can now access my static pages if I go to the real URL; that is, http://www.mysite.com/index.php?static=true&name=test
    I have had no luck getting the Rewrite rules working so I can go to /Static/test/. Is there something I have to do to tell mod_rewrite that RewriteRules are allowed in a .htaccess file?

    Forum: Plugins
    In reply to: New Pluign: Faked Folders

    FWIW, I changed the ini_get() statement to ‘false’, and I get the same errors.

    Forum: Plugins
    In reply to: New Pluign: Faked Folders

    I’ve found 2 bugs with Faked Folders 2.0.
    1. implode() is called with the wrong number of arguments, which prevents this plugin from working on PHP < 4.3.0.
    2. When doing a clean install of 2.0 (not an upgrade), the static_template_access column is not created.
    This patch fixes both issues.
    Though I have gotten it installed, I have not managed to get it working. I’ve added a .htaccess that WP can modify, and it has all the correct mod_rewrite rules, but I’m unable to access any of my static pages.
    I created a folder named ‘Static’, and added a page to it, ‘test’. When I go to http://www.mysite.com/Static/test , I get a 404.
    I tried going to http://www.mysite.com/index.php?static=true&name=test – what the RewriteRule appears to redirect to – but I get a white page with some PHP errors:

    Warning: fopen("1", "w") - Permission denied in /path/to/mysite/wordpress/wp-content/plugins/faked-folders.php on line 1171
    Warning: Supplied argument is not a valid File-Handle resource in /path/to/mysite/wordpress/wp-content/plugins/faked-folders.php on line 1172
    Warning: Supplied argument is not a valid File-Handle resource in /path/to/mysite/wordpress/wp-content/plugins/faked-folders.php on line 1173
    Fatal error: Failed opening required '1' (include_path='.') in /path/to/mysite/wordpress/wp-content/plugins/faked-folders.php on line 1175

    Any suggestions?

Viewing 11 replies - 1 through 11 (of 11 total)