Hi, i´m new here. I have some problem with bootstrap3 theme. this is the problem. Somebody knows what to do? THank you.
Hi @luismurillo,
Which of our applications are you using, and what version? (Please include this information in your posts.)
Regards,
Alec Smecher
Public Knowledge Project Team
Hi,
im using OJS 3.0.1 and bootstrap 1.0.1
Hi @luismurillo,
I’d suggest a few things…
- If possible, upgrade your installation the latest (currently OJS 3.0.2).
- Make sure your cache directory has correct permissions set (see the FAQ for a description).
- Try removing all
.css
files from yourcache/
directory to cause them to be re-generated. - Check your PHP error log to see if any relevant details appear there.
Regards,
Alec Smecher
Public Knowledge Project Team
I have installe the last version of OJS and bootstrap, and I have the same problem. WHen i use bootstrap theme, the page looks like this:
http://medicinaclinica.org/revista/index.php/rmc/index
Quick jump to page content
Main Navigation
Main Content
Sidebar
luismurillo 0
Dashboard 0
View Profile
Administration
Logout
Toggle navigation
Journal of Clinical Medicine
Current
Archives
About
About the Journal
Editorial Team
Submissions
Contact
Search
Open Journal Systems
Language
English
Español (España)
Information
For Readers
For Authors
For Librarians
Open Journal Systems Public Knowledge Project
Hi @luismurillo,
Can you describe the problem more specifically?
Regards,
Alec Smecher
Public Knowledge Project Team
http://medicinaclinica.org/revista/index.php/rmc/index
If you can see the problem in this link
thank you
If I activate degub, I get this:
Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/ipao/public_html/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
Strict Standards: Declaration of IssueHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/ipao/public_html/pages/issue/IssueHandler.inc.php on line 337
Strict Standards: Declaration of IssueHandler::initialize() should be compatible with PKPHandler::initialize($request, $args = NULL) in /home/ipao/public_html/pages/issue/IssueHandler.inc.php on line 337
Strict Standards: Declaration of PublishedArticleDAO::getBySetting() should be compatible with ArticleDAO::getBySetting($settingName, $settingValue, $journalId = NULL, $rangeInfo = NULL) in /home/ipao/public_html/classes/article/PublishedArticleDAO.inc.php on line 20
Strict Standards: Declaration of InstitutionalSubscription::isValid() should be compatible with Subscription::isValid($check = SUBSCRIPTION_DATE_BOTH, $checkDate = NULL) in /home/ipao/public_html/classes/subscription/InstitutionalSubscription.inc.php on line 127
Strict Standards: Only variables should be assigned by reference in /home/ipao/public_html/pages/index/IndexHandler.inc.php on line 74
Hi @luismurillo,
Attempting to view the theme’s CSS directly (http://medicinaclinica.org/revista/index.php/rmc/$$$call$$$/page/page/css?name=bootstrap) I see that a blank stylesheet is getting served up. Can you double-check that you don’t see anything beyond the quoted warnings above when you fetch this directly? How did you install the theme?
Regards,
Alec Smecher
Public Knowledge Project Team
Yes, the page is blank.
I install bootstrap directly from the repository on git
Hi @luismurillo,
What directory is it installed into? Did you find anything relevant in the logs per my last post?
Regards,
Alec Smecher
Public Knowledge Project Team
The file is located in revista/plugin/theme
Thera are no message, the page is blank
Hi @luismurillo,
What path do you see the version.xml
file for that plugin in? Also, I’m still not clear on whether you looked in your PHP error log.
Regards,
Alec Smecher
Public Knowledge Project Team
the path is
plugins/generic/bootstrap3/version.xml
the php_log that I see is:
Stack trace:
#0 /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Parser.php(319): Less_Parser->Error(‘File `/home/ipa…’)
#1 /home/ipao/public_html/revista/lib/pkp/classes/template/PKPTemplateManager.inc.php(400): Less_Parser->parseFile(’/home/ipao/publ…’)
#2 /home/ipao/public_html/revista/lib/pkp/controllers/page/PageHandler.inc.php(138): PKPTemplateManager->compileLess(‘bootstrapTheme-…’, ‘/home/ipao/publ…’, Array)
#3 [internal function]: PageHandler->css(Array, Object(Request))
#4 /home/ipao/public_html/revista/lib/pkp/classes/core/PKPRouter.inc.php(372): call_user_func(Array, Array, Object(Request))
#5 /home/ipao/public_html/revista/lib/pkp/classes/core/PKPComponentRouter.inc.php(262): PKPRouter->_authorizeInitializeAndCall in /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Parser.php on line 2606
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/ipao/public_html/revista/lib/pkp/controllers/page/PageHandler.inc.php on line 19
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:52 America/Chicago] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 64 bytes) in /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Visitor.php on line 45
Im sorry if I don´t understand everithing. Im MD, Neurologist.
Hi @luismurillo,
Ah, those error messages are helpful, but it looks like the top got chopped off. Could you post a little more of that log file, ensuring that you use the “preformatted text” tool when posting it here?
Regards,
Alec Smecher
Public Knowledge Project Team
I´m sorry, the file log_error is too huge. Can I send it to you by mail
Stack trace:
#0 /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Parser.php(319): Less_Parser->Error('File `/home/ipa...')
#1 /home/ipao/public_html/revista/lib/pkp/classes/template/PKPTemplateManager.inc.php(400): Less_Parser->parseFile('/home/ipao/publ...')
#2 /home/ipao/public_html/revista/lib/pkp/controllers/page/PageHandler.inc.php(138): PKPTemplateManager->compileLess('bootstrapTheme-...', '/home/ipao/publ...', Array)
#3 [internal function]: PageHandler->css(Array, Object(Request))
#4 /home/ipao/public_html/revista/lib/pkp/classes/core/PKPRouter.inc.php(372): call_user_func(Array, Array, Object(Request))
#5 /home/ipao/public_html/revista/lib/pkp/classes/core/PKPComponentRouter.inc.php(262): PKPRouter->_authorizeInitializeAndCall in /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Parser.php on line 2606
[28-Jun-2017 17:04:39 America/Chicago] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 64 bytes) in /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Visitor.php on line 45
[28-Jun-2017 17:04:47 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:47 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:47 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:47 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:47 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:47 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:47 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:47 America/Chicago] PHP Strict Standards: Declaration of UserHandler::validate() should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL) in /home/ipao/public_html/revista/pages/user/UserHandler.inc.php on line 18
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/ipao/public_html/revista/lib/pkp/controllers/page/PageHandler.inc.php on line 19
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:48 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:48 America/Chicago] PHP Fatal error: Uncaught exception 'Less_Exception_Parser' with message 'File `/home/ipao/public_html/revista/plugins/themes/bootstrap3/styles/bootstrap3.less` not found.' in /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Parser.php:2606
Stack trace:
#0 /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Parser.php(319): Less_Parser->Error('File `/home/ipa...')
#1 /home/ipao/public_html/revista/lib/pkp/classes/template/PKPTemplateManager.inc.php(400): Less_Parser->parseFile('/home/ipao/publ...')
#2 /home/ipao/public_html/revista/lib/pkp/controllers/page/PageHandler.inc.php(138): PKPTemplateManager->compileLess('bootstrapTheme-...', '/home/ipao/publ...', Array)
#3 [internal function]: PageHandler->css(Array, Object(Request))
#4 /home/ipao/public_html/revista/lib/pkp/classes/core/PKPRouter.inc.php(372): call_user_func(Array, Array, Object(Request))
#5 /home/ipao/public_html/revista/lib/pkp/classes/core/PKPComponentRouter.inc.php(262): PKPRouter->_authorizeInitializeAndCall in /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Parser.php on line 2606
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/ipao/public_html/revista/lib/pkp/controllers/page/PageHandler.inc.php on line 19
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 79
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:49 America/Chicago] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/ipao/public_html/revista/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[28-Jun-2017 17:04:52 America/Chicago] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 64 bytes) in /home/ipao/public_html/revista/lib/pkp/lib/vendor/oyejorge/less.php/lib/Less/Visitor.php on line 45
I don´t know if this is enough, because the file is huge.
Hi @luismurillo,
Where did you get the bootstrap 3 theme, e.g. which version of the plugin is it?
Regards,
Alec Smecher
Public Knowledge Project Team
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE version SYSTEM "../../../lib/pkp/dtd/pluginVersion.dtd">
<!--
* plugins/generic/bootstrap3/version.xml
*
* Copyright (c) 2014-2017 Simon Fraser University Library
* Copyright (c) 2003-2017 John Willinsky
* Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
*
* Plugin version information.
-->
<version>
<application>bootstrap3</application>
<type>plugins.themes</type>
<release>1.0.2.0</release>
<date>2017-02-06</date>
<lazy-load>0</lazy-load>
<class>BootstrapThreeThemePlugin</class>
</version>