Beiträge von AD1

    die URL funktioniert aber mit dem Woltlab eigenen RSS System. Ich brauche es aber in euerem Plugin da es übersichtlicher ist, wäre schön wenn die url auch bei eurem Plugin funktionieren würde.

    der cronjob der die news aus dem RSSfeed holt. plugin Newssystem

    Wed, 01 Dec 2021 21:37:25 +0000

    Message: XML document 'https://www.caravaning.de/rss/all' is not valid XML.

    PHP version: 8.1.0

    WoltLab Suite version: 5.4.9

    Request URI: POST /wcf/acp/index.php?ajax-proxy/&t=5c83fa5af1ff5c9923b8bc0cea596496a748735e961954fe8dd4e244745f16f8-ZGRhZjA0YTk1ZTUxYWNiNWEzZjM4YWFjMGFkOTFhYTM=

    Referrer: https://tab-forum.de/wcf/acp/index.php?cronjob-list/

    User Agent: Mozilla/5.0 (X11; CrOS aarch64 14324.19.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.27 Safari/537.36

    Peak Memory Usage: 3193032/524288000

    ======

    Error Class: wcf\system\exception\SystemException

    Error Message: XML document 'https://www.caravaning.de/rss/all' is not valid XML.

    Error Code: 0

    File: /home/users/achimdrees/www/tab-forum/wcf/lib/util/XML.class.php (226)

    Extra Information: YToxOntpOjA7YToyOntpOjA7czoxMToiRGVzY3JpcHRpb24iO2k6MTtzOjYxOToiPGI+TGliWE1MIG91dHB1dDo8L2I+PHByZT4jMwlFbnRpdHlSZWY6IGV4cGVjdGluZyAnOycKIzMJRW50aXR5UmVmOiBleHBlY3RpbmcgJzsnCiMzCUVudGl0eVJlZjogZXhwZWN0aW5nICc7JwojMwlFbnRpdHlSZWY6IGV4cGVjdGluZyAnOycKIzYJRW50aXR5UmVmOiBleHBlY3RpbmcgJzsnCiM2CUVudGl0eVJlZjogZXhwZWN0aW5nICc7JwojNglFbnRpdHlSZWY6IGV4cGVjdGluZyAnOycKIzYJRW50aXR5UmVmOiBleHBlY3RpbmcgJzsnCiMxOQlFbnRpdHlSZWY6IGV4cGVjdGluZyAnOycKIzI0CU9wZW5pbmcgYW5kIGVuZGluZyB0YWcgbWlzbWF0Y2g6IGJyIGxpbmUgMSBhbmQgcAojMjQJT3BlbmluZyBhbmQgZW5kaW5nIHRhZyBtaXNtYXRjaDogYnIgbGluZSAxIGFuZCBkaXYKIzI0CU9wZW5pbmcgYW5kIGVuZGluZyB0YWcgbWlzbWF0Y2g6IHAgbGluZSAxIGFuZCBkaXYKIzM0CXhtbFBhcnNlRW50aXR5UmVmOiBubyBuYW1lCiMzNAlPcGVuaW5nIGFuZCBlbmRpbmcgdGFnIG1pc21hdGNoOiBkaXYgbGluZSAxIGFuZCBib2R5CiMzNAlPcGVuaW5nIGFuZCBlbmRpbmcgdGFnIG1pc21hdGNoOiBkaXYgbGluZSAxIGFuZCBodG1sCiMzNAlFbmRUYWc6ICc8Lycgbm90IGZvdW5kCjwvcHJlPiI7fX0=

    Stack Trace: [{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/lib\/util\/XML.class.php","line":100,"function":"throwException","class":"wcf\\util\\XML","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/news\/lib\/system\/cronjob\/RSSFeedReaderCronjob.class.php","line":62,"function":"loadXML","class":"wcf\\util\\XML","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/lib\/data\/cronjob\/CronjobAction.class.php","line":147,"function":"execute","class":"news\\system\\cronjob\\RSSFeedReaderCronjob","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/lib\/data\/AbstractDatabaseObjectAction.class.php","line":216,"function":"execute","class":"wcf\\data\\cronjob\\CronjobAction","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/lib\/action\/AJAXProxyAction.class.php","line":86,"function":"executeAction","class":"wcf\\data\\AbstractDatabaseObjectAction","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/lib\/action\/AJAXInvokeAction.class.php","line":111,"function":"invoke","class":"wcf\\action\\AJAXProxyAction","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/lib\/action\/AbstractAction.class.php","line":53,"function":"execute","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/lib\/action\/AJAXInvokeAction.class.php","line":65,"function":"__run","class":"wcf\\action\\AbstractAction","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/lib\/system\/request\/Request.class.php","line":89,"function":"__run","class":"wcf\\action\\AJAXInvokeAction","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/lib\/system\/request\/RequestHandler.class.php","line":119,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/home\/users\/achimdrees\/www\/tab-forum\/wcf\/acp\/index.php","line":11,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":[]}]

    Thu, 12 Apr 2018 12:44:50 +0000

    Message: count(): Parameter must be an array or an object that implements Countable

    PHP version: 7.2.4

    WoltLab Suite version: 3.1.1

    Request URI: /news/acp/index.php?rss-feed-add/

    Referrer: https://www.ccc.de/news/acp/index.php?rss-feed-list/

    User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.146 Safari/537.36

    Peak Memory Usage: 7939048/268435456

    ======

    Error Class: wcf\system\exception\ErrorException

    Error Message: count(): Parameter must be an array or an object that implements Countable

    Error Code: 0

    File: /var/www/vhosts/ccc.de/httpdocs/wcf/lib/system/WCF.class.php (324)

    Extra Information: -

    Stack Trace: [{"file":"\/var\/www\/vhosts\/ccc.de\/httpdocs\/wcf\/acp\/templates\/compiled\/0_news_1_rssFeedAdd.php","line":1023,"function":"handleError","class":"wcf\\system\\WCF","type":"::","args":[2,"count(): Parameter must be an array or an object that implements Countable","\/var\/www\/vhosts\/ccc.de\/httpdocs\/wcf\/acp\/templates\/compiled\/0_news_1_rssFeedAdd.php",1023,{"templateName":"[redacted]","application":"[redacted]","sendHeaders":"[redacted]","sourceFilename":"[redacted]","compiledFilename":"[redacted]","metaDataFilename":"[redacted]","metaData":"[redacted]","__langCompilerTemplatePluginOutput":"[redacted]","_foreach_ce5912aeef43bdd0c4085ee62221dcc9adcb33c2":"[redacted]","_foreach_ce5912aeef43bdd0c4085ee62221dcc9adcb33c2_cnt":"[redacted]","_foreach_4ce3ead0049ef83eb7f17889f663bdabeabd2f1d":"[redacted]","_foreach_4ce3ead0049ef83eb7f17889f663bdabeabd2f1d_cnt":"[redacted]","_foreach_a404a94c9b8794a5b83f9ab396332e0bc1897d89":"[redacted]","_foreach_a404a94c9b8794a5b83f9ab396332e0bc1897d89_cnt":"[redacted]","_foreach_b03a3b9aa97bb57305cc30e2945d1eaa9e98dc78":"[redacted]","_foreach_b03a3b9aa97bb57305cc30e2945d1eaa9e98dc78_cnt":"[redacted]","_foreach_7eba64ac72cf99eb4237f83bd043c931fe7a0210":"[redacted]","_foreach_7eba64ac72cf99eb4237f83bd043c931fe7a0210_cnt":"[redacted]","_foreach_62b259b833f1bb383ecc6a6a5332ed2c56ede989":"[redacted]","_foreach_62b259b833f1bb383ecc6a6a5332ed2c56ede989_cnt":"[redacted]","_foreach_bedd5435755df5bfc306adecdc4698437567f304":"[redacted]","_foreach_bedd5435755df5bfc306adecdc4698437567f304_cnt":"[redacted]","_foreach_66423be7cac641804f4f91d434d018be5d0df343":"[redacted]","_foreach_66423be7cac641804f4f91d434d018be5d0df343_cnt":"[redacted]","_foreach_2326ebf0e9dcb30f8ba22a7c079943af21072964":"[redacted]","_foreach_2326ebf0e9dcb30f8ba22a7c079943af21072964_cnt":"[redacted]"}]},{"file":"\/var\/www\/vhosts\/ccc.de\/httpdocs\/wcf\/lib\/system\/template\/TemplateEngine.class.php","line":321,"args":["\/var\/www\/vhosts\/ccc.de\/httpdocs\/wcf\/acp\/templates\/compiled\/0_news_1_rssFeedAdd.php"],"function":"include","class":"","type":""},{"file":"\/var\/www\/vhosts\/ccc.de\/httpdocs\/wcf\/lib\/page\/AbstractPage.class.php","line":323,"function":"display","class":"wcf\\system\\template\\TemplateEngine","type":"->","args":["rssFeedAdd","news"]},{"file":"\/var\/www\/vhosts\/ccc.de\/httpdocs\/wcf\/lib\/page\/AbstractPage.class.php","line":114,"function":"show","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/ccc.de\/httpdocs\/wcf\/lib\/system\/request\/Request.class.php","line":83,"function":"__run","class":"wcf\\page\\AbstractPage","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/tab-forum.de\/httpdocs\/wcf\/lib\/system\/request\/RequestHandler.class.php","line":96,"function":"execute","class":"wcf\\system\\request\\Request","type":"->","args":[]},{"file":"\/var\/www\/vhosts\/ccc.de\/httpdocs\/news\/acp\/index.php","line":9,"function":"handle","class":"wcf\\system\\request\\RequestHandler","type":"->","args":["news",true]}]

    Bei RSS Feed hinzufügen (news 3.1) unter php 7.2 folgender Fehler:


    System Information

    • PHP Version:

      7.2.2

    • WoltLab Suite Core:

      3.1.0 RC 4

    • Peak Memory Usage:

      7.538/256 MiB

    • Request URI:

      /news/acp/index.php?rss-feed-add/

    • Referrer:

      https://... /news/acp/index.php?rss-feed-list/

    • User Agent:

      Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.111 Safari/537.36 EdgA/41.0.0.1656

    Error

    • Error Type:

      wcf\system\exception\ErrorException

    • Error Message:

      count(): Parameter must be an array or an object that implements Countable

    • File:

      */lib/system/WCF.class.php (324)

    • Stack Trace:
      • #0 */acp/templates/compiled/0_news_1_rssFeedAdd.php (968):
      • wcf\system\WCF::handleError(2, 'count(): Parameter must be an array or an object that implements Countable', '*/acp/templates/compiled/0_news_1_rssFeedAdd.php', 968, [ 26 items ])
      • #1 */lib/system/template/TemplateEngine.class.php (321):
      • include('*/acp/templates/compiled/0_news_1_rssFeedAdd.php')
      • #2 */lib/page/AbstractPage.class.php (323):
      • wcf\system\template\TemplateEngine->display('rssFeedAdd', 'news')
      • #3 */lib/page/AbstractPage.class.php (114):
      • wcf\page\AbstractPage->show()
      • #4 */lib/system/request/Request.class.php (83):
      • wcf\page\AbstractPage->__run()
      • #5 */lib/system/request/RequestHandler.class.php (96):
      • wcf\system\request\Request->execute()
      • #6 */../news/acp/index.php (9):
      • wcf\system\request\RequestHandler->handle('news', true)

    Kann man das nicht irgendwie umgehen, hier die Fehlermeldung:

    Hatte ja mit dem heutigen Update des News Systems ein RSS Feed getestet. Und wollte diese News mit einen Schlag löschen, da es im Frontend keine möglichkeit gab zum Markieren, dachte ich es sei möglich wenn ich die Kategorie entferne. Da stand aber, das die News dann der nächst höheren Kategorie zugwiesen wird.

    Da es eine Hauptkategorie war, müssten sie doch dann entfernt werden? Habs leider nicht getestet und alle einzeln gelöscht.

    Hab ich etwas übersehen? Wenn nicht, dann würde ich einen Vorschlag machen, News zu Markieren. :)

    Habe die Kategorie gelöscht und die Newseinträge waren auch gelöscht, klappt also.
    Markieren bin ich auch dafür.

    Ich glaube auch das es gesperrt ist, hier die robots.txt von caravaning.de: