Jump to content

fruergaard

Members
  • Content count

    3
  • Joined

  • Last visited

Posts posted by fruergaard


  1. The above error is happening because the standard flag, GLOB_BRACE, isn't available on your server. You will need to talk to your host about that.

     

    Jack

     

    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. The above error is happening because the standard flag, GLOB_BRACE, isn't available on your server. You will need to talk to your host about that.

     

    Jack

     

    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. 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

×