<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Форум PHP-MyAdmin.RU &mdash; #1064 - У вас ошибка в запросе.]]></title>
	<link rel="self" href="https://forum.php-myadmin.ru/extern.php?action=feed&amp;tid=4374&amp;type=atom" />
	<updated>2016-08-29T11:23:55Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.php-myadmin.ru/viewtopic.php?id=4374</id>
		<entry>
			<title type="html"><![CDATA[Re: #1064 - У вас ошибка в запросе.]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=27163#p27163" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><p>Верно. Либо можно поставить двойные кавычки.</p></blockquote></div><p>Насчет двойных кавычек не уверен, плагин может не работать. Надо проверить.<br />В любом случае спасибо за подсказку!</p>]]></content>
			<author>
				<name><![CDATA[RomaR]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=8390</uri>
			</author>
			<updated>2016-08-29T11:23:55Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=27163#p27163</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: #1064 - У вас ошибка в запросе.]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=27162#p27162" />
			<content type="html"><![CDATA[<p>Верно. Либо можно поставить двойные кавычки.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2016-08-29T06:04:09Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=27162#p27162</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: #1064 - У вас ошибка в запросе.]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=27161#p27161" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Hanut сказал:</cite><blockquote><p>Проверьте, чтобы кавычки были двойными, если строка данных находится в одинарных. Иначе кавычки надо экранировать символом обратной косой черты.</p></blockquote></div><p>Т.е. если я правильно&nbsp; понимаю [spoiler title=<strong>/&#039;/</strong>Тут заголовок<strong>/&#039;/</strong>]&nbsp; эти кавычки надо экранировать символом обратной косой черты?</p>]]></content>
			<author>
				<name><![CDATA[RomaR]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=8390</uri>
			</author>
			<updated>2016-08-28T12:21:04Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=27161#p27161</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: #1064 - У вас ошибка в запросе.]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=27160#p27160" />
			<content type="html"><![CDATA[<p>Проверьте, чтобы кавычки были двойными, если строка данных находится в одинарных. Иначе кавычки надо экранировать символом обратной косой черты.</p>]]></content>
			<author>
				<name><![CDATA[Hanut]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=181</uri>
			</author>
			<updated>2016-08-28T12:04:27Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=27160#p27160</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[#1064 - У вас ошибка в запросе.]]></title>
			<link rel="alternate" href="https://forum.php-myadmin.ru/viewtopic.php?pid=27159#p27159" />
			<content type="html"><![CDATA[<p>Здравствуйте!<br />Когда нужно внести изменение сразу в большое кол-во материалов на сайте, делаю экспорт базы, затем редактирую ее в блокноте и снова импортирую через phpMyAdmin.<br />Вот и в этот раз сменился плагин отвечающий за вывод текста в спойлере и нужно было внести изменения в большое кол-во статей.<br />Заменить шорткод {spoiler title=Тут заголовок}Тут текст скрытый в спойлере{/spoiler}</p><p>НА:<br />[spoiler title=&#039;Тут заголовок&#039;]Тут текст скрытый в спойлере[/spoiler]</p><p>С тем чтобы заменить {spoiler title= на [spoiler title=&#039;&nbsp; и {/spoiler} на [/spoiler], проблем не возникло.</p><p>Но чтобы заменить } на &#039;] пришлось повозится т.к. естественно что этот символ встречался еще много где.<br />Вроде как заменял только в коде шорткода, все проверил несколько раз, но при попытке импорта на сайт получил сначала:</p><div class="codebox"><pre><code>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`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES
(1280, 1, &#039;2010-04-06 16:40:20&#039;, &#039;0000-00-00 00:00:00&#039;, &#039;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #008000;&quot;&gt;Тренинговое занятие&lt;/span&gt;&lt;/strong&gt;&lt;/h4&gt; &lt;p&gt;&lt;strong&gt; &lt;/strong&gt;&lt;strong&gt;Цели: &lt;/strong&gt;&lt;br /&gt; • создание позитивного эмоционального фона;  &lt;br /&gt; • формирование установки на возможность внутреннего самосовершенствования, снижение тревожности и повышение уровня безопасности.&lt;/p&gt; &lt;p&gt;&lt;strong&gt;Возрастная группа:&lt;/strong&gt;14—17 лет. &lt;br /&gt; &lt;br /&gt; &lt;strong&gt;Само[...]

#1064 - У вас ошибка в запросе. Изучите документацию по используемой версии MySQL на предмет корректного синтаксиса около &#039;Рассматриваемые книги и идеи&#039;]1. Джеймс Ален.&#039; на строке 7</code></pre></div><p>А при повторной попытке: <br /></p><div class="codebox"><pre><code>Ошибка
Static analysis:

66 errors were found during analysis.

Unexpected character. (near &quot;}&quot; at position 22894)
Unexpected character. (near &quot;:&quot; at position 23023)
Unexpected character. (near &quot;:&quot; at position 23177)
Unexpected character. (near &quot;:&quot; at position 23494)
Unexpected character. (near &quot;:&quot; at position 23579)
Unexpected character. (near &quot;:&quot; at position 24034)
Unexpected character. (near &quot;:&quot; at position 24130)
Unexpected character. (near &quot;:&quot; at position 24232)
Unexpected character. (near &quot;:&quot; at position 24628)
Unexpected character. (near &quot;:&quot; at position 24818)
Unexpected character. (near &quot;:&quot; at position 24967)
Unexpected character. (near &quot;:&quot; at position 25065)
Unexpected character. (near &quot;:&quot; at position 25317)
Unexpected character. (near &quot;:&quot; at position 25413)
Unexpected character. (near &quot;:&quot; at position 25617)
Unexpected character. (near &quot;{&quot; at position 26181)
Unexpected character. (near &quot;}&quot; at position 26190)
Unexpected character. (near &quot;[&quot; at position 26356)
Unexpected character. (near &quot;]&quot; at position 26365)
Unexpected character. (near &quot;{&quot; at position 26367)
Unexpected character. (near &quot;}&quot; at position 26545)
Unexpected character. (near &quot;[&quot; at position 26547)
Unexpected character. (near &quot;]&quot; at position 26557)
Unexpected character. (near &quot;:&quot; at position 26652)
Unexpected character. (near &quot;:&quot; at position 26746)
Unexpected character. (near &quot;:&quot; at position 26801)
Unexpected character. (near &quot;:&quot; at position 26837)
Unexpected character. (near &quot;:&quot; at position 26874)
Unexpected character. (near &quot;:&quot; at position 26909)
Unexpected character. (near &quot;:&quot; at position 26950)
Unexpected character. (near &quot;:&quot; at position 26992)
Unexpected character. (near &quot;:&quot; at position 27521)
Unexpected character. (near &quot;:&quot; at position 27524)
Unexpected character. (near &quot;:&quot; at position 27544)
Unexpected character. (near &quot;:&quot; at position 27547)
Unexpected character. (near &quot;:&quot; at position 27681)
Unexpected character. (near &quot;:&quot; at position 27684)
Unexpected character. (near &quot;:&quot; at position 27704)
Unexpected character. (near &quot;:&quot; at position 27707)
Unexpected character. (near &quot;?&quot; at position 28007)
Unexpected character. (near &quot;?&quot; at position 28213)
Unexpected character. (near &quot;?&quot; at position 28244)
Unexpected character. (near &quot;?&quot; at position 28376)
Unexpected character. (near &quot;?&quot; at position 28973)
Unexpected character. (near &quot;:&quot; at position 29653)
Unexpected character. (near &quot;:&quot; at position 30113)
Unexpected character. (near &quot;:&quot; at position 30683)
Unexpected character. (near &quot;:&quot; at position 30801)
Unexpected character. (near &quot;:&quot; at position 31442)
Unexpected character. (near &quot;?&quot; at position 31759)
Unexpected character. (near &quot;?&quot; at position 31788)
Unexpected character. (near &quot;?&quot; at position 31861)
Unexpected character. (near &quot;:&quot; at position 32352)
Unexpected character. (near &quot;?&quot; at position 32793)
Unexpected character. (near &quot;?&quot; at position 32824)
Unexpected character. (near &quot;?&quot; at position 32956)
Unexpected character. (near &quot;:&quot; at position 33139)
Unexpected character. (near &quot;:&quot; at position 33142)
Unexpected character. (near &quot;:&quot; at position 33162)
Unexpected character. (near &quot;:&quot; at position 33165)
Unexpected character. (near &quot;:&quot; at position 33281)
Unexpected character. (near &quot;:&quot; at position 33284)
Unexpected character. (near &quot;:&quot; at position 33304)
Unexpected character. (near &quot;:&quot; at position 33307)
Unexpected character. (near &quot;:&quot; at position 33333)
23 values were expected, but found 137. (near &quot;(&quot; at position 21245)
SQL запрос:

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`, `pinged`, `post_modified`, `post_modified_gmt`, `post_content_filtered`, `post_parent`, `guid`, `menu_order`, `post_type`, `post_mime_type`, `comment_count`) VALUES (1280, 1, &#039;2010-04-06 16:40:20&#039;, &#039;0000-00-00 00:00:00&#039;, &#039;&lt;h4 style=&quot;text-align: center;&quot;&gt;&lt;strong&gt;&lt;span style=&quot;color: #008000;&quot;&gt;Тренинговое занятие&lt;/span&gt;&lt;/strong&gt;&lt;/h4&gt; 

Тут большой фрагмент текста

 Попробуйте примерить на себе следующие принципы конструктивной критики.&lt;/div&gt; &lt;p&gt; &lt;/p&gt; &#039;, &#039;publish&#039;, &#039;open&#039;, &#039;open&#039;, &#039;&#039;, &#039;7-principov-konstruktivnoi-kritiki&#039;, &#039;&#039;, &#039;&#039;, &#039;2010-04-13 17:59:41&#039;, &#039;2010-04-13 14:59:41&#039;, &#039;&#039;, 0, &#039;/principov-konstruktivnoi-kritiki.html&#039;, 20, &#039;post&#039;, &#039;&#039;, 0), (1291, 1, &#039;2010-04-24 00:00:00&#039;, &#039;2010-04-23 21:00:00&#039;, &#039;&lt;p&gt;&lt;strong&gt;Название:&lt;/strong&gt; Влияние семьи на воспитание&amp;nbsp

Ответ MySQL: Документация

#1064 - У вас ошибка в запросе. Изучите документацию по используемой версии MySQL на предмет корректного синтаксиса около &#039;Рассматриваемые книги и идеи}1. Джеймс Ален. &#039; на строке 7</code></pre></div><p>Подскажите, пожалуйста, как можно исправить ошибку?</p>]]></content>
			<author>
				<name><![CDATA[RomaR]]></name>
				<uri>https://forum.php-myadmin.ru/profile.php?id=8390</uri>
			</author>
			<updated>2016-08-28T09:43:58Z</updated>
			<id>https://forum.php-myadmin.ru/viewtopic.php?pid=27159#p27159</id>
		</entry>
</feed>
