8 01:16:23 CST6CDT] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199
[29-May-2018 01:16:27 CST6CDT] PHP Depr
Hi @kabisa1234,
Can you describe your situation in more detail, e.g. what application you’re using, what version, what you expect to happen, and what happens instead? All I see here is a partial log entry.
Regards,
Alec Smecher
Public Knowledge Project Team
displays the following error,using php5.6.3 expect to view pdfs
12:29:50 CST6CDT] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/classes/core/Dispatcher.inc.php on line 245
[29-May-2018 12:29:50 CST6CDT] ojs2: 404 Not Found
[29-May-2018 12:30:05 CST6CDT] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199
[29-May-2018 12:30:06 CST6CDT] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199
[29-May-2018 12:30:07 CST6CDT] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 199
check the following url https://jghcs.info and click on any pdf
Hi @kabisa1234,
Did you upgrade your installation, move it between servers, or otherwise change it?
Regards,
Alec Smecher
Public Knowledge Project Team
i upgrade from version 2,3 then to 3.1.1
Hi @kabisa1234,
When you upgraded from 2.x to 3.x, did you see any warnings about file permissions or missing files? What sorts of filenames do you see in your installation’s files directory?
Regards,
Alec Smecher
Public Knowledge Project Team
this are the com errors
[28-May-2018 06:29:04 CST6CDT] PHP Deprecated: Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/classes/install/form/InstallForm.inc.php on line 149
[28-May-2018 06:29:04 CST6CDT] PHP Deprecated: Non-static method VersionCheck::getCurrentCodeVersion() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/classes/install/form/MaintenanceForm.inc.php on line 37
[28-May-2018 06:29:04 CST6CDT] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/classes/form/Form.inc.php on line 369
[28-May-2018 06:29:04 CST6CDT] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[28-May-2018 06:29:12 CST6CDT] PHP Deprecated: Non-static method Application::getName() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/classes/install/form/InstallForm.inc.php on line 149
[28-May-2018 06:29:12 CST6CDT] PHP Deprecated: Non-static method VersionCheck::getCurrentCodeVersion() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/classes/install/form/MaintenanceForm.inc.php on line 37
[28-May-2018 06:29:12 CST6CDT] PHP Deprecated: Non-static method PKPRequest::getUserVar() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/classes/form/Form.inc.php on line 369
[28-May-2018 06:29:12 CST6CDT] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jghcs075/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 592
[28-May-2018 06:29:12 CST6CDT] PHP Deprecated: Non-static method Application::getName() should
Hello Sir,
My OJS site seems hacked few days ago. I have cleaned and restored backup. Now PDF file is not showing and download a blank HTML file. I have review all articles and tired all possible changes but still facing issue. Kindly Help me.
http://jpoa.org.pk/index.php/upload/article/view/181/140
Error Log
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/classes/core/Request.inc.php on line 68
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/classes/core/Request.inc.php on line 68
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::getUser() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/classes/issue/IssueAction.inc.php on line 192
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 564
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::getUser() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/classes/issue/IssueAction.inc.php on line 86
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 564
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method Request::getJournal() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/classes/issue/IssueAction.inc.php on line 59
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/classes/core/Request.inc.php on line 42
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::getRemoteDomain() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/classes/issue/IssueAction.inc.php on line 157
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 453
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::getRemoteAddr() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/classes/issue/IssueAction.inc.php on line 157
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/lib/pkp/classes/core/PKPRequest.inc.php on line 425
[29-May-2018 18:30:28 UTC] PHP Deprecated: Non-static method PKPApplication::getCCLicenseBadge() should not be called statically, assuming $this from incompatible context in /home/jpoa/public_html/pages/article/ArticleHandler.inc.php on line 120
Can you open a different thread because hacking seems to be a different issue?
opened.
Thanks
Hi @altafnagary
What OJS version you are using?
How exactly the site was hacked?
Is you files folder outside of web root?
Hi @Vitaliy and @altafnagary,
I’d suggest following up on that on the other thread.
@kabisa1234, I asked a few questions that you haven’t answered yet. Those will lead to more steps in debugging.
Regards,
Alec Smecher
Public Knowledge Project Team