L
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: php problems must solveBump
Forum: Fixing WordPress
In reply to: php problems must solvedatabase info meaning what wp is suppose to be calling…showing up under archives and catagories.
The mysql error echo’d in lieu is the thing I stated just before: “Warning: Invalid argument supplied for foreach() in /home/gpcommun/public_html/jokes/wp-includes/template-functions-category.php on line 321”
It is 2.0 that I’m using.
The script works absolutley perfectly otherwise, and it plays perfectly well with all the other php scritps/programs I have installed—ecommerce, advertising, guestbook, poll, and more.
When you say at the bottom of the script, what do you mean? Do you mean right after the php call within the wp header?–If that is the case, that is what I did. If you mean within the script itself, that won’t be possible for me, because it is a huge multiple page memership script, so I have no idea what is the beginning or the end.
Forum: Fixing WordPress
In reply to: php problems must solveOK, that worked somewhat. I put in the following:
<?php
$link = mysql_connect(‘localhost’, ‘user’, ‘pass’);
if (!$link) {
die(‘Could not connect: ‘ . mysql_error());
}
echo ‘Connected successfully’;
mysql_close($link);
?>The original error is gone now, but a new error pops up. First, no database info for the sidebox shows, but the posts shows up in the main part of the page, and when clicked on it will go to the posts. And also, under the catagories in the sidebox I get “Warning: Invalid argument supplied for foreach() in /home/gpcommun/public_html/jokes/wp-includes/template-functions-category.php on line 321”. Where do I go with this now? Thanks.
Forum: Fixing WordPress
In reply to: php problems must solve1/ The first error looks like:
WordPress database error: [Table ‘gp_members.wpgp_options’ doesn’t exist]
SELECT option_value FROM wpJokes_options WHERE option_name = ‘kubrick_header_display’ LIMIT 12/ As I said earlier there is nothing wrong with the code it self because it works in every other page I have and with every other script, but you can find it here. http://pastebin.com/526795
Thanks for the response.