Loading Article xml files ojs 3.1.0

Hello everyone

I have a problem with the xml gallery.

Hi @Brandon94

Please check your php error log and your browser console log when you are attempt load this page. There should show you messages regarded to this issue.

Regards,
Israel Cefrin
Public Knowledge Project Team

Hi @israel.cefrin

In my browser:

In my php_error:

[14-Dec-2017 16:17:31 UTC] PHP Stack trace:

[14-Dec-2017 16:17:31 UTC] PHP 1. {main}() C:\wamp64\www\Revista\index.php:0

[14-Dec-2017 16:17:31 UTC] PHP 2. PKPApplication->execute() C:\wamp64\www\Revista\index.php:68

[14-Dec-2017 16:17:31 UTC] PHP 3. Dispatcher->dispatch() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPApplication.inc.php:243

[14-Dec-2017 16:17:31 UTC] PHP 4. PKPPageRouter->route() C:\wamp64\www\Revista\lib\pkp\classes\core\Dispatcher.inc.php:134

[14-Dec-2017 16:17:31 UTC] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPPageRouter.inc.php:233

[14-Dec-2017 16:17:31 UTC] PHP 6. call_user_func:{C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372}() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372

[14-Dec-2017 16:17:31 UTC] PHP 7. IndexHandler->index() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372

[14-Dec-2017 16:17:31 UTC] PHP 8. PKPTemplateManager->display() C:\wamp64\www\Revista\pages\index\IndexHandler.inc.php:75

[14-Dec-2017 16:17:31 UTC] PHP 9. HookRegistry::call() C:\wamp64\www\Revista\lib\pkp\classes\template\PKPTemplateManager.inc.php:852

[14-Dec-2017 16:17:31 UTC] PHP 10. call_user_func:{C:\wamp64\www\Revista\lib\pkp\classes\plugins\HookRegistry.inc.php:107}() C:\wamp64\www\Revista\lib\pkp\classes\plugins\HookRegistry.inc.php:107

[14-Dec-2017 16:17:31 UTC] PHP 11. PKPUsageEventPlugin->getUsageEvent() C:\wamp64\www\Revista\lib\pkp\classes\plugins\HookRegistry.inc.php:107

[14-Dec-2017 16:17:31 UTC] PHP 12. PKPUsageEventPlugin->buildUsageEvent() C:\wamp64\www\Revista\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php:110

[14-Dec-2017 16:17:37 UTC] PHP Strict standards: Only variables should be assigned by reference in C:\wamp64\www\Revista\classes\issue\IssueGalleyDAO.inc.php on line 169

[14-Dec-2017 16:17:37 UTC] PHP Stack trace:

[14-Dec-2017 16:17:37 UTC] PHP 1. {main}() C:\wamp64\www\Revista\index.php:0

[14-Dec-2017 16:17:37 UTC] PHP 2. PKPApplication->execute() C:\wamp64\www\Revista\index.php:68

[14-Dec-2017 16:17:37 UTC] PHP 3. Dispatcher->dispatch() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPApplication.inc.php:243

[14-Dec-2017 16:17:37 UTC] PHP 4. PKPPageRouter->route() C:\wamp64\www\Revista\lib\pkp\classes\core\Dispatcher.inc.php:134

[14-Dec-2017 16:17:37 UTC] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPPageRouter.inc.php:233

[14-Dec-2017 16:17:37 UTC] PHP 6. IssueHandler->initialize() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:369

[14-Dec-2017 16:17:37 UTC] PHP 7. IssueGalleyDAO->getByBestId() C:\wamp64\www\Revista\pages\issue\IssueHandler.inc.php:52

[14-Dec-2017 16:17:38 UTC] PHP Notice: Undefined variable: jquery in C:\wamp64\www\Revista\plugins\generic\lensGalley\LensGalleyPlugin.inc.php on line 115

[14-Dec-2017 16:17:38 UTC] PHP Stack trace:

[14-Dec-2017 16:17:38 UTC] PHP 1. {main}() C:\wamp64\www\Revista\index.php:0

[14-Dec-2017 16:17:38 UTC] PHP 2. PKPApplication->execute() C:\wamp64\www\Revista\index.php:68

[14-Dec-2017 16:17:38 UTC] PHP 3. Dispatcher->dispatch() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPApplication.inc.php:243

[14-Dec-2017 16:17:38 UTC] PHP 4. PKPPageRouter->route() C:\wamp64\www\Revista\lib\pkp\classes\core\Dispatcher.inc.php:134

[14-Dec-2017 16:17:38 UTC] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPPageRouter.inc.php:233

[14-Dec-2017 16:17:38 UTC] PHP 6. call_user_func:{C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372}() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372

[14-Dec-2017 16:17:38 UTC] PHP 7. IssueHandler->view() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372

[14-Dec-2017 16:17:38 UTC] PHP 8. HookRegistry::call() C:\wamp64\www\Revista\pages\issue\IssueHandler.inc.php:100

[14-Dec-2017 16:17:38 UTC] PHP 9. call_user_func:{C:\wamp64\www\Revista\lib\pkp\classes\plugins\HookRegistry.inc.php:107}() C:\wamp64\www\Revista\lib\pkp\classes\plugins\HookRegistry.inc.php:107

[14-Dec-2017 16:17:38 UTC] PHP 10. LensGalleyPlugin->issueCallback() C:\wamp64\www\Revista\lib\pkp\classes\plugins\HookRegistry.inc.php:107

[14-Dec-2017 16:17:39 UTC] PHP Strict standards: Only variables should be assigned by reference in C:\wamp64\www\Revista\classes\issue\IssueGalleyDAO.inc.php on line 169

[14-Dec-2017 16:17:39 UTC] PHP Stack trace:

[14-Dec-2017 16:17:39 UTC] PHP 1. {main}() C:\wamp64\www\Revista\index.php:0

[14-Dec-2017 16:17:39 UTC] PHP 2. PKPApplication->execute() C:\wamp64\www\Revista\index.php:68

[14-Dec-2017 16:17:39 UTC] PHP 3. Dispatcher->dispatch() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPApplication.inc.php:243

[14-Dec-2017 16:17:39 UTC] PHP 4. PKPPageRouter->route() C:\wamp64\www\Revista\lib\pkp\classes\core\Dispatcher.inc.php:134

[14-Dec-2017 16:17:39 UTC] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPPageRouter.inc.php:233

[14-Dec-2017 16:17:39 UTC] PHP 6. IssueHandler->initialize() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:369

[14-Dec-2017 16:17:39 UTC] PHP 7. IssueGalleyDAO->getByBestId() C:\wamp64\www\Revista\pages\issue\IssueHandler.inc.php:52

[14-Dec-2017 16:17:39 UTC] PHP Deprecated: Non-static method Config::getContextBaseUrls() should not be called statically, assuming $this from incompatible context in C:\wamp64\www\Revista\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php on line 199

[14-Dec-2017 16:17:39 UTC] PHP Stack trace:

[14-Dec-2017 16:17:39 UTC] PHP 1. {main}() C:\wamp64\www\Revista\index.php:0

[14-Dec-2017 16:17:39 UTC] PHP 2. PKPApplication->execute() C:\wamp64\www\Revista\index.php:68

[14-Dec-2017 16:17:39 UTC] PHP 3. Dispatcher->dispatch() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPApplication.inc.php:243

[14-Dec-2017 16:17:39 UTC] PHP 4. PKPPageRouter->route() C:\wamp64\www\Revista\lib\pkp\classes\core\Dispatcher.inc.php:134

[14-Dec-2017 16:17:39 UTC] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPPageRouter.inc.php:233

[14-Dec-2017 16:17:39 UTC] PHP 6. call_user_func:{C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372}() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372

[14-Dec-2017 16:17:39 UTC] PHP 7. IssueHandler->download() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372

[14-Dec-2017 16:17:39 UTC] PHP 8. HookRegistry::call() C:\wamp64\www\Revista\pages\issue\IssueHandler.inc.php:141

[14-Dec-2017 16:17:39 UTC] PHP 9. call_user_func:{C:\wamp64\www\Revista\lib\pkp\classes\plugins\HookRegistry.inc.php:107}() C:\wamp64\www\Revista\lib\pkp\classes\plugins\HookRegistry.inc.php:107

[14-Dec-2017 16:17:39 UTC] PHP 10. PKPUsageEventPlugin->getUsageEvent() C:\wamp64\www\Revista\lib\pkp\classes\plugins\HookRegistry.inc.php:107

[14-Dec-2017 16:17:39 UTC] PHP 11. PKPUsageEventPlugin->buildUsageEvent() C:\wamp64\www\Revista\lib\pkp\plugins\generic\usageEvent\PKPUsageEventPlugin.inc.php:110

[14-Dec-2017 16:17:39 UTC] PHP Strict standards: Declaration of IssueFileManager::downloadFile() should be compatible with FileManager::downloadFile($filePath, $mediaType = NULL, $inline = false, $fileName = NULL) in C:\wamp64\www\Revista\classes\file\IssueFileManager.inc.php on line 189

[14-Dec-2017 16:17:39 UTC] PHP Stack trace:

[14-Dec-2017 16:17:39 UTC] PHP 1. {main}() C:\wamp64\www\Revista\index.php:0

[14-Dec-2017 16:17:39 UTC] PHP 2. PKPApplication->execute() C:\wamp64\www\Revista\index.php:68

[14-Dec-2017 16:17:39 UTC] PHP 3. Dispatcher->dispatch() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPApplication.inc.php:243

[14-Dec-2017 16:17:39 UTC] PHP 4. PKPPageRouter->route() C:\wamp64\www\Revista\lib\pkp\classes\core\Dispatcher.inc.php:134

[14-Dec-2017 16:17:39 UTC] PHP 5. PKPRouter->_authorizeInitializeAndCallRequest() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPPageRouter.inc.php:233

[14-Dec-2017 16:17:39 UTC] PHP 6. call_user_func:{C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372}() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372

[14-Dec-2017 16:17:39 UTC] PHP 7. IssueHandler->download() C:\wamp64\www\Revista\lib\pkp\classes\core\PKPRouter.inc.php:372

[14-Dec-2017 16:17:39 UTC] PHP 8. import() C:\wamp64\www\Revista\pages\issue\IssueHandler.inc.php:142

If your XML is not well formed, Lens will not render it.
Can you share your XML file?

Regards,

1 Like

Hi @anupent

The problem with my xml has important information , do you have an functional xml example ?

Hi @Brandon94,

You can download JATS XML example from every our article (article’s right block). We have used Lens Viewer in the past and all had rendered as expected.

1 Like

Thank you!!! it works, let me check my xml files