#266 - Error in lang.php when $PAGE_CACHE_FILE is empty (latest 4.2.x as of 2/6/2011)

  • By
  • Added
  • 12 views
Identifier #266
Issue type Major issue (breaks an entire feature)
Title Error in lang.php when $PAGE_CACHE_FILE is empty (latest 4.2.x as of 2/6/2011)
Status Completed
Handling member Chris Graham
Addon core
Description Getting occasional stack traces across my 4.2.x test installation. I've attached the stack trace HTML page. It's complaining that rewind($PAGE_CACHE_FILE) isn't being given a 'stream resource', which I assume means that $PAGE_CACHE_FILE is empty/hasn't been generated yet.

I thought I'd report it here rather than trying to fix it myself, since caches make code nondeterministic and globals make changes nonlocal, which isn't great for someone who's never had to find out how the caches work ;)
Steps to reproduce

Sporadic. Affects various pages, including iframes. The attached stack trace was generated when I tried to search the admin zone.

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated