You are viewing the PKP Support Forum | PKP Home Wiki

Sharing experience: Update source code, drop cache files

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.

Sharing experience: Update source code, drop cache files

Postby mcampos » Thu Jun 14, 2007 11:55 am

I would like to share experience that I had when altering OJS source code for particular necessity. Always when I altered a file locally in my computer and upload this file to server, the changes didn't appear when open page in browser. I needed put some extra characters to increase the file size or delete to decrease, for that the system don't use the page in cache, rendering a new version of the page. This process of update pages was very tiring. For you don't have to past for this, you can drop files in folder cache/t_compile on webserver, thus, the page is rendered again showing the new changes.

I wait that it helps who need to do changes in OJS source code to customize the system.

Sorry by English errors.
Posts: 13
Joined: Thu Mar 15, 2007 1:53 pm
Location: Brazil

Postby asmecher » Thu Jun 14, 2007 12:33 pm

Hi Manoel,

If you set file permissions properly (i.e. so that the web server can administer files in the cache directory, including all subdirectories), flushing the template files manually shouldn't be necessary. If you're on a Unix-like server, I'd suggest making sure permissions on your cache directory are properly set using the -R options to chmod, chown, and chgrp.

Alec Smecher
Public Knowledge Project Team
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Postby mcampos » Thu Jun 14, 2007 12:48 pm

Thank you, good to know.
Posts: 13
Joined: Thu Mar 15, 2007 1:53 pm
Location: Brazil

Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests