[Mediawiki-l] Extension help

Nelson A Li nli at csc.com
Mon Mar 10 21:11:33 UTC 2008


Hello,

Have these C:\... errors been resolved?  If yes, can Steve or someone
please tell me how?  I have problem defining the MAGPIE_DIR in Windows
environment.  I believe it is the same problem that Steve had.

Nelson

Computer Sciences Corporation
Registered Office: 2100 East Grand Avenue, El Segundo California 90245, USA
Registered in USA No: C-489-59

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

This is a PRIVATE message. If you are not the intended recipient, please
delete without copying and kindly advise us by e-mail of the mistake in
delivery.
NOTE: Regardless of content, this e-mail shall not operate to bind CSC to
any order or other contract unless pursuant to explicit written agreement
or government initiative expressly permitting the use of e-mail for such
purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------




                                                                           
             Steve VanSlyck                                                
             <s.vanslyck at spamc                                             
             op.net>                                                    To 
             Sent by:                  MediaWiki Announcements List        
             mediawiki-l-bounc         <mediawiki-l at lists.wikimedia.org>   
             es at lists.wikimedi                                          cc 
             a.org                                                         
                                                                   Subject 
                                       [Mediawiki-l] Extension help        
             02/24/2008 06:07                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
                 MediaWiki                                                 
             announcements and                                             
              site admin list                                              
             <mediawiki-l at list                                             
             s.wikimedia.org>                                              
                                                                           
                                                                           




Does anyone know how to resolve these problems:

One gentleman suggested I check the $url variable, but I installed the
magpierss code exactly as instructed (see lines from LocalSettings.php
below) and I would not know what else to do.

I'd actually prefer to use RSSReader (which is what I'm using now) but
it had even more errors. Magpie/Alexndr had only these three.

Notice: Undefined variable: url in C:\Inetpub\olr\wiki\LocalSettings.php on
line 191

Warning: MagpieRSS: fetch_rss called without a url in
C:\Inetpub\olr\wiki\extensions\magpierss\rss_fetch.inc on line 238

Parse error: syntax error, unexpected '>' in
C:\Inetpub\olr\wiki\extensions\magpierss\rss.php on line 130

=============================
LocalSettings.php lines 189-192:

189 # AlxndrRSS
190 require_once("extensions/magpierss/rss_fetch.inc");
191 $rss = fetch_rss($url);
192 include_once("extensions/magpierss/rss.php");

=============================
rss_fetch.inc lines 228-240:

228 function error ($errormsg, $lvl=E_USER_WARNING) {
229        global $MAGPIE_ERROR;
230
231        // append PHP's error message if track_errors enabled
232        if ( isset($php_errormsg) ) {
233            $errormsg .= " ($php_errormsg)";
234        }
235        if ( $errormsg ) {
236            $errormsg = "MagpieRSS: $errormsg";
237            $MAGPIE_ERROR = $errormsg;
238            trigger_error( $errormsg, $lvl);
239        }
240 }

=============================
rss.php lines 128-130:

128   #check for errors.
129   if ($rss->ERROR) {
130       return «<div>Failed to load RSS feed from $url:
».$rss->ERROR."</div>"; #localize...
131   }


_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l





More information about the MediaWiki-l mailing list