Solved

Moodle Apache PHP Notice: MagpieRSS Cache HIT

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

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
hosting images 4 30
Presenting past 6 months bug 7 30
PHP AJAX Wordpress 9 21
mod_rewrite # anchor problem. 6 17
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

803 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