All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.


Author Topic: Problems with WordPress 2.6.1  (Read 6366 times)

0 Members and 1 Guest are viewing this topic.

Offline pep

  • Newbie
  • *
  • Posts: 11
    • View Profile
Problems with WordPress 2.6.1
« on: 17 August 2008, 17:49 »
I just upload to the new version of Wordpress 2.6.1 and the usersonline plugin doesn't work. I don't get any error, just I get 0 users connected all the time.

Any idea about that?

Thanks!

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Problems with WordPress 2.6.1
« Reply #1 on: 17 August 2008, 18:21 »
Try the default theme with no other plugins activated

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline pep

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Problems with WordPress 2.6.1
« Reply #2 on: 18 August 2008, 07:16 »
It doesn't works  :-[ I also tried to uninstall and install again the plugin but I get the same... 0 users connected all the time (in the public page and admin area too).

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Problems with WordPress 2.6.1
« Reply #3 on: 18 August 2008, 13:42 »
Can u check if the table wp_useronline is created?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline pep

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Problems with WordPress 2.6.1
« Reply #4 on: 18 August 2008, 15:57 »
Is not created. There is one called wp_users, but not wp_useronline

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Problems with WordPress 2.6.1
« Reply #5 on: 18 August 2008, 16:07 »
That explains why. I think you are still using MYSQL 4.0 which is quite oudated.

Run this query in phpmyadmin:
Code: [Select]
CREATE TABLE IF NOT EXISTS `wp_useronline` (
  `timestamp` int(15) NOT NULL default '0',
  `userid` int(10) NOT NULL default '0',
  `username` varchar(20) NOT NULL default '',
  `displayname` varchar(255) NOT NULL default '',
  `useragent` varchar(255) NOT NULL default '',
  `ip` varchar(40) NOT NULL default '',
  `location` varchar(255) NOT NULL default '',
  `url` varchar(255) NOT NULL default '',
  `type` enum('member','guest','bot') NOT NULL default 'guest',
  `referral` varchar(255) NOT NULL default '',
  UNIQUE KEY `useronline_id` (`timestamp`,`username`,`ip`,`useragent`)

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline pep

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Problems with WordPress 2.6.1
« Reply #6 on: 18 August 2008, 16:34 »
Yes, version 4.1.22

When I do a Query with your code in the phpmyadmin I get this error: You have to choose at least one column to display


Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Problems with WordPress 2.6.1
« Reply #7 on: 18 August 2008, 17:03 »
Try this:
Code: [Select]
CREATE TABLE `wp_useronline` (
  `timestamp` int(15) NOT NULL default '0',
  `userid` int(10) NOT NULL default '0',
  `username` varchar(20) NOT NULL default '',
  `displayname` varchar(255) NOT NULL default '',
  `useragent` varchar(255) NOT NULL default '',
  `ip` varchar(40) NOT NULL default '',
  `location` varchar(255) NOT NULL default '',
  `url` varchar(255) NOT NULL default '',
  `type` enum('member','guest','bot') NOT NULL default 'guest',
  `referral` varchar(255) NOT NULL default '',
  UNIQUE KEY `useronline_id` (`timestamp`,`username`,`ip`,`useragent`)

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline pep

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Problems with WordPress 2.6.1
« Reply #8 on: 26 August 2008, 11:58 »
My host company just update the mySQL to version 5 but I still get 0 users online all the time, and the table wp_useronline is never created.

Any suggestion?  ;)

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Problems with WordPress 2.6.1
« Reply #9 on: 26 August 2008, 14:55 »
Deactivate and activate the plugin again. If it still does not work, run the query i pasted above.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline pep

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Problems with WordPress 2.6.1
« Reply #10 on: 27 August 2008, 05:05 »
I did it and I get this error in the new server with MySQL 5.0.41

Code: [Select]
SQL query:

CREATE TABLE IF NOT EXISTS `wp_useronline` (
`timestamp` int( 15 ) NOT NULL default '0',
`userid` int( 10 ) NOT NULL default '0',
`username` varchar( 20 ) NOT NULL default '',
`displayname` varchar( 255 ) NOT NULL default '',
`useragent` varchar( 255 ) NOT NULL default '',
`ip` varchar( 40 ) NOT NULL default '',
`location` varchar( 255 ) NOT NULL default '',
`url` varchar( 255 ) NOT NULL default '',
`type` enum( 'member', 'guest', 'bot' ) NOT NULL default 'guest',
`referral` varchar( 255 ) NOT NULL default '',
UNIQUE KEY `useronline_id` ( `timestamp` , `username` , `ip` , `useragent` )

MySQL said: Documentation
#1064 - 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 12

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Problems with WordPress 2.6.1
« Reply #11 on: 27 August 2008, 05:35 »
Your host upgraded to MYSQL 5, but is your host running on it?

Try this query:
Code: [Select]
-- phpMyAdmin SQL Dump
-- version 2.11.7
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Generation Time: Aug 27, 2008 at 01:35 PM
-- Server version: 5.0.37
-- PHP Version: 5.2.6

SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";

--
-- Database: `gamerz_wordpress`
--

-- --------------------------------------------------------

--
-- Table structure for table `wp_useronline`
--

CREATE TABLE `wp_useronline` (
  `timestamp` int(15) NOT NULL default '0',
  `userid` int(10) NOT NULL default '0',
  `username` varchar(20) NOT NULL default '',
  `displayname` varchar(255) NOT NULL default '',
  `useragent` varchar(255) NOT NULL default '',
  `ip` varchar(40) NOT NULL default '',
  `location` varchar(255) NOT NULL default '',
  `url` varchar(255) NOT NULL default '',
  `type` enum('member','guest','bot') NOT NULL default 'guest',
  `referral` varchar(255) NOT NULL default '',
  UNIQUE KEY `useronline_id` (`timestamp`,`username`,`ip`,`useragent`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline pep

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: Problems with WordPress 2.6.1
« Reply #12 on: 27 August 2008, 06:22 »
Now it works. Thanks buddy, you're the man!  8)

Offline Keogh

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Problems with WordPress 2.6.1
« Reply #13 on: 30 September 2008, 16:21 »
Hi, I'm new to this excellent forum! And i have been using the WP-UserOnline plugin since start! But now I'm suffering the same problem, it shows 0 Users Online, and i run this script in MySQL:
CREATE TABLE `wp_useronline` (
  `timestamp` int(15) NOT NULL default '0',
  `userid` int(10) NOT NULL default '0',
  `username` varchar(20) NOT NULL default '',
  `displayname` varchar(255) NOT NULL default '',
  `useragent` varchar(255) NOT NULL default '',
  `ip` varchar(40) NOT NULL default '',
  `location` varchar(255) NOT NULL default '',
  `url` varchar(255) NOT NULL default '',
  `type` enum('member','guest','bot') NOT NULL default 'guest',
  `referral` varchar(255) NOT NULL default '',
  UNIQUE KEY `useronline_id` (`timestamp`,`username`,`ip`,`useragent`)

And it created the DB correctly no error messages, but still it wont work on my blog, i gave it @ www.nelson.to/weblog Please help me!

Thanks again for a nice plugin and a nice forum.

/Keogh.

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,536
    • View Profile
  • WordPress Version: WordPress 2.9.x
  • Theme Name: lesterchan.net v3.4
Re: Problems with WordPress 2.6.1
« Reply #14 on: 30 September 2008, 16:31 »
Your wp-useronline is like ages ago. Upgrade it and READ THE readme.html

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline Keogh

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Problems with WordPress 2.6.1
« Reply #15 on: 30 September 2008, 16:34 »
Ok I'll do that! Thanks for a blazing fast reply! :)

Offline Keogh

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Problems with WordPress 2.6.1
« Reply #16 on: 30 September 2008, 16:36 »
Hehe... I'm HAPPY!  :-* To you! And thanks works like it suppose to! :)