Help: Instalation Error

Permalink
i get this error after added who'sonline block via default page type in dashboard

this is the error look like
Who's Online
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\www.concrete5.com\packages\block_whosonline\blocks\theoryblister_whos_online\controller.php on line 71
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\www.concrete5.com\packages\block_whosonline\blocks\theoryblister_whos_online\controller.php on line 71
We have 1 users online.


i use concrete 5.4.1.1 and firefox 3.6.x browser with windows XP and xampp

what must i do?
thank you argvader

fastcrash
View Replies: View Best Answer
fastcrash replied on at Permalink Best Answer Reply
fastcrash
still no update?
can we know how to detect user online or not?

hey!, i can mark myreply as best answer :)
argvader replied on at Permalink Reply
argvader
Sorry I didn't see this initial message until now. I will look into the warning. Can you tell me what version of PHP you are using. I will check the error using the latest version of xampp and whatever version is installed with it.
fastcrash replied on at Permalink Reply
fastcrash
i use xampp version 1.7.3
+ Apache 2.2.14 (IPV6 enabled)
  + MySQL 5.1.41 (Community Server) with PBXT engine 1.0.09-rc
  + PHP 5.3.1 (PEAR, Mail_Mime, MDB2, Zend)
  + Perl 5.10.1 (Bundle::Apache2, Apache2::Request, Bundle::Apache::ASP, Bundle::Email, Bundle::DBD::mysql, DBD::SQlite, Randy Kobes PPM)
  + XAMPP Control Version 2.5.8 (ApacheFriends Edition)
  + XAMPP CLI Bundle 1.6
  + XAMPP Port Check 1.5
  + XAMPP Security 1.1
  + SQLite 2.8.17
  + SQLite 3.6.20
  + OpenSSL 0.9.8l
  + phpMyAdmin 3.2.4
  + ADOdb v5.10
  + FPDF v1.6
  + Zend Framework 1.9.6 Minimal Package (via PEAR)

login as admin, so there is only me currently online.

same result error when i try another account type as guest or member/registered user

when i look into btWhosOnline_session_theoryb, there is only one record, with id=1 and session with no value or empty.

i think this is the cause of error throw foreach.

and most probably cu'z new cersion c5 5.4.1.1 too

thank you.