Technical problems

Hello! Good Evening! I have a problem with my OJS3, when I try to create a Journal and complete the information the system dont work, when I save the information the system only stays loading and does not save the information, I do not know if it is a platform problem or my server, I wait for your answers thanks!

Hi David,

Do you have access to your server logs? Some useful information may be being logged there.

Cheers,
Jason

Hi Jason! thanks Im looking for that information, I have access to mi server and Im looking in the “files” directory , there are some records but its only a messages like: the task has not generated any record. I don`t know if you can help me. Where can I search the logs?

Hi David,

The logs I am referring to are your server/Apache logs. They are probably located in the /var/logs directory, maybe in a sub directory called apache2 or httpd. Anything there?

Cheers,

Hi Jason how are you? I hope you are ok! I was waching for the logs and I found 2 errors the first one its a warning about the time.zone and the second one I don`t know how to resolve its like that:

[Wed Jan 09 19:28:28.062595 2019] [:error] [pid 12578] [client 10.24.8.64:53048] [client 10.24.8.64] ModSecurity: Access denied with code 403 (phase 2). Pattern match “\\W{4,}” at ARGS:description[es_ES]. [file “/etc/httpd/modsecurity.d/activated_rules/modsecurity_crs_40_generic_attacks.conf”] [line “37”] [id “960024”] [rev “2”] [msg “Meta-Character Anomaly Detection Alert - Repetative Non-Word Characters”] [data “Matched Data: \xe2\x80\x9c found within ARGS:description[es_ES]:

IDEAS (Innovation and Development in Engineering and Applied Sciences) of the \xe2\x80\x9cFacultad de Ingenier\xc3\xada en Ciencias Aplicadas \xe2\x80\x9d at the T\xc3\xa9cnica del Norte University, is the means for the dissemination of results in research and technical studies by professors, professionals, students graduate and postgraduate, national and international experts in related areas.

”] [ver “OWASP_CRS/2.2.9”] [maturity “9”] [accuracy “8”] [hostname “revistaideas.utn.edu.ec”] [uri “/ojs/index.php/ideas/$$$call$$$/tab/settings/journal-settings-tab/save-form-data”] [unique_id “XDaRrB-DynB-aXTBTO5lCwAAAAg”], referer: http://revistaideas.utn.edu.ec/ojs/index.php/ideas/management/settings/context

I hope you can help me!
Chears!

Hi David,

Okay, it looks like you might have to speak with who ever maintains your server and discuss their mod_security restrictions. They appear to be blocking your OJS installation because of rules in this file:

/etc/httpd/modsecurity.d/activated_rules/modsecurity_crs_40_generic_attacks.conf

That file is not part of OJS.

Regards,
Jason

1 Like

Thanks Jason I appreciate your help, I have another question, If I have access to the server I can do anything to solve that problem? because I can access to the server with teamviewer.

Cheers.

Hi David - maybe. You’d need root access, and I’d probably first start by disabling mod_security in Apache to see if that immediately solves your problem, and then re-enabling it and editing the rules until OJS runs correctly with it enabled.

Cheers,

1 Like

Ok, I have root access I will try to disable, and I tell you what happens, and again thank you very much for your help.