Menu

#7 html cache in 3.4 not displaying properly sometimes

3.8
closed-fixed
Terence
8
2021-04-15
2010-08-19
Terence
No

There is a bug with the new html caching in oscailt 3.4 where sometimes the read back of the cached files fails and a blank page is displayed.

This is probably related to file locks and the response from the fopen probably fails and nothing is read back.

The solution was to use the function file_get_contents() instead of file() to read the full file. The former reads the file to a string while the later to an array. It is likely the former is quicker and does not suffer from the file lock problem since inherently it is a read operation

The fix is in version 1.9 of the index.php

Discussion

  • Terence

    Terence - 2010-08-19

    Fixed and will wait awhile until no problems reported

     
  • Terence

    Terence - 2010-08-19
    • status: open --> open-fixed
     
  • Terence

    Terence - 2012-01-14

    See v3.5 for latest fixes to this issue which will handle the different user saved preferences

     
  • Terence

    Terence - 2021-04-15
    • status: open-fixed --> closed-fixed
    • Group: --> 3.8
     
  • Terence

    Terence - 2021-04-15

    This issue was definitely fixed by v3.8 or even earlier

     

Log in to post a comment.