Solved

Moodle Apache PHP Notice: MagpieRSS Cache HIT

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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn the basics of jQuery including how to code hide show and toggles. 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…

685 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