Hi,
I have just installed OJS 3.1.2-4 at Ubuntu Server 18.04.2 LTS (LAMP)
OS platform Linux
PHP version 7.2.24-0ubuntu0.18.04.2
Apache version Apache/2.4.29 (Ubuntu)
Database driver mysqli
Database server version 5.7.25-0ubuntu0.18.04.2
OJS when creating a journal, the system hangs and does not create. In logs writes an error
PHP Warning: Declaration of JournalSiteSettingsForm::execute() should be compatible with Form::execute(…$functionArgs) in /var/www/ojs/controllers/grid/admin/journal/form/JournalSiteSettingsForm.inc.php on line 18, referer:http://localhost/index.php/index/admin/contexts
hi @Aznur - those are just PHP warnings and will not cause the problem you describe. You should look for “Fatal Errors” in the log instead.
Cheers,
Jason
Hi @jnugent There are no Fatal PHP errors, but the system still does not create journal
Hi @Aznur,
I have a very similar error with the same version, but with the Custon Header plugin. What did you do to fix this error?
Declaration of CustomHeaderSettingsForm::execute($request, ...$functionArgs) should be compatible with Form::execute(...$functionArgs)
Hi! It seems then there were problems with the database! Try these commands:
CREATE DATABASE database_name DEFAULT CHARACTER SET utf8;
CREATE USER ‘user_name’@‘localhost’ IDENTIFIED BY ‘yourpassword’;
GRANT ALL PRIVILEGES ON database_name.* TO ‘user_name’@‘localhost’;
FLUSH PRIVILEGES;
And check the permissions on directories and files:
sudo chmod 755 /var/www/journal/ojs/cache/
sudo chmod -R 755 /var/www/journal/ojs/cache/_db
sudo chmod -R 755 /var/www/journal/ojs/cache/t_cache
sudo chmod -R 755 /var/www/journal/ojs/cache/t_compile
sudo chmod 755 /var/www/journal/ojs/public
sudo chmod 755 /var/www/journal/ojs/config.inc.php
This topic was automatically closed after 3 days. New replies are no longer allowed.