[wp-testers] Apostrophe problem

Podz podz at tamba2.org.uk
Fri Apr 8 14:48:44 GMT 2005


svn code, all files deleted before being replaced, upgrade.php run.

It's the cat's turn.

Produces the error:
WordPress database error: [You have an error in your SQL syntax. Check 
the manual that corresponds to your MySQL server version for the right 
syntax to use near 's the cat's turn.', '', '', 'publish', 'open', 
'open', '', '130]
INSERT INTO wp_posts (ID, post_author, post_date, post_date_gmt, 
post_content, post_title, post_excerpt, post_status, comment_status, 
ping_status, post_password, post_name, to_ping, post_modified, 
post_modified_gmt, post_parent, menu_order) VALUES ('1301', '1', 
'2005-04-08 15:46:33', '2005-04-08 14:46:33', 'It's the cat's turn.', 
'', '', 'publish', 'open', 'open', '', '1301', '', '2005-04-08 
15:46:33', '2005-04-08 14:46:33', '0', '0')

Warning: Cannot modify header information - headers already sent by 
(output started at 
/home/virtual/site95/fst/var/www/html/T2/wp-includes/wp-db.php:98) in 
/home/virtual/site95/fst/var/www/html/T2/wp-admin/post.php on line 157

Warning: Invalid argument supplied for foreach() in 
/home/virtual/site95/fst/var/www/html/T2/wp-admin/post.php on line 162

Remove the ' and it posts correctly.
Recent additions to the code are the miniblog plugin and a stats plugin.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
Url : http://comox.textdrive.com/pipermail/wp-testers/attachments/20050408/f2cf6ac2/signature.bin


More information about the wp-testers mailing list