Solved

Moodle Apache PHP Notice: MagpieRSS Cache HIT

Posted on 2010-11-11
4
657 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
  • 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

708 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now