<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>selfoss support forum - Feed loading error; exception thrown for XML/PCRE extensions</title>
<link>https://forum.selfoss.aditu.de/</link>
<description>selfoss support forum</description>
<language>en</language>
<item>
<title>Feed loading error; exception thrown for XML/PCRE extensions (reply)</title>
<content:encoded><![CDATA[<p>I've just installed the <code>php-xml</code> package and now selfoss works as expected. Thank you very much for the rapid response!</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1477</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1477</guid>
<pubDate>Mon, 25 Apr 2022 20:50:54 +0000</pubDate>
<dc:creator>cactus</dc:creator>
</item>
<item>
<title>Feed loading error; exception thrown for XML/PCRE extensions (reply)</title>
<content:encoded><![CDATA[<p>The error originates in <a href="https://github.com/simplepie/simplepie/blob/2bdbc51ed1010941c9c5f2cddca433e79665bfe1/library/SimplePie.php#L1373">https://github.com/simplepie/simplepie/blob/2bdbc51ed1010941c9c5f2cddca433e79665bfe1/library/SimplePie.php#L1373</a></p>
<p>Do you have <a href="https://packages.debian.org/bullseye/php/php-xml"><code>php-xml</code> package</a> installed? Though I would expect it to be installed together with PHP since it is part of <code>php-defaults</code> virtual package.</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1476</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1476</guid>
<pubDate>Mon, 25 Apr 2022 20:31:19 +0000</pubDate>
<dc:creator>jtojnar</dc:creator>
</item>
<item>
<title>Feed loading error; exception thrown for XML/PCRE extensions</title>
<content:encoded><![CDATA[<p>Hi,</p>
<p>i've installed selfoss 2.18 on Debian 11 according to an installation how-to from the wiki [0]. <br />
After adding a feed (manually or built-in) no content gets loaded, the page says 'no entries found'. After activating debug logging the <code>default.log</code> file shows the following error:</p>
<pre><code>
[2022-04-25 18:31:11] selfoss.ERROR: error loading feed content for Golem {&quot;exception&quot;:&quot;[object] (Exception(code: 0): XML or PCRE extensions not loaded! at /var/www/html/selfoss/spouts/rss/feed.php:160)
[stacktrace]
ss\\feed-&gt;load()/selfoss/spouts/rss/golem.php(112): spouts\
ss\\golem-&gt;load()selfoss/helpers/ContentLoader.php(99): spouts\
#2 /var/www/html/selfoss/helpers/ContentLoader.php(53): helpers\\ContentLoader-&gt;fetch()
#3 /var/www/html/selfoss/controllers/Sources.php(290): helpers\\ContentLoader-&gt;updateSingle()
#4 /var/www/html/selfoss/vendor/bcosca/fatfree-core/base.php(1806): controllers\\Sources-&gt;update()
#5 /var/www/html/selfoss/vendor/bcosca/fatfree-core/base.php(1627): Base-&gt;call()
#6 /var/www/html/selfoss/index.php(80): Base-&gt;run()
#7 {main}
&quot;}
</code></pre><p>According to the PHP documentation the PCRE module is part of the core, running <code>php -m</code> correctly shows the pcre module as compiled and loaded. A phpinfo file i set up shows the pcre module is present and loaded as well.</p>
<p><code>php -v</code><br />
</p>
<pre><code>PHP 7.4.28 (cli) (built: Feb 17 2022 16:17:19) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
    with Zend OPcache v7.4.28, Copyright (c), by Zend Technologies</code></pre><p>Any ideas on where i went wrong or what else i can check for?</p>
<p>[0] <a href="https://github.com/fossar/selfoss/wiki/Install-on-Raspbian-GNU-Linux-10-%28buster%29-with-lighttpd-and-mariadb">https://github.com/fossar/selfoss/wiki/Install-on-Raspbian-GNU-Linux-10-%28buster%29-with-lighttpd-and-mariadb</a></p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=1475</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=1475</guid>
<pubDate>Mon, 25 Apr 2022 18:19:09 +0000</pubDate>
<dc:creator>cactus</dc:creator>
</item>
</channel>
</rss>
