Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Moodle Apache PHP Notice: MagpieRSS Cache HIT

Posted on 2010-11-11
4
Medium Priority
?
685 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 2000 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

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.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…
Suggested Courses

876 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