Summary and Review Truncated

I am using OJS 2.4.8.0

I am now experiencing a truncated view of Summary and Review. It was happened after author completed submission without uploading an article file (was OK) but after I asked her to upload the original article file but she uploaded the file as supplementary file.

In Summary view shows blank after Supp. files

<tr valign="top">
     <td class="label">Supp. files</td>
     <td colspan="2" class="value">
    										</td></tr></tbody></table></div>

In summary view shows blank after Supp. files

<tr valign="top">
     <td class="label" rowspan="1">Supp. files</td>
     <td class="value nowrap" width="80%">
           <form method="post" action="http://journal.bio.unsoed.ac.id/index.php/scribio/editor/setSuppFileVisibility">
           <input name="articleId" value="327" type="hidden">
           <input name="fileId" value="18" type="hidden">
           </form>
    										</td></tr></tbody>

How to solve this situation?

Best wishes and thank you in advance.
Romy

This suggests a PHP Fatal error which occurred in the template processing. Check your webserver error log for additional details.

Thank you,

I have the following errors:

[Tue Dec 06 19:03:23.414116 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215: ojs2 has produced an error, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414128 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:   Message: WARNING: Cannot use a scalar value as an array, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414148 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:   In file: /var/www/clients/client1/web5/web/classes/journal/JournalSettingsDAO.inc.php, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414155 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:   At line: 83, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414161 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:   Stacktrace: , referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414168 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:   Server info:, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414174 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:    OS: Linux, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414184 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:    PHP Version: 5.5.9-1ubuntu4.20, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414191 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:    Apache Version: N/A, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414199 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:    DB Driver: mysql, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.414211 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215:    DB server version: 5.5.53-0ubuntu0.14.04.1, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:23.544992 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215: PHP Fatal error:  Call to a member function getFileType() on a non-object in /var/www/clients/client1/web5/web/cache/t_compile/%%5A^5AA^5AA9AD09%%management.tpl.php on line 57, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned
[Tue Dec 06 19:03:28.922168 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215: PHP Fatal error:  Call to a member function getFileType() on a non-object in /var/www/clients/client1/web5/web/cache/t_compile/%%48^481^4812090A%%peerReview.tpl.php on line 116, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submission/327
[Tue Dec 06 19:03:30.458728 2016] [cgi:error] [pid 26701] [client 10.38.2.186:56669] AH01215: PHP Fatal error:  Call to a member function getFileType() on a non-object in /var/www/clients/client1/web5/web/cache/t_compile/%%B7^B7A^B7A14946%%layout.tpl.php on line 203, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissionReview/327

This sounds like:

Thank you to direct me to the above solution, but I get the following error when deleting the metaCitation entries

    Error

    SQL query:

    DELETE FROM `c1journal`.WHERE `journal_settings`.`journal_id` =2 AND `journal_settings`.`locale` = 'en_US' AND `journal_settings`.`setting_name` = 'metaCitations'

    MySQL said: Documentation
    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE `journal_settings`.`journal_id` = 2 AND `journal_settings`.`locale` = 'en_' at line 1

The syntax for an SQL delete is:
DELETE FROM tablename WHERE condition.

A tablename can be specified with the database name prefixed, as databasename.tablename.

The specific error MySQL is complaining about is that it looks like you’ve lost the tablename after your databasename in the FROM clause.

See also:
http://www.w3schools.com/sql/sql_delete.asp

I did all necessary things as suggested but still it does not solve my truncated vie problem.
I check the error.log and I got the following record:

[Wed Dec 07 11:13:21.045546 2016] [cgi:error] [pid 20739] [client 10.38.2.186:50203] AH01215: PHP Fatal error:  Call to a member function getFileType() on a non-object in /var/www/clients/client1/web5/web/cache/t_compile/%%5A^5AA^5AA9AD09%%management.tpl.php on line 57, referer: http://journal.bio.unsoed.ac.id/index.php/scribio/editor/submissions/submissionsUnassigned

Here is the screenshot:

Did you start with this SQL query from http://wayback.archive-it.org/7100/20160822075754/http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=10899#p42264?

SELECT DISTINCT s1.setting_name FROM journal_settings s1, journal_settings s2 WHERE s1.setting_name = s2.setting_name AND s1.locale = '' AND s2.locale <> '';

Perhaps there is a setting other than the “metaCitations” which is not properly localized?

Yes I did and delete the metaCitations and run that script again now returned an empty result set.
Since I could not delete the submission as the Editor, I then deleted the submission without original file directly in the database and the problem gone. But I am afraid the problem still remain.

Are you still able to replicate the problem on any submissions? It would be interesting to drill in and find the particular setting which is causing the problem.

Hi again,

I just tried make a submission without uploading a file and now everything looks fine. Thank you very much Clinton.

Best wishes,
Romy