OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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 ?
fireport
 
Posts: 30
Joined: Tue Mar 31, 2009 3:57 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
JasonNugent
Site Admin
 
Posts: 894
Joined: Tue Jan 10, 2006 6:20 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
fireport
 
Posts: 30
Joined: Tue Mar 31, 2009 3:57 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
JasonNugent
Site Admin
 
Posts: 894
Joined: Tue Jan 10, 2006 6:20 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 !
fireport
 
Posts: 30
Joined: Tue Mar 31, 2009 3:57 am


Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 3 guests

cron