ucla-oarc-mobile / mwf

UCLA Mobile Web Framework
http://mwf.ucla.edu
Other
86 stars 25 forks source link

new mwf/var/cache directory is empty? #167

Closed BerkeleyEdu closed 11 years ago

BerkeleyEdu commented 11 years ago

I do not see any files in 'mwf/var/cache' -- shouldn't I see something in there after browsing the site? I had the owner changed to "apache" and that got rid of the 'PHP Warning: mkdir(): Permission denied ' error.

drwxrwxr-x 3 apache webmaster 4096 Sep 7 13:09 var -sh-3.2$ ls -l var total 16 drwxrw-r-- 3 apache webmaster 4096 Sep 7 13:09 cache -rwxrwxr-x 1 apache webmaster 198 Aug 10 10:36 README

What else do I need to do to get the cache working?

-Sara

Trott commented 11 years ago

You will only see stuff in mwf/var/cache if you visit something that uses the cache. Typically, this would be a page that uses the image compressor or a page that uses the Feed API.

BerkeleyEdu commented 11 years ago

Makes sense. The image compressor may be a different problem -- have submitted a separate ticket.

The news feed appears to be working but I still do not see cached files. Just noticed this:

; Name of the subdirectory within the cache directory for use by the Feed API cache_name="simplepie"

Maybe I need to have the directory created ahead of time inside of var/cache? I do not have necessary permissions so will need to ask sys adm to mkdir. Should the permissions be the same as the cache directory?

-Sara

On 9/12/2012 10:31 PM, Trott wrote:

You will only see stuff in mwf/var/cache if you visit something that uses the cache. Typically, this would be a page that uses the image compressor or a page that uses the Feed API.

— Reply to this email directly or view it on GitHub https://github.com/ucla/mwf/issues/167#issuecomment-8518659.

Sara Leavitt, Electronic Communications Specialist UC Berkeley Office of Public Affairs 2200 Bancroft Way, Berkeley, CA 94720-4204 Phone: 510 643-6163 http://events.berkeley.edu http://www.berkeley.edu/mobile

Trott commented 11 years ago

I believe this is all resolved, but if not, go ahead and email me.