<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Tag: devformatter</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Tag: devformatter</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 06:38:27 +0000</pubDate>

<item>
<title>ecartz on "[Plugin: Developer Formatter] Version 2009.0.1.33 errors"</title>
<link>http://wordpress.org/support/topic/312833#post-1218931</link>
<pubDate>Mon, 21 Sep 2009 05:10:17 +0000</pubDate>
<dc:creator>ecartz</dc:creator>
<guid isPermaLink="false">1218931@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Something that I did broke syntax highlighting.  I'm not sure if it was from these changes or a subsequent change.  I've reverted to 2009.0.1.32 until I have time to figure it out.
&#60;/p&#62;</description>
</item>
<item>
<title>ecartz on "[Plugin: Developer Formatter] Version 2009.0.1.33 errors"</title>
<link>http://wordpress.org/support/topic/312833#post-1217940</link>
<pubDate>Sun, 20 Sep 2009 03:55:16 +0000</pubDate>
<dc:creator>ecartz</dc:creator>
<guid isPermaLink="false">1217940@http://wordpress.org/support/</guid>
<description>&#60;p&#62;When I updated to version 2009.0.1.33, I was getting a bunch of errors about things not being arrays.  I fixed them with explicit casts to array.  It also might make sense in some cases to gate earlier in the logic in such a way that these lines would only get called when the contents are an array (rather than using the explicit cast).  I'm not familiar enough with the logic of this section to say.  &#60;/p&#62;
&#60;p&#62;The unix diff of the changes that worked for me:  &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;diff -bBr devformatter/devgeshi.php plugins/devformatter/devgeshi.php
100c100
&#38;lt;         $langData = implode(&#38;quot;\n&#38;quot;, @file(&#38;quot;http://svn.wp-plugins.org/devformatter/branches/langs/&#38;quot;.$ALanguage.&#38;quot;.php&#38;quot;));
---
&#38;gt;         $langData = implode(&#38;quot;\n&#38;quot;, (array)@file(&#38;quot;http://svn.wp-plugins.org/devformatter/branches/langs/&#38;quot;.$ALanguage.&#38;quot;.php&#38;quot;));
diff -bBr devformatter/geshi/geshi.php plugins/devformatter/geshi/geshi.php
1925c1925
&#38;lt;         foreach (array_keys($this-&#38;gt;language_data[&#38;#39;KEYWORDS&#38;#39;]) as $key) {
---
&#38;gt;         foreach (array_keys((array)$this-&#38;gt;language_data[&#38;#39;KEYWORDS&#38;#39;]) as $key) {
2290c2290
&#38;lt;             foreach ($this-&#38;gt;language_data[&#38;#39;QUOTEMARKS&#38;#39;] as $quotemark) {
---
&#38;gt;             foreach ((array)$this-&#38;gt;language_data[&#38;#39;QUOTEMARKS&#38;#39;] as $quotemark) {
3241,3242c3241,3242
&#38;lt;         if ($this-&#38;gt;lexic_permissions[&#38;#39;STRINGS&#38;#39;]) {
&#38;lt;             $quotemarks = preg_quote(implode($this-&#38;gt;language_data[&#38;#39;QUOTEMARKS&#38;#39;]), &#38;#39;/&#38;#39;);
---
&#38;gt;         if (isset($this-&#38;gt;lexic_permissions[&#38;#39;STRINGS&#38;#39;]) &#38;amp;&#38;amp; $this-&#38;gt;lexic_permissions[&#38;#39;STRINGS&#38;#39;]) {
&#38;gt;             $quotemarks = preg_quote(implode(&#38;#39;/&#38;#39;, (array)$this-&#38;gt;language_data[&#38;#39;QUOTEMARKS&#38;#39;]));
3252c3252
&#38;lt;                 $x = 0; // check wether per-keyword-group parser_control is enabled
---
&#38;gt;                 $x = 0; // check whether per-keyword-group parser_control is enabled
3265c3265
&#38;lt;         foreach (array_keys($this-&#38;gt;language_data[&#38;#39;KEYWORDS&#38;#39;]) as $k) {
---
&#38;gt;         foreach (array_keys((array)$this-&#38;gt;language_data[&#38;#39;KEYWORDS&#38;#39;]) as $k) {
3306c3306
&#38;lt;         foreach ($this-&#38;gt;language_data[&#38;#39;REGEXPS&#38;#39;] as $key =&#38;gt; $regexp) {
---
&#38;gt;         foreach ((array)$this-&#38;gt;language_data[&#38;#39;REGEXPS&#38;#39;] as $key =&#38;gt; $regexp) {
3357c3357
&#38;lt;         foreach (array_keys($this-&#38;gt;language_data[&#38;#39;KEYWORDS&#38;#39;]) as $k) {
---
&#38;gt;         foreach (array_keys((array)$this-&#38;gt;language_data[&#38;#39;KEYWORDS&#38;#39;]) as $k) {
3502c3502
&#38;lt;         foreach (array_keys($this-&#38;gt;language_data[&#38;#39;REGEXPS&#38;#39;]) as $key) {
---
&#38;gt;         foreach (array_keys((array)$this-&#38;gt;language_data[&#38;#39;REGEXPS&#38;#39;]) as $key) {
3643c3643
&#38;lt;         foreach (array_keys($this-&#38;gt;language_data[&#38;#39;KEYWORDS&#38;#39;]) as $key) {
---
&#38;gt;         foreach (array_keys((array)$this-&#38;gt;language_data[&#38;#39;KEYWORDS&#38;#39;]) as $key) {
3651c3651
&#38;lt;         foreach (array_keys($this-&#38;gt;language_data[&#38;#39;COMMENT_SINGLE&#38;#39;]) as $key) {
---
&#38;gt;         foreach (array_keys((array)$this-&#38;gt;language_data[&#38;#39;COMMENT_SINGLE&#38;#39;]) as $key) {
3654c3654
&#38;lt;         foreach (array_keys($this-&#38;gt;language_data[&#38;#39;REGEXPS&#38;#39;]) as $key) {
---
&#38;gt;         foreach (array_keys((array)$this-&#38;gt;language_data[&#38;#39;REGEXPS&#38;#39;]) as $key) {&#60;/code&#62;&#60;/pre&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] W3C Validating pages with devformatter content"</title>
<link>http://wordpress.org/support/topic/310289#post-1211211</link>
<pubDate>Mon, 14 Sep 2009 14:54:13 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1211211@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Great. Soon as possible I'll modify the plugin to create a WC3 HTML compatible output.&#60;/p&#62;
&#60;p&#62;Thanks for the increament. ^^
&#60;/p&#62;</description>
</item>
<item>
<title>ecartz on "[Plugin: Developer Formatter] W3C Validating pages with devformatter content"</title>
<link>http://wordpress.org/support/topic/310289#post-1209175</link>
<pubDate>Sat, 12 Sep 2009 10:55:23 +0000</pubDate>
<dc:creator>ecartz</dc:creator>
<guid isPermaLink="false">1209175@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I recently tried to validate my pages with devformatter content and was getting a long list of errors.  I ended up making the following changes to get validation working with XHTML Transitional.  Perhaps these or equivalent could be integrated into the next release?  No hurry, it's currently working for me.  However, if it could be patched so that it will continue to work after the next update, that would be great.  &#60;/p&#62;
&#60;p&#62;You can see the code changes working at &#60;a href=&#34;http://the.ecartz.biz/validating-devformatter-content-b-145.html&#34; title=&#34;Editing the Developer Formatter WordPress plugin to validate in XHTML Transitional&#34;&#62;this post&#60;/a&#62; -- which talks about this code.  You can even use the Copy to Clipboard feature with this very code.  &#60;/p&#62;
&#60;p&#62;Anyway, there were four things that the validator did not like about the plugin output:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;The Javascript script tags used language=&#34;Javascript&#34; and did not include type=&#34;text/javascript&#34;.&#60;/li&#62;
&#60;li&#62;The flash (for the clipboard) used embed, which is a Netscape proprietary extension. &#60;/li&#62;
&#60;li&#62;Wordpress automatically adds paragraph tags and either the code block was in a paragraph with other content or it was in its own paragraph.  Unfortunately, pre is not a valid child of p, so the validator barfs. &#60;/li&#62;
&#60;li&#62;Even if I strip the paragraph tags, the pre contains a table.  Again, table is not a valid child of pre.&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;I added the type to the script tags, e.g. &#60;/p&#62;
&#60;p&#62;&#60;code&#62;echo &#38;quot;&#38;lt;script language=\&#38;quot;JavaScript\&#38;quot; type=\&#38;quot;text/javascript\&#38;quot;&#38;gt;&#38;lt;!--\n var DevFmtUrl=&#38;#39;&#38;quot;.DEVFMT_URL.&#38;quot;&#38;#39;; //--&#38;gt;\n&#38;lt;/script&#38;gt;\n&#38;quot;;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;I changed the embed to an object:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;#39;background-position:50% 50%;width:16px;height:16px;vertical-align:middle;&#38;quot;&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot; . &#38;#39;&#38;lt;object id=&#38;quot;ZeroClipboard&#38;#39;.$DevFmt_CodeIndex.&#38;#39;&#38;quot;
type=&#38;quot;application/x-shockwave-flash&#38;quot; data=&#38;quot;&#38;#39;.
        DEVFMT_URL.&#38;#39;_zclipboard.swf&#38;quot; width=&#38;quot;16&#38;quot; height=&#38;quot;16&#38;quot; style=&#38;quot;vertical-align:middle&#38;quot;&#38;gt;&#38;#39;.
        &#38;#39;&#38;lt;param name=&#38;quot;movie&#38;quot; value=&#38;quot;&#38;#39;.
        DEVFMT_URL.&#38;#39;_zclipboard.swf&#38;quot; /&#38;gt;&#38;#39;.
        &#38;#39;&#38;lt;param name=&#38;quot;FlashVars&#38;quot; value=&#38;quot;id=&#38;#39;.$DevFmt_CodeIndex.&#38;#39;&#38;amp;width=16&#38;amp;height=16&#38;quot; /&#38;gt;&#38;#39;.
        &#38;#39;&#38;lt;param name=&#38;quot;wmode&#38;quot; value=&#38;quot;transparent&#38;quot; /&#38;gt;&#38;#39;.
        &#38;#39;&#38;lt;param name=&#38;quot;loop&#38;quot; value=&#38;quot;false&#38;quot; /&#38;gt;&#38;#39;.
        &#38;#39;&#38;lt;param name=&#38;quot;menu&#38;quot; value=&#38;quot;false&#38;quot; /&#38;gt;&#38;#39;.
        &#38;#39;&#38;lt;param name=&#38;quot;quality&#38;quot; value=&#38;quot;best&#38;quot; /&#38;gt;&#38;#39;.
        &#38;#39;&#38;lt;param name=&#38;quot;allowFullScreen&#38;quot; value=&#38;quot;false&#38;quot; /&#38;gt;&#38;#39;.
        &#38;#39;&#38;lt;param name=&#38;quot;allowScriptAccess&#38;quot; value=&#38;quot;always&#38;quot; /&#38;gt;&#38;#39;.
        &#38;#39;&#38;lt;/object&#38;gt;&#38;#39; . &#38;quot;\n&#38;quot; . &#38;#39;&#38;lt;/td&#38;gt;&#38;#39;.&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I changed the pre to a div:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;return $regionflag[0].&#38;#39;&#38;lt;div class=&#38;quot;devcodeblock&#38;quot; title=&#38;quot;&#38;#39;.devfmt_getLangTitle($ALang).&#38;#39;&#38;quot;&#38;gt;&#38;#39;.
        $Toolbar.&#38;#39;&#38;lt;div class=&#38;quot;devcodeoverflow&#38;quot;&#38;#39;.$AStyle.&#38;#39;&#38;gt;&#38;#39;.$ACode.&#38;#39;&#38;lt;/div&#38;gt;&#38;lt;/div&#38;gt;&#38;#39;.$regionflag[1];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In devfmt_ContentFormat, I added three new lines, just before the content is returned:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$AContent = str_replace(&#38;#39;&#38;lt;!--DEVFMTCODE--&#38;gt;&#38;#39;, &#38;#39;&#38;lt;/p&#38;gt;&#38;lt;!--DEVFMTCODE--&#38;gt;&#38;#39;, $AContent);
      $AContent = str_replace(&#38;#39;&#38;lt;!--END_DEVFMTCODE--&#38;gt;&#38;#39;, &#38;#39;&#38;lt;!--END_DEVFMTCODE--&#38;gt;&#38;lt;p&#38;gt;&#38;#39;, $AContent);
      $AContent = str_replace(&#38;#39;&#38;lt;p&#38;gt;&#38;lt;/p&#38;gt;&#38;#39;, &#38;#39;&#38;#39;, $AContent);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Finally, in devfmt_common.js, I changed the embed selector to an object instead:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;EmbedObj = jQuery(&#38;quot;object#ZeroClipboard&#38;quot; + id)[0];&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;With these changes, I am now able to &#60;a href=&#34;http://validator.w3.org/check?uri=http%3A%2F%2Fthe.ecartz.biz%2Fvalidating-devformatter-content-b-145.html;ss=1&#34;&#62;validate my page as XHTML Transitional with the W3C HTML Validator&#60;/a&#62;.  If I took off the language=&#34;JavaScript&#34;, removed target=&#34;_blank&#34; from all my links, and updated my DOCTYPE, I could validate as XHTML Strict.
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] fopen error"</title>
<link>http://wordpress.org/support/topic/303312#post-1190398</link>
<pubDate>Thu, 27 Aug 2009 20:53:27 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1190398@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Fine :)
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] Internet Explorer collapsing code post-load"</title>
<link>http://wordpress.org/support/topic/304774#post-1190396</link>
<pubDate>Thu, 27 Aug 2009 20:52:52 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1190396@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Man, I tried to see, but nothing occurs here about what you said.
&#60;/p&#62;</description>
</item>
<item>
<title>zerostride on "[Plugin: Developer Formatter] Internet Explorer collapsing code post-load"</title>
<link>http://wordpress.org/support/topic/304774#post-1189330</link>
<pubDate>Wed, 26 Aug 2009 23:04:14 +0000</pubDate>
<dc:creator>zerostride</dc:creator>
<guid isPermaLink="false">1189330@http://wordpress.org/support/</guid>
<description>&#60;p&#62;In Internet Explorer (7 and 8) the code blocks on my site &#60;a href=&#34;http://gameclay.com/documentation/t3d-materials&#34; rel=&#34;nofollow&#34;&#62;http://gameclay.com/documentation/t3d-materials&#60;/a&#62; show up fine during page load, but once the page has completed loading, these blocks get collapsed into a single line. I have poked a bit at the CSS, but have not had much luck in resolving this.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/devformatter/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/devformatter/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>wifsimster on "[Plugin: Developer Formatter] fopen error"</title>
<link>http://wordpress.org/support/topic/303312#post-1186271</link>
<pubDate>Mon, 24 Aug 2009 17:01:54 +0000</pubDate>
<dc:creator>wifsimster</dc:creator>
<guid isPermaLink="false">1186271@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thanks it's works ;D
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1185955</link>
<pubDate>Mon, 24 Aug 2009 12:14:39 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1185955@http://wordpress.org/support/</guid>
<description>&#60;p&#62;You're enable to set the width and height of the code area, like this:&#60;br /&#62;
&#38;lt;code lang=&#34;php&#34; style=&#34;width: 100px; height: 200px&#34;&#38;gt;&#60;/p&#62;
&#60;p&#62;And sorry, word-wrap will be not avaliable so soon, the devformatter's target is to keep the code like a code-editor.
&#60;/p&#62;</description>
</item>
<item>
<title>alantang888 on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1185632</link>
<pubDate>Mon, 24 Aug 2009 04:06:39 +0000</pubDate>
<dc:creator>alantang888</dc:creator>
<guid isPermaLink="false">1185632@http://wordpress.org/support/</guid>
<description>&#60;p&#62;another question, can it set to word warp??
&#60;/p&#62;</description>
</item>
<item>
<title>alantang888 on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1185627</link>
<pubDate>Mon, 24 Aug 2009 03:59:03 +0000</pubDate>
<dc:creator>alantang888</dc:creator>
<guid isPermaLink="false">1185627@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I upgraded to Version 2009.0.1.30 the problem fixed, many thanks ^_^&#60;/p&#62;
&#60;p&#62;I love this program !!!
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] Line breaks removed on edit"</title>
<link>http://wordpress.org/support/topic/303232#post-1185381</link>
<pubDate>Sun, 23 Aug 2009 22:22:03 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1185381@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Man, you found a bug on wordpress editor :).&#60;/p&#62;
&#60;p&#62;Disable the plugin and try again. You'll see the double line problem again.&#60;/p&#62;
&#60;p&#62;Report this at: &#60;a href=&#34;http://wordpress.org/support/forum/3&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/support/forum/3&#60;/a&#62;&#60;br /&#62;
thanks
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] fopen error"</title>
<link>http://wordpress.org/support/topic/303312#post-1185370</link>
<pubDate>Sun, 23 Aug 2009 22:14:27 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1185370@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Btw, you can download the language pack at:&#60;br /&#62;
&#60;a href=&#34;http://svn.wp-plugins.org/devformatter/branches/langs/langs.zip&#34; rel=&#34;nofollow&#34;&#62;http://svn.wp-plugins.org/devformatter/branches/langs/langs.zip&#60;/a&#62;&#60;br /&#62;
And put all language files there your self.
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] fopen error"</title>
<link>http://wordpress.org/support/topic/303312#post-1185365</link>
<pubDate>Sun, 23 Aug 2009 22:11:33 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1185365@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Give directory permission on &#34;/home/web2528/web/wp-content/plugins/devformatter/geshi/geshi/&#34;. CHmod 777 on it.&#60;br /&#62;
Thanks
&#60;/p&#62;</description>
</item>
<item>
<title>wifsimster on "[Plugin: Developer Formatter] fopen error"</title>
<link>http://wordpress.org/support/topic/303312#post-1183980</link>
<pubDate>Sat, 22 Aug 2009 08:20:40 +0000</pubDate>
<dc:creator>wifsimster</dc:creator>
<guid isPermaLink="false">1183980@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have a big trouble on my web site with your plugin, i have setting clearly the plugin but i can't resolve it :&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Warning: fopen(/home/web2528/web/wp-content/plugins/devformatter/geshi/geshi/bash.php) [function.fopen]: failed to open stream: Permission denied in /home/web2528/web/wp-content/plugins/devformatter/devgeshi.php on line 90&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;This message display in all my topic...&#60;/p&#62;
&#60;p&#62;Thanks for help.
&#60;/p&#62;</description>
</item>
<item>
<title>thedude458 on "[Plugin: Developer Formatter] Line breaks removed on edit"</title>
<link>http://wordpress.org/support/topic/303232#post-1183698</link>
<pubDate>Fri, 21 Aug 2009 23:49:18 +0000</pubDate>
<dc:creator>thedude458</dc:creator>
<guid isPermaLink="false">1183698@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Using the visual editor, everything works fine when I initially create a post. However, if I edit a post I noticed that line breaks that were put in after the end of the code snippet are removed.&#60;/p&#62;
&#60;p&#62;For instance, I may enter a code snippet in to the visual editor, followed by some text, such as....&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;class Foo {
public:
  // ... more code
}; &#38;lt;--- code snippet ends here

This would be an explanation of the code.&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In the original post, there would be two line breaks after the code snuppet ends. However, if I leave the post entry screen, and come back to edit it later, the extra line break is deleted, and it ends up looking like...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;class Foo {
public:
  // ... more code
}; &#38;lt;--- code snippet ends here
This would be an explanation of the code.&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I really like the plugin, but it makes it difficult to edit posts, because I am constantly having to re-add extra line breaks every time I wish to make a change.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://wordpress.org/extend/plugins/devformatter/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.org/extend/plugins/devformatter/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1181359</link>
<pubDate>Thu, 20 Aug 2009 02:36:12 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1181359@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Yeah, I've checked the compatibility with some mysql versions, and sometimes this can bug the installation.&#60;/p&#62;
&#60;p&#62;I've implemented a new system for languages and configurations manipulation.&#60;/p&#62;
&#60;p&#62;Version 2009.0.1.30 uses another configuration system, don't create tables anymore. Retrocompatibility has been implemented.
&#60;/p&#62;</description>
</item>
<item>
<title>ecartz on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1181290</link>
<pubDate>Thu, 20 Aug 2009 01:12:34 +0000</pubDate>
<dc:creator>ecartz</dc:creator>
<guid isPermaLink="false">1181290@http://wordpress.org/support/</guid>
<description>&#60;p&#62;There is a bug in devinstall.php.  There is an extraneous comma at the end of the list of columns for {wp_}devfmt_config:  &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;showtools tinyint(1) DEFAULT &#38;#39;1&#38;#39;,&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This causes the install to fail and never populate the programming languages.  I ran the SQL manually (getting an error on the syntax) and then revised the SQL so it would pass.  Then I uninstalled and installed the plugin and things seem to be working.  &#60;/p&#62;
&#60;p&#62;Presumably the code should be &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$sqlDevFmtConfig = &#38;quot;CREATE TABLE {$table_prefix}devfmt_config (
      geshilangpath varchar(255) CHARACTER SET utf8 NOT NULL,
      geshiuselink tinyint(1) NOT NULL DEFAULT &#38;#39;0&#38;#39;,
      displaylinenumbers tinyint(1) NOT NULL DEFAULT &#38;#39;1&#38;#39;,
      usedevformat tinyint(1) NOT NULL DEFAULT &#38;#39;1&#38;#39;,
      devfmtcss text CHARACTER SET utf8,
      linkjquery tinyint(1) DEFAULT &#38;#39;1&#38;#39;,
      highlighttags tinyint(1) DEFAULT &#38;#39;0&#38;#39;,
      copyclipboartext varchar(100) CHARACTER SET utf8 DEFAULT NULL,
      parsepre tinyint(1) DEFAULT &#38;#39;1&#38;#39;,
      hookrss2 tinyint(1) DEFAULT &#38;#39;1&#38;#39;,
      devversion varchar(30) CHARACTER SET utf8,
      showtools tinyint(1) DEFAULT &#38;#39;1&#38;#39;
    );&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Not sure whether this is a problem in all versions of MySQL -- it's actually a Perl Best Practice (according to Damian Conway) to make lists this way, but it doesn't seem to work in my MySQL.
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1181220</link>
<pubDate>Wed, 19 Aug 2009 23:50:38 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1181220@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Really strange this problem.&#60;br /&#62;
Another cause can be the mySQL table, check if there was {wp_}&#34;devfmt_config&#34; and {wp_}&#34;devfmt_supplang&#34;.
&#60;/p&#62;</description>
</item>
<item>
<title>alantang888 on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1180076</link>
<pubDate>Wed, 19 Aug 2009 03:36:48 +0000</pubDate>
<dc:creator>alantang888</dc:creator>
<guid isPermaLink="false">1180076@http://wordpress.org/support/</guid>
<description>&#60;p&#62;I did try to change the directory of geshi languages to ./geshi/geshi, but after i click save button, that settin back to /opt/httpd/alan/blog/wp-content/plugins/devformatter/geshi/geshi.&#60;/p&#62;
&#60;p&#62;I set the /opt/httpd/alan/blog/wp-content/plugins/devformatte apache permission to rwx, the php version is 5.2.5&#60;/p&#62;
&#60;p&#62;Thanks ^_^
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1175392</link>
<pubDate>Fri, 14 Aug 2009 19:30:26 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1175392@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Try yo change the directory of geshi languages to &#34;./geshi/geshi&#34; on the configuration page.&#60;br /&#62;
If that don't resolve, you'll need to check your permissions, and what version of php you are using. DevFormatter is compatible with php 5+.
&#60;/p&#62;</description>
</item>
<item>
<title>alantang888 on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1174606</link>
<pubDate>Fri, 14 Aug 2009 04:20:44 +0000</pubDate>
<dc:creator>alantang888</dc:creator>
<guid isPermaLink="false">1174606@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;i checked the X is show 0, and &#34;/opt/httpd/alan/blog/wp-content/plugins/devformatter/geshi/geshi&#34; got 139 php files, i tried remove all file then reinstall again, but still got same problem.....
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1173641</link>
<pubDate>Thu, 13 Aug 2009 13:23:13 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1173641@http://wordpress.org/support/</guid>
<description>&#60;p&#62;At some lines above you can see a phrase:&#60;br /&#62;
&#34;You have X supported languages.&#34;&#60;br /&#62;
X as a number.&#60;/p&#62;
&#60;p&#62;The actual number is ~139, otherwise you have a problem on the instalation. Check the GeSHi path on the ftp and see there all control files for each language.&#60;/p&#62;
&#60;p&#62;If everything is fine, and the problem persists, try to remove the plugin and upload it to the ftp again with all files.&#60;/p&#62;
&#60;p&#62;^^
&#60;/p&#62;</description>
</item>
<item>
<title>alantang888 on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1173498</link>
<pubDate>Thu, 13 Aug 2009 09:11:14 +0000</pubDate>
<dc:creator>alantang888</dc:creator>
<guid isPermaLink="false">1173498@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thx for reply, but I click the &#34;Update List&#34; button, the big textbox sill show&#60;br /&#62;
&#60;blockquote&#62;&#34;Warning: Invalid argument supplied for foreach() in /opt/httpd/alan/blog/wp-content/plugins/devformatter/devinterface.php on line 182&#34;&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Thx ^^
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] Bash lang not working quite right"</title>
<link>http://wordpress.org/support/topic/256742#post-1172210</link>
<pubDate>Wed, 12 Aug 2009 12:30:19 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1172210@http://wordpress.org/support/</guid>
<description>&#60;p&#62;You're welcome. :)&#60;br /&#62;
I did some improvements on the code, new features and others.&#60;br /&#62;
It's getting better.
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1172207</link>
<pubDate>Wed, 12 Aug 2009 12:28:26 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1172207@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Thats something I'll change later, but you can solve it accessing the DevFormatter configuration page and clicking on the &#34;Update List&#34; button at Supported Languages display.&#60;/p&#62;
&#60;p&#62;thanks
&#60;/p&#62;</description>
</item>
<item>
<title>alantang888 on "[Plugin: Developer Formatter] After install many php error in setting page"</title>
<link>http://wordpress.org/support/topic/299847#post-1172072</link>
<pubDate>Wed, 12 Aug 2009 08:09:21 +0000</pubDate>
<dc:creator>alantang888</dc:creator>
<guid isPermaLink="false">1172072@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;After I install this plug-in in setting/DevFormatter 2009.0.1.29 got many php error, how to fix it??&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;DevFormatter display &#38;amp; WordPress display:&#60;/strong&#62;&#60;br /&#62;
Warning: Invalid argument supplied for foreach() in /opt/httpd/alan/blog/wp-content/plugins/devformatter/devcommon.php on line 160&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Supported Languages:&#60;/strong&#62;&#60;br /&#62;
Warning: Invalid argument supplied for foreach() in /opt/httpd/alan/blog/wp-content/plugins/devformatter/devinterface.php on line 182
&#60;/p&#62;</description>
</item>
<item>
<title>vwal on "[Plugin: Developer Formatter] Bash lang not working quite right"</title>
<link>http://wordpress.org/support/topic/256742#post-1168286</link>
<pubDate>Sat, 08 Aug 2009 23:23:05 +0000</pubDate>
<dc:creator>vwal</dc:creator>
<guid isPermaLink="false">1168286@http://wordpress.org/support/</guid>
<description>&#60;p&#62;NOW it's working as far as I can tell! :) Backslashes and empty lines are now correctly preserved. Well done!&#60;/p&#62;
&#60;p&#62;The &#34;$&#34; preceded by a &#34;\&#34; still look different, but that's no biggie; the main thing is that all the characters are displayed.&#60;/p&#62;
&#60;p&#62;Thanks for fixing this!
&#60;/p&#62;</description>
</item>
<item>
<title>GSaraiva on "[Plugin: Developer Formatter] Bash lang not working quite right"</title>
<link>http://wordpress.org/support/topic/256742#post-1167753</link>
<pubDate>Sat, 08 Aug 2009 12:41:52 +0000</pubDate>
<dc:creator>GSaraiva</dc:creator>
<guid isPermaLink="false">1167753@http://wordpress.org/support/</guid>
<description>&#60;p&#62;str_replace again. 2009.0.1.27 born :).
&#60;/p&#62;</description>
</item>
<item>
<title>vwal on "[Plugin: Developer Formatter] Bash lang not working quite right"</title>
<link>http://wordpress.org/support/topic/256742#post-1167559</link>
<pubDate>Sat, 08 Aug 2009 05:58:33 +0000</pubDate>
<dc:creator>vwal</dc:creator>
<guid isPermaLink="false">1167559@http://wordpress.org/support/</guid>
<description>&#60;p&#62;It's getting better! :)&#60;/p&#62;
&#60;p&#62;With 2009.0.1.26 the newlines in the post bodies are left intact, and the backslashes in the code are preserved. &#60;/p&#62;
&#60;p&#62;The only problem that I see now is that all the empty lines in the code are removed and placed in the end of the code segment (so that spacing in code is gone and there are the corresponding number of empty lines in the end of the code block).&#60;/p&#62;
&#60;p&#62;I reverted my blog back to 2009.0.1.23 once more, but you can use my original code block to test. :)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
