husar
Forum Replies Created
-
Forum: Plugins
In reply to: wpdb to create table is driving me nuts! Please helpI am not using 2.5 but thanks. But I might need to do that when I upgrade this weekend.
I did solve this but it just came down to the spacing of each line in the create table section. I deleted all the spaces out of the $sql variable. Then return each part it a line. The dbDelta seems to be super picky on how it get the $sql variable.
Cheers.
Forum: Plugins
In reply to: wpdb to create table is driving me nuts! Please helpSorry one update to the code. It should be as follows…
function myplugin_install() { global $wpdb; $table_name = $wpdb->prefix . "myplugtable"; if($wpdb->get_var("show tables like '$table_name'") != $table_name) { $sql = "CREATE TABLE " . $table_name . " ( Title varchar(250) NOT NULL, Owner varchar(256) NOT NULL, ID varchar(256) NOT NULL, Available datetime NOT NULL, Status varchar(256) NOT NULL, Sound varchar(256) NOT NULL, Versions int(11) NOT NULL, UNIQUE KEY ID (ID) ); "; require_once(ABSPATH . 'wp-admin/includes/upgrade.php'); dbDelta($sql); } }
Forum: Plugins
In reply to: not a valid MySQL result,, activate_ not creating tablesI would appreciate an update as well. My new plugin in development is not creating the tables it should be.
Cheers.
Forum: Plugins
In reply to: Can’t parse variable string from url.This should work…
$var = @$_GET['kw'];
I can pretty much guarantee this a plugin issue. I have the same thing happening with the Cookie issue as everyone has described. I am working off a Macbook as my test machine. It was easy to remove the plugins from the directory. As soon as I did I can login just fine.
The plugin was one I am working on. If I find out what causes it I will post back.
Forum: Fixing WordPress
In reply to: Previous | Next Linkjust found the solution. If you have this plugin installed it will break your page navigation.
https://www.asymptomatic.net/wp-hacks
Deactivated it and good to go.
Forum: Fixing WordPress
In reply to: Previous | Next LinkSame problem here. Next and Previous do not show up any longer. Doesn’t matter what theme I use.
Forum: Fixing WordPress
In reply to: Upgraded Now Major IssuesI had to do a full backup restore so I back to normal just not updated yet. Thanks.
Forum: Installing WordPress
In reply to: Fresh Install QuestionsI am going to do an upgrade tonight and see if it fixes anything. On my current install the category titles are correct but non of the content under it. That is the strange part. If I find a solution or the update fixes it I will post back.
Thanks!
Forum: Installing WordPress
In reply to: Fresh Install QuestionsI would be using 2.3 on a new install. I am not using it today and the themes are compatible with my current version. I think 2.2.1 but I would have to look.
Since you asked for more detail I will provide it even thought this is not the correct area since it is not really installation. But here we go….
My blog is located here: https://www.husar.us
I have a theme switcher here to test new themes: https://www.husar.us/blog/?page_id=1180
When I installed and tested two magazine themes they are not working as expected. Both themes are created by different developers and work just fine with my current wp version.
The themes in question are ‘The Morning After’ and ‘Mimbo’. Use the theme switcher and look at them. What should be happening is they display different posts at different areas of the layout. Very common for magazine themes. But in both cases of these themes all the different areas display only last few posts to the blog. I have my Reading options to show the last 5. But it is like the category doesn’t even register to the themes.
100s of people are using these themes and are not experiencing any thing like I am.
I have not modified the themes or wp at all. These are straight right out of the box and setup as described with the instructions provided.
So this leads me to believe I have a problem with the wp categories.
Any thoughts?
Forum: Installing WordPress
In reply to: Fresh Install QuestionsI meant using the back up tool built into wordpress not just dumping the tables over.
The reason I want to do this is that I am seeing some strange things with my categories on a few wordpress magazine themes. Different themes created by different people are having the same issue. So I thought I would do a fresh install and try to see if that fixed the issues.
Forum: Installing WordPress
In reply to: 2.01 upgrade problemI have this exact same problem. Has anyone found a soulution?