Jump to content

Punycode error parsing sitemap


Recommended Posts

I have an issue with my sitemap.xml on my new development server:

Ubuntu 20 with PHP 7.2 and processwire 3.0.165

XML Parsing Error: syntax error
Location: http://localhost/pw/sitemap.xml
Line Number 1, Column 1:

I get the following notice printed at the top of my sitemap:

Notice: Undefined index:   in /var/www/html/pw/wire/core/Punycode.php on line 201

this template is set to content-type application/xml

The issue started after enabling in the config:

$config->pageNameCharset = 'UTF8';
$config->pageNameWhitelist = '-_.abcdefghijklmnopqrstuvwxyz0123456789æåäßöüđжхцчшщюяàáâèéëêěìíïîõòóôøùúûůñçčćďĺľńňŕřšťýžабвгдеёзийклмнопрстуфыэęąśłżź仕様土陸上が北市向技術協地ぁピあぃガ消毒気泡サミキ排イズと性質ウル超微細おび制御装置トラファインバブル生成器藻類ファインバブルスタンダド高濃度ウルラファインマイクロバブルステンレス塩化ビニールレイクユッインレッフィルタ製品テクノジーホムシングルデュプレック農業スリプレクスセルフクリングインレッフィルタ 実演セルフクリング インレットフィルタ解説ュスレタオゾン気泡による水質改善アダアンレク高性能カメで見るウルラプスファンバブルの革新スマな人は語る気泡とウォタノベョンについてプバポ検索コ支払店バイオティスアグテッバイオティクス農業ン水処理汚水処理米水産養殖業種子発芽効果モ中研究室ェ池ナ酸素結合大麻幅増加葉先焼け魅力的を栽培す違何衣洗浄利用した長距離鮮魚輸送縮医療用大麻鶏場へ果';

i also enabled this in the .htaccess file.

I have copied all the settings from my production server


Any ideas how to troubleshoot this?


Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...