Jump to content


  • Content count

  • Joined

  • Last visited

1 Follower

Profile Information

  • Real Name
    Soren Fruergaard
  1. fruergaard

    Google XML Sitemap SEO

    Hi Jack and others I solved the problem by replacing this line: foreach ( glob($this->savepath . $pattern, GLOB_BRACE) as $filename ) { with this: foreach (array_merge(glob($this->savepath . $pattern),glob("*.xml")) as $filename ) { works perfectly.. Regards Soren
  2. fruergaard

    Google XML Sitemap SEO

    Thank you Jack. It seems that this GLOB_BRACE is a constant? Maybe I could just use the value of GLOB_BRACE in sitemap_class.php? Or is the GLOB_BRACE, a flag I can set in my php.ini? Regards Soren
  3. fruergaard

    Google XML Sitemap SEO

    I just installed the Google XML Sitemap SEO, but I get a warning when I create the sitemapindex and the sitemapindex file is emty.. File permissions are 755 for all sitemap files. This is what i get: Write /mnt/web2/13/22/5625022/htdocs/sitemapproducts.xmlGenerated Google Product Sitemap Successfully Write /mnt/web2/13/22/5625022/htdocs/sitemapcategories.xmlGenerated Google Category Sitemap Successfully Write /mnt/web2/13/22/5625022/htdocs/sitemapmanufacturers.xmlGenerated Google Manufacturers Sitemap Successfully Write /mnt/web2/13/22/5625022/htdocs/sitemapspecials.xmlGenerated Google Specials Sitemap Successfully Write /mnt/web2/13/22/5625022/htdocs/sitemappages.xmlGenerated Google Pages Sitemap Successfully Warning: glob() expects parameter 2 to be long, string given in /mnt/web2/13/22/5625022/htdocs/googlesitemap/sitemap.class.php on line 429 Warning: Invalid argument supplied for foreach() in /mnt/web2/13/22/5625022/htdocs/googlesitemap/sitemap.class.php on line 429 Write /mnt/web2/13/22/5625022/htdocs/sitemapindex.xmlGenerated Google Sitemap Index Successfully CONGRATULATIONS! All files generated successfully. Does anybody have an idea what the problem could be?? Thanks Soren