Page 1 of 1

Google Sitemap plugin bug

Posted: Sat Aug 26, 2006 7:13 pm
by sniff
This plugin doesn't count with mysqli. There must be added one line into the event_hook function (around line 87):

Code: Select all

            case 'sqlite':
            case 'mysql':
+           case 'mysqli':
                $sqlnullfunction = 'IFNULL';

Without this line, sitemap.xml.gz doesn't contain links to P*.html as well as to all entries.

Cheers,
Vasek

Re: Google Sitemap plugin bug

Posted: Sat Aug 26, 2006 8:12 pm
by garvinhicking
Hi!

Thanks a lot for that info! I committed your patch.

Best regards,
Garvin