From rr at bttr-software.de Tue Aug 4 12:17:22 2020 From: rr at bttr-software.de (Robert Riebisch) Date: Tue, 04 Aug 2020 21:17:22 +0200 Subject: [pmwiki-users] PmFeed (RSS) error In-Reply-To: <2664d6a7-d08a-bb9b-95ef-f8f47cdc0c1c@gmail.com> References: <2664d6a7-d08a-bb9b-95ef-f8f47cdc0c1c@gmail.com> Message-ID: <5F29B442.7060806@bttr-software.de> Hi Moni, as nobody else responded, I try to get you a little forward. > I would like to embed Twitter feeds via nitter.net (Twitter doesn't > allow RSS feeds). Example: https://nitter.net/paddingtonbear/rss > > I remember that I was able to use > https://www.pmwiki.org/wiki/Cookbook/PmFeed about a hundred years ago ;) > > When I now use the recipe, with PHP 7.x I get a 500 network error, and > with an older PHP version I get PmFeed is in category PHP72, so it should work with PHP 7.2. 1) Is this older version PHP 6? 2) Did you try other feeds? 3) What's the exact syntax you use? > Fatal error: Call to undefined function tidy_repair_string() in > [path]cookbook\pmfeed.php on line 600 According to this function is only available in PHP 5 and PHP 7, but not PHP 6. Cheers, Robert -- +++ BTTR Software +++ Home page: https://www.bttr-software.de/ DOS ain't dead: https://www.bttr-software.de/forum/ From kellerfrau at gmail.com Tue Aug 4 14:33:10 2020 From: kellerfrau at gmail.com (Moni Kellermann) Date: Tue, 4 Aug 2020 23:33:10 +0200 Subject: [pmwiki-users] PmFeed (RSS) error In-Reply-To: <5F29B442.7060806@bttr-software.de> References: <2664d6a7-d08a-bb9b-95ef-f8f47cdc0c1c@gmail.com> <5F29B442.7060806@bttr-software.de> Message-ID: Am 04.08.2020 um 21:17 schrieb Robert Riebisch: > Hi Moni, > > as nobody else responded, I try to get you a little forward. Thank you very much. I appreciate your help! :) I should have worded my post better. The recipe PmFeed doesn't work, and it's not the feed that causes the problem. You can try any feed, such as https://rss.nytimes.com/services/xml/rss/nyt/Arts.xml which works fine when I use it in Thunderbird or in Opera with the Personal News feature. I have tested locally with a fresh install of the latest PmWiki with no other Cookbook recipes present and no further modifications or content. The wiki folder is 22. I have tested in 3 different local servers, and it doesn't work in any of them: 1. PHP Version 5.2.9 (Xampp Lite) Fatal error: Call to undefined function tidy_repair_string() in C:\xampplite\htdocs\22\cookbook\pmfeed.php on line 600 2. PHP Version 7.4.5 (http://www.uniformserver.com/) This page isn?t working localhost is currently unable to handle this request. HTTP ERROR 500 3. PHP Version 7.4.8 (Xampp) Warning: Use of undefined constant title - assumed 'title' (this will throw an Error in a future version of PHP) in C:\xampp\htdocs\22\cookbook\pmfeed.php on line 904 Warning: mb_convert_encoding(): Illegal character encoding specified in C:\xampp\htdocs\22\cookbook\pmfeed.php on line 400 moni k. From rozumnashkola at gmail.com Wed Aug 12 12:01:26 2020 From: rozumnashkola at gmail.com (rozumnashkola) Date: Wed, 12 Aug 2020 22:01:26 +0300 Subject: [pmwiki-users] Fwd: config.php location In-Reply-To: References: Message-ID: <58d4c3b7-5f59-8817-0e43-5787f79c8641@gmail.com> I can't locate config.php file on my system (Ubuntu 18.04, php-7.2) and so I can't change the default skin. Where config.php is located? From kellerfrau at gmail.com Wed Aug 12 12:11:02 2020 From: kellerfrau at gmail.com (Moni Kellermann) Date: Wed, 12 Aug 2020 21:11:02 +0200 Subject: [pmwiki-users] Fwd: config.php location In-Reply-To: <58d4c3b7-5f59-8817-0e43-5787f79c8641@gmail.com> References: <58d4c3b7-5f59-8817-0e43-5787f79c8641@gmail.com> Message-ID: <68e3b01c-07bd-30e2-3903-c6c543f05cc7@gmail.com> Am 12.08.2020 um 21:01 schrieb rozumnashkola: > I can't locate config.php file on my system (Ubuntu 18.04, php-7.2) > and so I can't change the default skin. Where config.php is > located? Hi, at first, it doesn't exist. You need to create it. This is explained here: https://www.pmwiki.org/wiki/PmWiki/InitialSetupTasks Hope this helps! moni k. From cricketbeautiful at gmail.com Wed Aug 12 13:17:24 2020 From: cricketbeautiful at gmail.com (Cricket Onebit) Date: Wed, 12 Aug 2020 16:17:24 -0400 Subject: [pmwiki-users] Addition to notes for new releases -- add PHP version Message-ID: It would be less nerve-wracking if the notes for each version clearly showed which PHP versions worked, rather than having to read the entire changelog sincy my last update. Other than that, updating PmWiki is a breeze. -- +++ Not as a ladder from earth to Heaven, not as a witness to any creed, But simple service simply given to his own kind in their common need. -- Rudyard Kipling -------------- next part -------------- An HTML attachment was scrubbed... URL: From rr at bttr-software.de Thu Aug 20 06:39:20 2020 From: rr at bttr-software.de (Robert Riebisch) Date: Thu, 20 Aug 2020 15:39:20 +0200 Subject: [pmwiki-users] PmFeed (RSS) error In-Reply-To: References: <2664d6a7-d08a-bb9b-95ef-f8f47cdc0c1c@gmail.com> <5F29B442.7060806@bttr-software.de> Message-ID: <5F3E7D08.6000303@bttr-software.de> Hi Moni, > The recipe PmFeed doesn't work, and it's not the feed that causes the > problem. You can try any feed, such as > > https://rss.nytimes.com/services/xml/rss/nyt/Arts.xml > > which works fine when I use it in Thunderbird or in Opera with the > Personal News feature. Okay. > I have tested locally with a fresh install of the latest PmWiki with no > other Cookbook recipes present and no further modifications or content. So you just copied PmWiki-supplied "docs\sample-config.php" to "local/config.php" and added include_once("$FarmD/cookbook/pmfeed.php"); at the end of the file? Did you also create the "pub/cache" directory? Is it writable? > 1. PHP Version 5.2.9 (Xampp Lite) > > Fatal error: Call to undefined function tidy_repair_string() in > C:\xampplite\htdocs\22\cookbook\pmfeed.php on line 600 You probably need "extension=php_tidy.dll" in your PHP.ini file. > 2. PHP Version 7.4.5 (http://www.uniformserver.com/) > > This page isn?t working > localhost is currently unable to handle this request. > HTTP ERROR 500 What do the web server and PHP logs say? > 3. PHP Version 7.4.8 (Xampp) > > Warning: Use of undefined constant title - assumed 'title' (this will > throw an Error in a future version of PHP) in > C:\xampp\htdocs\22\cookbook\pmfeed.php on line 904 > > Warning: mb_convert_encoding(): Illegal character encoding specified in > C:\xampp\htdocs\22\cookbook\pmfeed.php on line 400 These are warnings only, so "it should work". ;-) I'll try to setup a clean install here on my Synology DiskStation DS116 now. pmwiki-2.2.130.zip https://www.pmwiki.org/pmwiki/uploads/Cookbook/pmfeed.php ... My "apache22-error_log" says "thrown in /volume1/web/pmwiki/cookbook/pmfeed.php on line 577". Line 577 is "CURL is not installed!". -> Enabling curl. Works for me now with "(:pmfeed feed='https://rss.nytimes.com/services/xml/rss/nyt/Arts.xml':)". Do /you/ have curl installed and enabled in your PHP config? Cheers, Robert -- +++ BTTR Software +++ Home page: https://www.bttr-software.de/ DOS ain't dead: https://www.bttr-software.de/forum/ From kellerfrau at gmail.com Thu Aug 20 09:11:33 2020 From: kellerfrau at gmail.com (Moni Kellermann) Date: Thu, 20 Aug 2020 18:11:33 +0200 Subject: [pmwiki-users] PmFeed (RSS) error In-Reply-To: <5F3E7D08.6000303@bttr-software.de> References: <2664d6a7-d08a-bb9b-95ef-f8f47cdc0c1c@gmail.com> <5F29B442.7060806@bttr-software.de> <5F3E7D08.6000303@bttr-software.de> Message-ID: <939841a0-0524-5d50-ca26-48fcaac7de17@gmail.com> Am 20.08.2020 um 15:39 schrieb Robert Riebisch: > So you just copied PmWiki-supplied "docs\sample-config.php" to > "local/config.php" and added include_once("$FarmD/cookbook/pmfeed.php"); > at the end of the file? > Did you also create the "pub/cache" directory? Is it writable? Yes, I did create that directory and yes, it is writable. I now uploaded the very same complete wiki directory where pmfeed doesn't work locally in 3 different newer PHP environments onto one of my actual web spaces and, damn, it works there. So it must be something with XAMPP or Uniserver (https://sourceforge.net/projects/miniserver/files/Uniform%20Server%20ZeroXIV/14_0_2_ZeroXIV/) which I need to figure out! I will try the suggested tweaks and let you know if I can get it working on my local machine. Thank you for your help! moni k. From rr at bttr-software.de Sun Aug 23 05:51:54 2020 From: rr at bttr-software.de (Robert Riebisch) Date: Sun, 23 Aug 2020 14:51:54 +0200 Subject: [pmwiki-users] PmFeed (RSS) error In-Reply-To: <939841a0-0524-5d50-ca26-48fcaac7de17@gmail.com> References: <2664d6a7-d08a-bb9b-95ef-f8f47cdc0c1c@gmail.com> <5F29B442.7060806@bttr-software.de> <5F3E7D08.6000303@bttr-software.de> <939841a0-0524-5d50-ca26-48fcaac7de17@gmail.com> Message-ID: <5F42666A.9070408@bttr-software.de> Hi Moni, >> So you just copied PmWiki-supplied "docs\sample-config.php" to >> "local/config.php" and added include_once("$FarmD/cookbook/pmfeed.php"); >> at the end of the file? ?? >> Did you also create the "pub/cache" directory? Is it writable? > > Yes, I did create that directory and yes, it is writable. Okay. On my installation "pub/cache" is not used (?). It's still empty after fetching a feed. > I now uploaded the very same complete wiki directory where pmfeed > doesn't work locally in 3 different newer PHP environments onto one of > my actual web spaces and, damn, it works there. A step forward. > So it must be something with XAMPP or Uniserver > (https://sourceforge.net/projects/miniserver/files/Uniform%20Server%20ZeroXIV/14_0_2_ZeroXIV/) > which I need to figure out! I have no experience with XAMPP or Uniserver. > I will try the suggested tweaks and let you know if I can get it working > on my local machine. Okay. I'll be away from my account for the next 5 or so weeks. If there are still any issue, maybe somebody else can step-in. > Thank you for your help! You're welcome! Cheers, Robert -- +++ BTTR Software +++ Home page: https://www.bttr-software.de/ DOS ain't dead: https://www.bttr-software.de/forum/ From 5ko at 5ko.fr Sun Aug 30 12:46:43 2020 From: 5ko at 5ko.fr (Petko Yotov) Date: Sun, 30 Aug 2020 21:46:43 +0200 Subject: [pmwiki-users] PmWiki 2.2.131 released Message-ID: <7db9e4e0dd0897924cd498cb783726ed@5ko.fr> Hello. PmWiki version 2.2.131 was published today, and is available at: http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.131.tgz http://www.pmwiki.org/pub/pmwiki/pmwiki-2.2.131.zip svn://www.pmwiki.org/pmwiki/tags/latest This is a documentation update version. Thanks, Petko -- If you upgrade : http://www.pmwiki.org/Upgrades