OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



unresponsive scripts in firefox and php execution timeout

Are you an Editor, Author, or Journal Manager in need of help? Want to talk to us about workflow issues? This is your forum.

Moderators: jmacgreg, michael, vgabler, John

Forum rules
This forum is meant for general questions about the usability of OJS from an everyday user's perspective: journal managers, authors, and editors are welcome to post questions here, as are librarians and other support staff. We welcome general questions about the role of OJS and how the workflow works, as well as specific function- or user-related questions.

What to do if you have general, workflow or usability questions about OJS:

1. Read the documentation. We've written documentation to cover from OJS basics to system administration and code development, and we encourage you to read it.

2. take a look at the tutorials. We will continue to add tutorials covering OJS basics as time goes on.

3. Post a question. Questions are always welcome here, but if it's a technical question you should probably post to the OJS Technical Support subforum; if you have a development question, try the OJS Development subforum.

unresponsive scripts in firefox and php execution timeout

Postby tmreyno » Fri Mar 10, 2006 11:21 am

Hello all,

This is an informational message about OJS scripts timeouts, php, and firefox 1.5x. Many people have been posting issues with php timing out with long script execution times. I also noticed many are not able to access the php.ini file since they are not the administrator or manager of the servers their ojs is installed.

In a previous topic on installation problems http://pkp.sfu.ca/support/forum/viewtopic.php?t=744 I suggested that people change or create a .htaccess file and place these php overrides below. These overrides will allow longer execution times and larger file sizes and the numbers can be adjusted as needed.

Code: Select all
php_value max_execution_time 120
php_value memory_limit 200M
php_value post_max_size 20M
php_value upload_max_filesize 20M


Use these php overrides with caution and make sure if you are in a hosted environment that this is allowable. This may also be handy for those who manage their own servers and multiple websites and do not want to change the globals in the php.ini. Using .htaccess files will allow changing of one websites ability and not the entire servers hosted websites thus reducing possible resource bottlenecks.

For firefox and I think mozilla you can up your script execution times by typing in about:config in the browser address bar and follow it as a url.

look for the
Code: Select all
dom.max_script_run_time

and change this to something higher.

These suggested .htaccess and firefox/mozilla settings are only needed for installation, migration of large journal files, development, and testing. As for after installation, I do not think these adjustments are necessary.

Terry Reynolds
Reynolds Data Communications
tmreyno
 
Posts: 6
Joined: Tue Jun 21, 2005 11:43 am

Return to OJS Editorial Support and Discussion

Who is online

Users browsing this forum: No registered users and 2 guests