You are here:  » XML sitemap error


XML sitemap error

Submitted by koen on Wed, 2014-12-17 15:00 in

Hi David,

I'm getting suddenly (don't know when it started....) an error when I try to open any sitemap XML.... Can you please have a look at this one?
The error I'm getting is:

Warning: mysql_unbuffered_query() expects parameter 2 to be resource, object given in /home/blabla/domains/domain.nl/public_html/wp-content/plugins/pto/pto_sitemap.php on line 29Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /home/blabla/domains/domainnl/public_html/wp-content/plugins/pto/pto_sitemap.php on line 31

Please have a look at: {link saved}

Thanks!
Koen

Submitted by support on Wed, 2014-12-17 15:48

Hello Koen,

Ah - that sounds like a mysqli / mysql mis-match. I will email you an update to pto_sitemap.php to use which uses the mysqli_ unbuffered queries with the WordPress connection instead...

Cheers,
David.
--
PriceTapestry.com

Submitted by george-p on Mon, 2015-02-16 21:26

hello David

suddenly i have the same probme, can you send me the updated pto_sitemap.php

Submitted by support on Mon, 2015-02-16 21:58

On its way!

Cheers,
David.
--
PriceTapestry.com

Submitted by george-p on Mon, 2015-02-16 22:01

got it , thanks!

Submitted by sociallyfamous on Thu, 2015-03-19 21:57

I think I have the same issue. David, I d love to get my hands on this, too

Submitted by support on Fri, 2015-03-20 08:53

Just sent...

Cheers,
David.
--
PriceTapestry.com

Submitted by ivohofland on Fri, 2016-05-27 14:07

I think I have the same issue, could you send me the mysqli pto_sitemap.php? thank you.

Submitted by support on Fri, 2016-05-27 15:49

On its way. Will be updated to mysqli_ interface in PriceTapestry.org for WordPress v3

http://www.pricetapestry.org/node/389

Cheers,
David.
--
PriceTapestry.com