PHP Notice: Uninitialized string offset: 0

Project:RUcore Statistics
Version:6.1
Component:Code
Category:bug report
Priority:normal
Assigned:jgeng
Status:closed
Description

PHP Notice: Uninitialized string offset: 0 in /mellon/htdocs/rucore/api/stats/xml.php on line 109
PHP Notice: Uninitialized string offset: 0 in /mellon/htdocs/rucore/api/stats/xml.php on line 115

Comments

#1

Status:active» test

Please test.
Jie

#2

Status:test» active

Those errors are fixed. I found another one though.

When accessing some stats reports I get the following error.

PHP Notice: Undefined variable: percent in /mellon/htdocs/rucore/api/stats/statsapi.php on line 395

This is the request being made to the API that will throw the error

<a href="http://rep-test.libraries.rutgers.edu/rucore/api/stats/summary/?key=statsreport&amp;start_date=2011-12-08&amp;end_date=2011-12-08&amp;collection=rucore00000000001&amp;portal=root" title="http://rep-test.libraries.rutgers.edu/rucore/api/stats/summary/?key=statsreport&amp;start_date=2011-12-08&amp;end_date=2011-12-08&amp;collection=rucore00000000001&amp;portal=root">http://rep-test.libraries.rutgers.edu/rucore/api/stats/summary/?key=stat...</a>

#3

Status:active» test

please test again
Jie

#4

Status:test» closed

Confirmed.

Back to top