White screen - config.inc.php error

We have a problem with our application (http://czasopisma.uksw.edu.pl/). The disk was over and half of the data from the file config.inc.php has been removed. I downloaded this file from another installation by changing access to the database. Unfortunately now we have white screen.
I set
show_stacktrace = On
display_errors = On
and I have this record:

(
ojs2 has produced an error Message: WARNING: strtotime(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone. In file: /var/www/html/ojs/lib/pkp/classes/scheduledTask/ScheduledTaskDAO.inc.php At line: 46 Stacktrace: File: (unknown) line (unknown) Function: PKPApplication->errorHandler(2, “strtotime(): It is not safe to rely on the system’s timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone ‘UTC’ for now, but please set date.timezone to select your timezone.”, “/var/www/html/ojs/lib/pkp/classes/scheduledTask/ScheduledTaskDAO.inc.php”, 46, Array(2)) File: /var/www/html/ojs/lib/pkp/classes/scheduledTask/ScheduledTaskDAO.inc.php line 46 Function: strtotime(“2017-10-27 08:34:32”) File: /var/www/html/ojs/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php line 85 Function: ScheduledTaskDAO->getLastRunTime(“plugins.generic.usageStats.UsageStatsLoader”) File: /var/www/html/ojs/plugins/generic/acron/AcronPlugin.inc.php line 355 Function: ScheduledTaskHelper->checkFrequency(“plugins.generic.usageStats.UsageStatsLoader”, Object(XMLNode)) File: /var/www/html/ojs/plugins/generic/acron/AcronPlugin.inc.php line 140 Function: AcronPlugin->_getTasksToRun() File: (unknown) line (unknown) Function: AcronPlugin->callbackLoadHandler(“LoadHandler”, Array(3)) File: /var/www/html/ojs/lib/pkp/classes/plugins/HookRegistry.inc.php line 89 Function: call_user_func(Array(2), “LoadHandler”, Array(3)) File: /var/www/html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php line 178 Function: HookRegistry->call(“LoadHandler”, Array(3)) File: /var/www/html/ojs/lib/pkp/classes/core/Dispatcher.inc.php line 134 Function: PKPPageRouter->route(Object(Request)) File: /var/www/html/ojs/lib/pkp/classes/core/PKPApplication.inc.php line 178 Function: Dispatcher->dispatch(Object(Request)) File: /var/www/html/ojs/index.php line 64 Function: PKPApplication->execute() Server info: OS: Linux PHP Version: 5.4.16 Apache Version: Apache/2.4.6 (CentOS) PHP/5.4.16 DB Driver: mysql DB server version: 5.5.47-MariaDB

Can you help me?
Peter

HI @karwas

Presuming it is not an OJS problem, but a stack one, as you said.
I can say to you that when a disk is over you may loose data from database also files or part of it.
Rather than debugging a problematic current stack I’d recommend you restore a previous version of your database and file system, then make adjustment from there.

Regards,
Israel Cefrin
Public Knowledge Project Team

The problem with the disk appeared today and I am sure that the problem is related to the config.inc.php file - because I only changed it. On the platform we have about 10 magazines and I am afraid to remove the data.

Hi @karwas,

The most common causes of a white screen are file permissions (typically in cache/), or the wrong database driver being used (e.g. PHP7 will require mysqli and PHP5.x will require mysql).

Regards,
Alec Smecher
Public Knowledge Project Team