[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/session.php on line 2184: Array to string conversion
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4509: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4511: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4512: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4513: Cannot modify header information - headers already sent by (output started at /includes/functions.php:3706)
Support Incident Tracker Forum • View topic - Visual Wallboard / Dashboard

Visual Wallboard / Dashboard

Discuss and get help with plugins. Share your ideas for future SiT! features.

Re: Visual Wallboard / Dashboard

Postby Tomse » Mon Apr 29, 2013 10:18 am

try looking at your log files and see if they give any error messages you can use as a hint.
If you have a problem, give us enough info of what you have done, what is configured in relation to your question.
Enable debugging and post it's censored but relevant info. Don't forget to write which version of SiT you're running.
User avatar
Tomse
SiT! Developer
SiT! Developer
 
Posts: 1137
Joined: Fri Feb 20, 2009 10:51 am
Location: Somewhere near Copenhagen Denmark

Re: Visual Wallboard / Dashboard

Postby browles » Mon Apr 29, 2013 11:40 am

Hi Tomse, just looked at the logs. Saw this error over and over (removed referer for security):

Code: Select all
[Mon Apr 29 10:54:49.932865 2013] [:error] [pid 10933] [client 192.168.50.1:64524] PHP Warning:  mysql_num_rows() expects parameter 1 to be resource, boolean given in /opt/bitnami/apache2/htdocs/sit/wallboard/index.php on line 20, referer:
[Mon Apr 29 10:54:49.933074 2013] [:error] [pid 10933] [client 192.168.50.1:64524] PHP Warning:  mysql_num_rows() expects parameter 1 to be resource, boolean given in /opt/bitnami/apache2/htdocs/sit/wallboard/index.php on line 40, referer:
[Mon Apr 29 10:54:49.933236 2013] [:error] [pid 10933] [client 192.168.50.1:64524] PHP Warning:  mysql_num_rows() expects parameter 1 to be resource, boolean given in /opt/bitnami/apache2/htdocs/sit/wallboard/index.php on line 59, referer:
[Mon Apr 29 10:54:49.933350 2013] [:error] [pid 10933] [client 192.168.50.1:64524] PHP Warning:  mysql_num_rows() expects parameter 1 to be resource, boolean given in /opt/bitnami/apache2/htdocs/sit/wallboard/index.php on line 61, referer:
[Mon Apr 29 10:54:49.933462 2013] [:error] [pid 10933] [client 192.168.50.1:64524] PHP Warning:  mysql_num_rows() expects parameter 1 to be resource, boolean given in /opt/bitnami/apache2/htdocs/sit/wallboard/index.php on line 63, referer:


Any ideas?
browles
SiT! Fan
SiT! Fan
 
Posts: 17
Joined: Mon Apr 08, 2013 9:30 am

Re: Visual Wallboard / Dashboard

Postby Tomse » Mon Apr 29, 2013 12:02 pm

looks to me that there's something wrong in the SQL query, or the result.
If you have a problem, give us enough info of what you have done, what is configured in relation to your question.
Enable debugging and post it's censored but relevant info. Don't forget to write which version of SiT you're running.
User avatar
Tomse
SiT! Developer
SiT! Developer
 
Posts: 1137
Joined: Fri Feb 20, 2009 10:51 am
Location: Somewhere near Copenhagen Denmark

Re: Visual Wallboard / Dashboard

Postby browles » Mon Apr 29, 2013 1:33 pm

OK, thanks. I didn't edit the code so it should be correct. I googled and "mysql_query" etc are depreciated, but they should still work for now, right?
browles
SiT! Fan
SiT! Fan
 
Posts: 17
Joined: Mon Apr 08, 2013 9:30 am

Re: Visual Wallboard / Dashboard

Postby Tomse » Mon Apr 29, 2013 2:13 pm

for starters when you encounter an error where something should work... keep it simple..
start by replacing database username and password and eventually servername

also if you have a database prefix i.e. like "sit_" so incidents are shown as sit_incidents you'lle need to replace that.

don't include anything as this is a standalone app that has direct access to the database outside of SiT
If you have a problem, give us enough info of what you have done, what is configured in relation to your question.
Enable debugging and post it's censored but relevant info. Don't forget to write which version of SiT you're running.
User avatar
Tomse
SiT! Developer
SiT! Developer
 
Posts: 1137
Joined: Fri Feb 20, 2009 10:51 am
Location: Somewhere near Copenhagen Denmark

Previous

Return to Plugins & Extending SiT!

Who is online

Users browsing this forum: No registered users and 1 guest

cron