• I’m having trouble with Faked Folders … WP 1.2, FF 2.1b, nothing unusual about the install that I can think of. Mod_rewrite is on and working fine for normal blog posts, and FF is adding its rewrite rules, no problem.
    I’ve assigned and “set” drafts for my faked pages correctly, I think. But I get this error on all my faked pages (like “/about/” in this case):

    Database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 1]
    SELECT * FROM wp_posts WHERE ID =

    Any ideas? I’m happy to hack into the PHP if someone can point me in the right direction … it’s the last thing for a client site I’d like to deploy ASAP.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I’m getting the same. Odd.

    I found the same error. My solution was to manually add in $p = $_GET[p]; into the code and that fixed it. I know it’s defined in there else where, but for some reason, it doesn’t pick it up.
    You’ll put that in fakedfolders.php. I have mine on the line above the SQL query, but I’m not sure where that is. It’s down past the hijack section. Scroll and you’ll discover. 🙂

    Thread Starter jhardi

    (@jhardi)

    Thanks, that worked. For anyone else who’s curious, the addition should go at line 1136 of fakedfolders.php version 2.1b.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Faked Folders database error’ is closed to new replies.