I have been trying to install the OJS 3.0.2, I did install the updated XAMP 5.5.34 under Windows 7, when I run - localhost/ojs, I get at the top error below :
DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in C:\xampp\htdocs\ojs\plugins\blocks\developedBy\DevelopedByBlockPlugin.inc.php on line 20
Warning: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in C:\xampp\htdocs\ojs\plugins\blocks\developedBy\DevelopedByBlockPlugin.inc.php on line 20
Warning: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in C:\xampp\htdocs\ojs\plugins\blocks\developedBy\DevelopedByBlockPlugin.inc.php on line 20
After that it allows to choose only MySQLi, anyway I did proceed but after creating new journal when I wrote the path option it does not redirect me to the Wizard setting, when I tried click the setting Wizard option it shows below :
‘’ The current role does not have access to this operation.’’
Could anyone please help me out ?
Hi @zesan_riky,
The warnings are cosmetic and should be resolved with the next release of OJS. Meanwhile, you can ignore them. Make sure you direct error/warning messages to the log, rather than the browser, as they may interfere with AJAX requests.
Ensure that your install completed fully. If you don’t get a message to that effect, then your installation may be incomplete – I suspect that’s the cause of the “The current role does not have access” message. You may e.g. have hit a PHP execution limit, which should be logged in your PHP error log.
Regards,
Alec Smecher
Public Knowledge Project Team
After installing I get the message of successful installation, how could I resolve PHP error log ?
Hi @zesan_riky,
When you create a new journal, do you get anything interesting in the PHP error log?
Regards,
Alec Smecher
Public Knowledge Project Team
Actually I am very new in it, I don’t know where the PHP error log resides and how to deal with it, sorry for bothering again.
Hi @zesan_riky,
Your PHP error log’s location will depend on your server configuration. In most shared hosts, there will be a file called error_log
somewhere in your account. If you can’t find it, check StackOverflow.com.
Regards,
Alec Smecher
Public Knowledge Project Team
I am back again after figuring out the path of php error log file, Stack Overflow is telling in Windwos it resides in \xampp\apache\logs\error.log but in logs folder I can not find such file named error.log file and then I was running XAMPP and clicked the Logs button option beside the Apache but it was showing empty file, got confused what to do .
Hi @zesan_riky,
Locating the PHP error log is outside the scope of this forum – if an existing Stack Overflow question doesn’t give you the information you need, you might try posting a question of your own.
Regards,
Alec Smecher
Public Knowledge Project Team