ojs refuse to load paper

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
fireport
Posts: 30
Joined: Tue Mar 31, 2009 3:57 am

ojs refuse to load paper

Postby fireport » Mon May 14, 2012 8:43 am

Ojs refuse to load a paper of one of my users.
After choosing the file name (.pdf) and clicking subit, the page reload but the paper doesn't load. If she try to load a .doc file, the procedure continue to next step.
In the log files, apache doesn't report any error.
Do you have some hints ?

JasonNugent
Site Admin
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: ojs refuse to load paper

Postby JasonNugent » Mon May 14, 2012 9:30 am

Hi fireport,

How large is the document your author is trying to submit? If it is too large, she may be encountering PHP's file upload limit. You can adjust this limit in PHP's php.ini file on your server, and then restart Apache. I believe that the default size is only 2Mb.

Regards,
Jason

fireport
Posts: 30
Joined: Tue Mar 31, 2009 3:57 am

Re: ojs refuse to load paper

Postby fireport » Tue May 15, 2012 12:04 am

in /etc/php.ini the post limit is set to 8M

; Maximum size of POST data that PHP will accept.
post_max_size = 8M


The author was able to upload paper reducing it's size from 2499 KB to 634 KB

JasonNugent
Site Admin
Posts: 910
Joined: Tue Jan 10, 2006 6:20 am

Re: ojs refuse to load paper

Postby JasonNugent » Tue May 15, 2012 3:52 am

Hi fireport,

Yes, but there is also another directive in php.ini that needs to be set:

upload_max_filesize = 2M ; default

Regards,
Jason

fireport
Posts: 30
Joined: Tue Mar 31, 2009 3:57 am

Re: ojs refuse to load paper

Postby fireport » Tue May 15, 2012 8:00 am

Ok, I changed the default to 4M. But, I think that a message need to be implemented. Otherwise the user can't understand why paper refuse to load.

Thanks !


Return to “OJS Technical Support”

Who is online

Users browsing this forum: No registered users and 1 guest