done, by this code
composer require fof/sitemap:"*"

24 days later

GreXXL Hi, guys!
I have php 8.0 but I am not getting the latest 2.0.1 version.
I'm used any composer flags, but any getting for 2.01.
What happens?

Thank you 👍

    Denys please share your php flarum info output as well as php -v output. Maybe you have a different php version in your command-line then you operate your webserver with.

      GreXXL Thank you for your tip!
      I don't switch to 8.0 in my console!
      Thank you for idea 👍🔥

      💙💛

      5 days later

      Hi, can you tell me why I have only 2 themes displayed in /sitemap.xml I have more than 30 themes already and shows only two
      sitemap

        white-hackers the entry file only links to more sitemap files (as denoted by the <sitemapindex> definition). Actual pages are referenced in the downstream sitemaps.

        If that doesn't help with your issue, can you clarify what you mean by "themes"? There's nothing named like that in Flarum or this extension.

          10 days later

          WiliamGarsia which mode are you using inside of Sitemap?

          You appear to still be using version 1.x of Sitemap. You could try updating to version 2.x clarkwinkelmann to see if it makes any improvement.

          WiliamGarsia do you have a file named sitemap.xml in your public folder? If so you should delete it, as Flarum will handle that URL as a page and dynamically generate a sitemap. If a file exists on the server with that name it will conflict with the extension.

            23 days later

            Hello, server timezone is UTC+3 but FoF Sitemap shows UTC+0 as time. How can I update this based on server timezone.

              demirel where is it "shown"?

              The <lastmod> value is formatted as a W3C time and contains the timezone zero as part of its value, so there's no need to change it.

              22 days later

              it's crazy. you see:
              debug info:

              file_put_contents(/www/wwwroot/code.bytecho.net/storage/cache/ee/2f/ee2f842aa7bb1f53edf3a2ed2c09a1807ffa6c90): Failed to open stream: Permission denied in <b>/www/wwwroot/code.bytecho.net/vendor/illuminate/filesystem/Filesystem.php</b> on line <b>187</b><br />
              <br />
              <b>Fatal error</b>:  Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /www/wwwroot/code.bytecho.net/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:24

              ver1.6.2

                GitHenry your PHP process is unable to write to the storage/cache folder. Make sure permissions and file ownership is correct. Use chown command to fix ownership as necessary.

                This can happen if you run the PHP process and command line with different users, or if you ran one of the commands using sudo previously. You should make sure all processes run with the same shell user or that the file ownership allow every shell user that's used to create and delete files in the storage folder.

                5 days later

                my site is 1.6.3, and i just upgraded php to 8.2 today.
                and I tried to updated fof/sitemap to new version from 1.0.3. But i encountered following errors
                does anyone know how to fix it?
                Thank you

                an:/var/www/flarum$ sudo composer update fof/sitemap
                [sudo] password for savip:
                Do not run Composer as root/super user! See https://getcomposer.org/root for details
                Continue as root/super user [yes]? yes
                Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:799
                Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///usr/local/bin/composer/src/Composer/Autoload/AutoloadGenerator.php:804
                Loading composer repositories with package information
                Info from https://repo.packagist.org: #StandWithUkraine
                Updating dependencies
                Deprecation Notice: Using ${var} in strings is deprecated, use {$var} instead in phar:///usr/local/bin/composer/src/Composer/DependencyResolver/Problem.php:320
                Your requirements could not be resolved to an installable set of packages.
                
                  Problem 1
                    - laminas/laminas-httphandlerrunner 1.5.0 requires php ^7.3 || ~8.0.0 || ~8.1.0 -> your php version (8.2.0) does not satisfy that requirement.
                    - flarum/core v1.6.3 requires laminas/laminas-httphandlerrunner ^1.2.0 -> satisfiable by laminas/laminas-httphandlerrunner[1.5.0].
                    - flarum/core is locked to version v1.6.3 and an update of this package was not requested.