CSS issue after upgrading to OJS 3.0.2

Hi!
I have upgraded from OJS 3.0.1 to 3.0.2. After upgrading my custom CSS is not working anymore, but it worked well in OJS 3.0.1. After upgrading I got just blank white screen. Now in System information is indicated that “Current version: 3.0.1.0 (November 28, 2016 - 03:12 PM)”. However I see that Refrences appeared, so it can not be OJS 3.0.1

The code of CSS is following:

.pkp_site_name .is_text {
color: #fff;
font-family: ‘Open Sans’, sans-serif;
font-weight: 550;
font-size:35px;
}

.pkp_navigation_primary > li > a,
.pkp_navigation_user > li > a,
.pkp_navigation_user > li.in_focus > a,
.pkp_navigation_user > li > a:hover,
.pkp_navigation_user > li > a:focus,
.pkp_head_wrapper .pkp_search .search_prompt {
color: #fff;
}

Hi @novikoffav,

It sounds to me like your upgrade didn’t finish successfully. What was the output from the upgrade process? Did you get anything in your PHP error log?

Regards,
Alec Smecher
Public Knowledge Project Team

I have got next log file:
[2017-02-06 02:24:00] http://ojs.phytomorphology.org
[2017-02-06 02:24:00] [Notice] Task process started.
[2017-02-06 02:24:00] [Warning] Usage statistics plugin is disabled. No log files processed.
[2017-02-06 02:24:00] [Notice] Task process stopped.

I do not know what to do with this, because first upgrade frm OJS 3.0.0 to 3.0.1 was easy and well. What is wrong now, I do not know. I tried to upgrade few times, but each time I got blank screen.

Hi @novikoffav,

A blank screen should result in a log entry being recorded somewhere – check also your Apache log, if it’s something different.

Regards,
Alec Smecher
Public Knowledge Project Team

I am doing it via CPanel on remote server, where I have to search for log?

Hi @novikoffav,

The details will depend on your host, but look for a file called error_log. Check in that same directory for other logs.

Regards,
Alec Smecher
Public Knowledge Project Team

I just made re-update of my OJS. So now version is indicated correctly - 3.0.2. But now all images disappeared from website. CSS still does not working.

Hi @novikoffav,

Did you bring the contents of your public subdirectory from the old version into the new one? See: ojs/UPGRADE at ojs-2_4_8-0 · pkp/ojs · GitHub

Regards,
Alec Smecher
Public Knowledge Project Team

Dear @asmecher,
You are right, it was my mistake. I forgot to reload public directory. Now images work. But CSS still does not.

Hi @novikoffav,

I found the CSS issue – see Custom uploaded CSS files get loaded too early · Issue #2266 · pkp/pkp-lib · GitHub. There’s a patch there you can apply in the lib/pkp subdirectory of your install.

Regards,
Alec Smecher
Public Knowledge Project Team

Thank you! Probably I will wait for OJS 3.1. I just afraid to make something wrong because I have very limited knowledge.