Where to find Sushi-Lite URL?

Dear @ctgraham, i have installed Counter Report under Report Plugin. and i try this

https://owner.polgan.ac.id/index.php/owner/sushiLite/v1_7/GetReport?Report=JR1&Release=4.1&BeginDate=2018-11-01&EndDate=2020-02-21

is this result? and what link i have to give for Plumx?

because plumx asking for sushiLite URL

Thank you

Attachment SushiLite result :

This XML file does not appear to have any style information associated with it. The document tree is shown below.

<sc:ReportResponse xmlns:sc=“http://www.niso.org/schemas/sushi/counter” xmlns:s=“Schemas for the Standardized Usage Statistics Harvesting Initiative (SUSHI) | NISO website” xmlns:c=“http://www.niso.org/schemas/counter” xmlns:xsi=“http://www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation="Schemas for the Standardized Usage Statistics Harvesting Initiative (SUSHI) | NISO website http://www.niso.org/schemas/sushi/sushi1_7.xsd http://www.niso.org/schemas/sushi/counter http://www.niso.org/schemas/sushi/sushi_counter4_1.xsd ">

<s:Exception Created=“2020-02-22T00:05:52+07:00”>

<s:Number>3030</s:Number>

<s:Severity>Error</s:Severity>

<s:Message>

No usage available for requested dates. An internal error has occurred.

</s:Message>

<s:Data>##plugins.reports.counter.exception.noData##</s:Data>

</s:Exception>

<s:Requestor>

<s:ID>anonymous</s:ID>

<s:Name/>

<s:Email/>

</s:Requestor>

<s:CustomerReference>

<s:ID/>

</s:CustomerReference>

<s:ReportDefinition Name=“JR1” Release=“4.1”>

<s:Filters>

<s:UsageDateRange>

<s:Begin>2018-11-01</s:Begin>

<s:End>2020-02-21</s:End>

</s:UsageDateRange>

</s:Filters>

</s:ReportDefinition>

</sc:ReportResponse>

additional information:
Counter Report Plugin installed 21-02-2020

@Lazar_Stosic, may I know which one URL you gave to plumx support? They ask me to and I don’t know what link.

Thank you

Hi @Muhammad_Khoiruddin,

last link which I sent and they accept is http://ijcrsee.com/index.php/ijcrsee/sushiLite/v1_7/GetReport?Report=JR1&Release=4.1&BeginDate=2018-11-01&EndDate=2018-11-30
I also had problems with this plugin but with this link they started process. Till now they didn`t ask or demand to send them other link. This link gave me ctgraham in this post, check it above.

Plum Analytics (or any SUSHI-Lite consumer) will need to know your sushiLite endpoint, which is:

  • Your base URL (e.g. http://ijcrsee.com/index.php or https://owner.polgan.ac.id/index.php) +
  • Your context path, if not hidden by a URL rewrite (e…g /ijcrsee or /owner) +
  • The sushiLite API endpoint (e.g. /sushiLite/v1_7/)

This can be inferred from the sample URLs provided, or from the OAI-PMH URL, if you already provided them that.

Thank you for explanation. That is all clear. But, long time nobody give concrete results how to solve blank statistic page. I found a few posts as mine but nobody confirm that problem is solved. For Sushi plugin UsageStats plugin must be configured and enabled. I did it but the statistic page is empty and Sushi plugin doesnt work. Last version OJS, all checked with providers but, beside all posts, statistic plugin still doesnt work and present an empty page.

Is the the current thread which describes your problem?

If so, I’ll take a look at the conversation so far.

Clear. Technical support of PlumX confirm that link is done.
thank you @ctgraham

Yes. Current thread describes my problem but nobody answer on my posts and the problem still exist. More explanation is described at mentioned post. I hope that someone will find the solution. I upgraded to latest version but nothing…

1 Like

Dear Sir,
Please guide me about sushi lite URL. I created an url but masege given as

This page isn’t working

www.rame.org.in is currently unable to handle this request.

My sushi lite URL
https://www.rame.org.in/rameojs/index.php/ijaefea/sushiLite/v1_7/GetReport?Report=JR1&Release=4.1&BeginDate=2017-01-01&EndDate=2012-10-30

is this url ok. If yes, then why it is not open. Or shall I send this URL to PlumX.

what is in your error_log?

1 Like

The page can not open when entered above link in address bar.
Error_log
Stack trace:
#0 /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/pages/SushiLiteHandler.inc.php(32): PKPRequest::getRequestedOp(Object(Request))
#1 /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/PKPRouter.inc.php(391): SushiLiteHandler->index(Array, Object(Request))
#2 /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#3 /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/Dispatcher.inc.php(143): PKPPageRouter->route(Object(Request))
#4 /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/PKPApplication.inc.php(279): Dispatcher->dispatch(Object(Request))
#5 /home/jpwa0kaei1sl/public_html/rameojs/index.php(68): PKPApplication->execute()
#6 {main}
thrown in /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/PKPRequest.inc.php on line 698
[07-Nov-2020 18:50:37 UTC] ojs2: 404 Not Found

The line just above this “Stack trace” in the error log will describe the specific problem.

It is probably this message:
https://github.com/ulsdevteam/ojs-sushiLite-plugin/issues/5
which suggests you are using OJS 3.2.

I’ll work on a fix for OJS 3.2.

@RAME_Publishers, please try this new release, to confirm the problem is resolved:

updated sushiLite-plugin but still same probelm occur. Please check complete error_log and suggest
[12-Nov-2020 17:22:21 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SushiLite_v1_7 has a deprecated constructor in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite_v1_7.inc.php on line 22
[12-Nov-2020 17:22:21 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SushiLite has a deprecated constructor in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite.inc.php on line 28
[12-Nov-2020 17:22:21 UTC] PHP Deprecated: Non-static method Application::getContextList() should not be called statically in /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/PKPRequest.inc.php on line 293
[12-Nov-2020 17:22:21 UTC] PHP Warning: get_class() expects parameter 1 to be object, null given in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite.inc.php on line 212
[12-Nov-2020 17:32:39 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SushiLite_v1_7 has a deprecated constructor in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite_v1_7.inc.php on line 22
[12-Nov-2020 17:32:39 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SushiLite has a deprecated constructor in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite.inc.php on line 28
[12-Nov-2020 17:32:39 UTC] PHP Deprecated: Non-static method Application::getContextList() should not be called statically in /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/PKPRequest.inc.php on line 293
[12-Nov-2020 17:32:39 UTC] PHP Warning: get_class() expects parameter 1 to be object, null given in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite.inc.php on line 212
[13-Nov-2020 06:40:38 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SushiLite_v1_7 has a deprecated constructor in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite_v1_7.inc.php on line 22
[13-Nov-2020 06:40:38 UTC] PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; SushiLite has a deprecated constructor in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite.inc.php on line 28
[13-Nov-2020 06:40:38 UTC] PHP Deprecated: Non-static method Application::getContextList() should not be called statically in /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/PKPRequest.inc.php on line 293
[13-Nov-2020 06:40:38 UTC] PHP Fatal error: Uncaught Error: Call to undefined method ValidatorDate::getMatches() in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/validation/ValidatorDate.inc.php:48
Stack trace:
#0 /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite_v1_7.inc.php(176): ValidatorDate->isValid(‘2017-01-01’)
#1 /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/SushiLite_v1_7.inc.php(68): SushiLite_v1_7->parseFilters(Array)
#2 /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/pages/SushiLiteHandler.inc.php(35): SushiLite_v1_7->processRequest(‘GetReport’, Object(Request))
#3 /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/PKPRouter.inc.php(391): SushiLiteHandler->index(Array, Object(Request))
#4 /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/PKPPageRouter.inc.php(231): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)
#5 /home/jpwa0kaei1sl/public_html/rameojs/lib/pkp/classes/core/Dispatcher in /home/jpwa0kaei1sl/public_html/rameojs/plugins/generic/sushiLite/classes/validation/ValidatorDate.inc.php on line 48

I’ve updated the pre-release to deal with this fatal error. Please download the updated version from the same link and report any other errors.

I was download upadated version from the link you have given and upgrade the version but the same message shown on the screen. The above error_log has been captured after upgradation. Kindly suggest any other solution.
Shall I send the below URL to sushi lite
https://www.rame.org.in/rameojs/index.php/ijaefea/sushiLite/v1_7/GetReport?Report=JR1&Release=4.1&BeginDate=2020-01-01&EndDate=2020-11-30

Also I am somewhat confused about Begin Date and End Date. Which date should I consider to generate above link.

https://www.rame.org.in/rameojs/index.php/ijaefea/sushiLite/GetReport?Report=JR1&Release=4.1&BeginDate=2020-01-01&EndDate=2020-11-30

i think your sushilte is good. you need to install plumx plugin for the next step.

plumx plugin has already been install. Is it ok with the url if the below error appear.
What content should appear on screen for this url. Any example please share.

This page isn’t working

www.rame.org.in is currently unable to handle this request.

HTTP ERROR 500

Screenshot_2020-11-16-00-57-23-17

In my browser is Okey

What is the current PHP Fatal error which appears in your error log?