Results 1 to 3 of 3
  1. #1
    Constant Pligger revolver's Avatar
    Joined
    Oct 2006
    Posts
    220
    Thanks
    Received:0
    Given: 0

    How do you update the cached version of a page?

    I am trying to debug an error i'm getting on the user and profile pages and i want to try to update the cached version of these pages when a user uploads a new avatar photo. I have no idea how the caching system works, but is there a function that can be called at the end of the upload process to update the cache of these pages?

  2. #2
    Mayor of PliggVille/Coder AshDigg's Avatar
    Joined
    Dec 2005
    Posts
    1,515
    Thanks
    Received:0
    Given: 0
    The profile page is not cached. The template is "compiled" but that only affects the speed in which PHP processes it. You can try to remove all the files in the templates_c folder and see if that helps, but this should only need to be done if you change the php or html code for the page.

  3. #3
    Constant Pligger revolver's Avatar
    Joined
    Oct 2006
    Posts
    220
    Thanks
    Received:0
    Given: 0
    Thanks AshDigg.

    It looks like the problem i am trying to solve is a bug and that it affects both 8.2 and 9. (see http://www.pligg.com/forum/showthread.php?t=3773)

    When a user tries to update their avatar the old image continues to be used on the profile and user pages until i update the php code for the profile / user pages or empty the templates_c folder.

    This is a fairly significant and confusing bug for users.

    AshDigg ... is there something that can be added to the profile.php to fix this bug?

Similar Threads

  1. How to update Plingger? Have version .4
    By comptalk in forum Questions & Comments
    Replies: 2
    Last Post: 05-09-2010, 09:09 PM
  2. update 9.8 to a higher version and later to plig 1.01
    By meridaman in forum Questions & Comments
    Replies: 5
    Last Post: 09-10-2009, 01:03 PM
  3. SVN Version update issue
    By animas in forum Questions & Comments
    Replies: 7
    Last Post: 01-24-2008, 03:22 PM
  4. Odd proble with Google Cached Version of my site
    By Critter183 in forum Questions & Comments
    Replies: 2
    Last Post: 03-20-2007, 12:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Pligg Modules and Pligg Templates from Pligg Pro Web Hosting Services by Midphase Dreamhost Web Hosting Donate to Pligg