OJS OCS OMP OHS

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
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.

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.
mcampos
 
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.

Regards,
Alec Smecher
Public Knowledge Project Team
---
Don't miss the First International PKP Scholarly Publishing Conference
July 11 - 13, 2007, Vancouver, BC, Canada
http://ocs.sfu.ca/pkp2007/
asmecher
 
Posts: 8905
Joined: Wed Aug 10, 2005 12:56 pm

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

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


Return to OJS Technical Support

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 7 guests