Solved

Moodle Apache PHP Notice: MagpieRSS Cache HIT

Posted on 2010-11-11
4
673 Views
Last Modified: 2013-11-18
SAMP Server via Sun/Oracle Webstack 1.6
Moodle 1.9.10

I just took over our Moodle server. When checking the Apache error log, it gets flooded with the same error, over and over again. Seems to occur every time someone hits the Moodle homepage.  Moodle is the only web app running on this server.

[client xxx.xxx.xxx.xxx] PHP Notice:  MagpieRSS [debug] MagpieRSS: Cache HIT in /moodle/lib/magpie/rss_fetch.inc on line 254

Does anyone know what is going on?
0
Comment
Question by:ucstechinfo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 10

Expert Comment

by:NetExpert-Warszawa
ID: 34119344
It looks like just a notice that some data were taken from cache.
0
 
LVL 10

Accepted Solution

by:
NetExpert-Warszawa earned 500 total points
ID: 34119358
Here is a piece of code from rss_fetch.inc
if (!$cache->ERROR) {
            // return cache HIT, MISS, or STALE
            $cache_status = $cache->check_cache( $cache_key);
        }
                
        // if object cached, and cache is fresh, return cached obj
        if ( $cache_status == 'HIT' ) {
            $rss = $cache->get( $cache_key );

Open in new window

0
 
LVL 10

Assisted Solution

by:NetExpert-Warszawa
NetExpert-Warszawa earned 500 total points
ID: 34119379
Set an error_reporting setting in a php.ini file to disable NOTICE messages - E_ALL & ~E_NOTICE (this is a default value). There is no need for the messages in a production environment.
0
 
LVL 1

Author Comment

by:ucstechinfo
ID: 34122362
Thanks for the info.  I just wanted to verify whether or not this 'error' is considered normal behavior.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
This article discusses how to implement server side field validation and display customized error messages to the client.
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question