Support » Everything else WordPress » Non-wp db call confuses the Loop

  • Matt


    I’m calling this script that retrieves rows from some forums tables from the header in WP, but below — when it’s time to get the WP post — WP gets confused and throws up a
    “Not Found
    Sorry, but you are looking for something that isn’t here.”

    WP tables and phpBB3 tables are in the same db, with different prefixes of course.

    I thought it was a variable collision, so I changed all variables in the script from $query to $latestpostsquery, $row to $latestpostsrow, etc. Still not working. Any ideas?

    The script works fine in the WP footer.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Non-wp db call confuses the Loop’ is closed to new replies.