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 }
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");
Where did you get those lines of code from? I can't find them anywhere.
Tom,
The first two lines are in the instructions for installing magpierss. The third is in the instructions for installing Alxndr RSS. The /magpierss path is inserted so that I could put the magpierss files into their own directory, and I decided to put rss.php (Alxndr's code) into that directory as well. I've received no complaints from the server for doing that. I don't know why the lines don't start with ${IP} or $IP like other require and include lines do.
Magpie sez to put its two lines "at the top" of LocalSettings.php but nothing else in my configuration requires magpie so I thought it would be fine to just put them before the rss.php code, for which they are (apparently) a prerequisite.
Thomas Dalton wrote:
Where did you get those lines of code from? I can't find them anywhere.
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");
I've never dealt with magpie, but it appears the $url in line 191 is not defined. Define it or put the url into line 191.
Lennie
On Sun, Feb 24, 2008 at 6:20 PM, Thomas Dalton thomas.dalton@gmail.com wrote:
The third is in the instructions for installing Alxndr RSS.
Where? Can you provide a link? I can't see that line anywhere and can't understand what it's meant to do, it doesn't look like anything to do with configuration.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
I don't know how to define it. I think Alxndr\RSS does that it it's code, because it says to use the format <rss>some link</rss>
Lennie Jarratt wrote:
I've never dealt with magpie, but it appears the $url in line 191 is not defined. Define it or put the url into line 191.
Lennie
On Sun, Feb 24, 2008 at 6:20 PM, Thomas Dalton thomas.dalton@gmail.com wrote:
The third is in the instructions for installing Alxndr RSS.
Where? Can you provide a link? I can't see that line anywhere and can't understand what it's meant to do, it doesn't look like anything to do with configuration.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
http://meta.wikimedia.org/wiki/User:Alxndr/RSS (See the installation instructions at http://meta.wikimedia.org/wiki/User:Alxndr/RSS#Installation ) and http://sourceforge.net/project/showfiles.php?group_id=55691 Download and view the file "INSTALL"
Thomas Dalton wrote:
The third is in the instructions for installing Alxndr RSS.
Where? Can you provide a link? I can't see that line anywhere and can't understand what it's meant to do, it doesn't look like anything to do with configuration.
I don't understand why you have those lines in LocalSettings. You should only have to put
192 include_once("extensions/magpierss/rss.php");
in LocalSettings, after saving the extension code as a file in the extensions directory. Assuming that you are using the extension code at
http://meta.wikimedia.org/wiki/User:Alxndr/RSS
that code calls the magpierss library.
By putting
191 $rss = fetch_rss($url);
in LocalSettings, you're sending an undefined value, $url, to magpie. The extension is supposed to get the url from the wikitext of the page where you are including the feed, e.g. <rss>http://myfeed.com</rss>
On Feb 24, 2008, at 5:07 PM, Steve VanSlyck wrote:
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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
Thanks, Jim. I'll try this out this week. I'm just a dummy and when instructions say to "Download and save the Magpie RSS parser into the same directory," all I can assume is that I'm supposed to install magpie pursuant to magpie's installation instructions.
Jim Hu wrote:
I don't understand why you have those lines in LocalSettings. You should only have to put 92 include_once("extensions/magpierss/rss.php"); in LocalSettings, after saving the extension code as a file in the extensions directory. Assuming that you are using the extension code at http://meta.wikimedia.org/wiki/User:Alxndr/RSS that code calls the magpierss library. By putting 191 $rss = fetch_rss($url); in LocalSettings, you're sending an undefined value, $url, to magpie. The extension is supposed to get the url from the wikitext of the page where you are including the feed, e.g. <rss>http://myfeed.com</rss>
Steve,
Looking at your post again...
Warning: MagpieRSS: fetch_rss called without a url in C:\Inetpub\olr\wiki\extensions\magpierss\rss_fetch.inc on line 238
This warning message suggest that magpie is installed and can be found.
Parse error: syntax error, unexpected '>' in C:\Inetpub\olr\wiki\extensions\magpierss\rss.php on line 130
I realize that you have the rss.php extension inside the extensions/ magpierss directory... which should work, even though I wouldn't have put it there. Looking at line 130
130 return «<div>Failed to load RSS feed from $url: ».$rss-
ERROR."</div>"; #localize...
Try changing the quote delimiters:
130 return "<div>Failed to load RSS feed from $url: ".$rss-
ERROR."</div>"; #localize...
That should take care of the parse error.
It takes a while to get how these things work. We all start out as newbies!
Jim
On Feb 24, 2008, at 7:30 PM, Steve VanSlyck wrote:
Thanks, Jim. I'll try this out this week. I'm just a dummy and when instructions say to "Download and save the Magpie RSS parser into the same directory," all I can assume is that I'm supposed to install magpie pursuant to magpie's installation instructions.
Jim Hu wrote:
I don't understand why you have those lines in LocalSettings. You should only have to put 92 include_once("extensions/magpierss/rss.php"); in LocalSettings, after saving the extension code as a file in the extensions directory. Assuming that you are using the extension code at http://meta.wikimedia.org/wiki/User:Alxndr/RSS that code calls the magpierss library. By putting 191 $rss = fetch_rss($url); in LocalSettings, you're sending an undefined value, $url, to magpie. The extension is supposed to get the url from the wikitext of the page where you are including the feed, e.g. <rss>http://myfeed.com</rss>
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
===================================== Jim Hu Associate Professor Dept. of Biochemistry and Biophysics 2128 TAMU Texas A&M Univ. College Station, TX 77843-2128 979-862-4054
Hi, This weekend I did install magpierss extension and it works fine on localhost Simply install the pack Magierss in extension/magpierss (correct the name from the .zip) Simply create the line "include "$IP/extension/rss.php"; (that will call extension/magpierss/rss-fetch.inc) Simply copy the code of rss.php (from Alexndr) with a good text editor Simply correct with this editor a lot of pb between "abc" and <<abc>> (better : doubles guillements in french) in code of Alexndr (that gives the PHP errors when MW launches) Simply go to a wikipage and write <rss>html://tagada/rssfeed to show</rss> ... et ça roule tout seul ensuite .. que du bonheur ++ ;O))) @+
----- Original Message ----- From: "Steve VanSlyck" s.vanslyck@spamcop.net To: "MediaWiki Announcements List" mediawiki-l@lists.wikimedia.org Sent: Monday, February 25, 2008 12:07 AM Subject: [Mediawiki-l] Extension help
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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l --------------------------------------------------------------------------------------- Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte.
This is what is confusing. Magpierss ins't actually "installed" - the files are merely copied to one's server. It was following magpie's "install" instructions that resulted in the errors I encountered. The note to change all the doubles guillements should help a lot. Thank you! Dr JFBurté wrote:
Hi, This weekend I did install magpierss extension and it works fine on localhost Simply install the pack Magierss in extension/magpierss (correct the name from the .zip) Simply create the line "include "$IP/extension/rss.php"; (that will call extension/magpierss/rss-fetch.inc) Simply copy the code of rss.php (from Alexndr) with a good text editor Simply correct with this editor a lot of pb between "abc" and <<abc>> (better : doubles guillements in french) in code of Alexndr (that gives the PHP errors when MW launches) Simply go to a wikipage and write <rss>html://tagada/rssfeed to show</rss> ... et ça roule tout seul ensuite .. que du bonheur ++ ;O))) @+
----- Original Message ----- From: "Steve VanSlyck" s.vanslyck@spamcop.net To: "MediaWiki Announcements List" mediawiki-l@lists.wikimedia.org Sent: Monday, February 25, 2008 12:07 AM Subject: [Mediawiki-l] Extension help
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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Orange vous informe que cet e-mail a ete controle par l'anti-virus mail. Aucun virus connu a ce jour par nos services n'a ete detecte.
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@spamc op.net> To Sent by: MediaWiki Announcements List mediawiki-l-bounc mediawiki-l@lists.wikimedia.org es@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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Maybe I should show my code so that you can have a better idea about my problem. My wiki does not work when the following code is changed in feedimport.php:
# define location of magpie ) #define('MAGPIE_DIR', '/opt/local/lib/php/magpierss/'); if (!isset(MAGPIE_DIR)) { define('MAGPIE_DIR', "C:\HttpServer\htdocs\neowiki\extensions\magpierss-0.72"); }
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. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Nelson A Li/CIV/CSC@CSC Sent by: To mediawiki-l-bounc MediaWiki announcements and site es@lists.wikimedi admin list a.org mediawiki-l@lists.wikimedia.org cc
03/10/2008 05:11 Subject PM Re: [Mediawiki-l] Extension help
Please respond to MediaWiki announcements and site admin list <mediawiki-l@list s.wikimedia.org>
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@spamc op.net> To Sent by: MediaWiki Announcements List mediawiki-l-bounc mediawiki-l@lists.wikimedia.org es@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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
OK, nobody cares to take my feedimport help request. So I am trying to use Extension:RSS. I have renamed magpierss-0,72 directory to magpierss and updated LocalSettings.php accordingly. Now I am getting http 504 error. Is there anyone willing to help now? Thank you in advance.
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. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Nelson A Li/CIV/CSC@CSC Sent by: To mediawiki-l-bounc MediaWiki announcements and site es@lists.wikimedi admin list a.org mediawiki-l@lists.wikimedia.org cc
03/10/2008 06:13 Subject PM Re: [Mediawiki-l] Extension help
Please respond to MediaWiki announcements and site admin list <mediawiki-l@list s.wikimedia.org>
Maybe I should show my code so that you can have a better idea about my problem. My wiki does not work when the following code is changed in feedimport.php:
# define location of magpie ) #define('MAGPIE_DIR', '/opt/local/lib/php/magpierss/'); if (!isset(MAGPIE_DIR)) { define('MAGPIE_DIR', "C:\HttpServer\htdocs\neowiki\extensions\magpierss-0.72"); }
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. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Nelson A Li/CIV/CSC@CSC Sent by: To mediawiki-l-bounc MediaWiki announcements and site es@lists.wikimedi admin list a.org mediawiki-l@lists.wikimedia.org cc
03/10/2008 05:11 Subject PM Re: [Mediawiki-l] Extension help
Please respond to MediaWiki announcements and site admin list <mediawiki-l@list s.wikimedia.org>
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@spamc op.net> To Sent by: MediaWiki Announcements List mediawiki-l-bounc mediawiki-l@lists.wikimedia.org es@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@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@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
Nelson,
I'll try to help but I'm socked up at work till Saturday.
Nelson A Li wrote:
OK, nobody cares to take my feedimport help request. So I am trying to use Extension:RSS. I have renamed magpierss-0,72 directory to magpierss and updated LocalSettings.php accordingly. Now I am getting http 504 error. Is there anyone willing to help now? Thank you in advance.
Steve,
Thank you for the promise. I will come in my office on Saturday to expect your help. When you have a better idea bout your schedule, could you please let me know?
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@spamc op.net> To Sent by: MediaWiki announcements and site mediawiki-l-bounc admin list es@lists.wikimedi mediawiki-l@lists.wikimedia.org a.org cc
Subject 03/11/2008 05:24 Re: [Mediawiki-l] RSS Extension PM help
Please respond to MediaWiki announcements and site admin list <mediawiki-l@list s.wikimedia.org>
Nelson,
I'll try to help but I'm socked up at work till Saturday.
Nelson A Li wrote:
OK, nobody cares to take my feedimport help request. So I am trying to
use
Extension:RSS. I have renamed magpierss-0,72 directory to magpierss and updated LocalSettings.php accordingly. Now I am getting http 504 error. Is there anyone willing to help now? Thank you in advance.
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org