<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="wordpress/2.3.3" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>SymfonyLab &#187; Uncategorized</title>
	<link>http://www.symfonylab.com</link>
	<description>Everything you wanted to know about Symfony framework but did not know who to ask!</description>
	<pubDate>Mon, 28 Jul 2008 06:35:56 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.3</generator>
	<language>en</language>
			<item>
		<title>Cleanup my drafts. Part 2.</title>
		<link>http://www.symfonylab.com/cleanup-my-drafts-part-2/</link>
		<comments>http://www.symfonylab.com/cleanup-my-drafts-part-2/#comments</comments>
		<pubDate>Sat, 15 Mar 2008 20:22:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Symfony]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[sql]]></category>

		<guid isPermaLink="false">http://www.symfonylab.com/cleanup-my-drafts-part-2/</guid>
		<description><![CDATA[This time my drafts cleanup is not directly related to symfony but these are the classes which I&#8217;m sure you will use for your symfony projects:
htmlSQL is a experimental PHP class which allows you to access HTML values by an SQL like syntax. This means that you don&#8217;t have to write complex functions (regular expressions) [...]]]></description>
			<content:encoded><![CDATA[<p>This time my drafts cleanup is not directly related to symfony but these are the classes which I&#8217;m sure you will use for your symfony projects:</p>
<p><strong>htmlSQL</strong> is a experimental PHP class which allows you to access HTML values by an SQL like syntax. This means that you don&#8217;t have to write complex functions (regular expressions) to extract specific values. The htmlSQL queries look like this:</p>
<p><a href="http://www.jonasjohn.de/lab/htmlsql.htm">http://www.jonasjohn.de/lab/htmlsql.htm</a></p>
<p>Technically it&#8217;s class to query the web by an SQL like language. I guess this can be used together with Lime or SimpleTest (depends on which one you like the best) for units testing or for fetching web pages.</p>
<p><strong>Phptrackback</strong> - a simple, portable PHP class with full TrackBack capabilites. Ping trackback URIs, receive trackbacks from other clients and seed pages for auto-discovery. The class also extract links from a given string and search these links for trackback URIs:</p>
<p><a href="http://phptrackback.sourceforge.net/">http://phptrackback.sourceforge.net/</a></p>
<p>You may want to use this class together with sfSimpleBlogPlugin or the other project with similar functionality.</p>
<p>The other interesting thing is Apache&#8217;s module Mod_Auth_External:</p>
<p><a href="http://www.unixpapa.com/mod_auth_external.html">http://www.unixpapa.com/mod_auth_external.html</a></p>
<p>I bookmarked this page because of I thought this can be used as authentification mechanism for multiple symfony projects where I dont want to use sfGuardPlugin but only shared auth handler.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.symfonylab.com/cleanup-my-drafts-part-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>InnoDB creating table problem</title>
		<link>http://www.symfonylab.com/innodb-creating-table-problem/</link>
		<comments>http://www.symfonylab.com/innodb-creating-table-problem/#comments</comments>
		<pubDate>Mon, 03 Mar 2008 07:12:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Symfony]]></category>

		<category><![CDATA[Uncategorized]]></category>

		<category><![CDATA[database]]></category>

		<category><![CDATA[propel]]></category>

		<guid isPermaLink="false">http://www.symfonylab.com/innodb-creating-table-problem/</guid>
		<description><![CDATA[Hi, a quick note.
Somehow I had a problem with performing propel-build-all. I had a few schema.yml files and building process was going fine for them except last one schema. It did not create a table for that schema.yml and reported about mysql error (cant create a table). I think I killed about an hour trying [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, a quick note.<br />
Somehow I had a problem with performing propel-build-all. I had a few schema.yml files and building process was going fine for them except last one schema. It did not create a table for that schema.yml and reported about mysql error (cant create a table). I think I killed about an hour trying to fix yml file (I thought that&#8217;s the problem with tabs or syntax in yml). And finally I figured out I had to take a look into mysql error log. And here is what I have found out there:</p>
<blockquote><p>080223 16:17:48  InnoDB: Error: table `dbname/tablename` already exists in InnoDB internal<br />
InnoDB: data dictionary. Have you deleted the .frm file<br />
InnoDB: and not used DROP TABLE? Have you used DROP DATABASE<br />
InnoDB: for InnoDB tables in MySQL version <= 3.23.43?<br />
InnoDB: See the Restrictions section of the InnoDB manual.<br />
InnoDB: You can drop the orphaned table inside InnoDB by<br />
InnoDB: creating an InnoDB table with the same name in another<br />
InnoDB: database and copying the .frm file to the current database.<br />
InnoDB: Then MySQL thinks the table exists, and DROP TABLE will<br />
InnoDB: succeed.<br />
InnoDB: You can look for further help from<br />
InnoDB: http://dev.mysql.com/doc/mysql/en/InnoDB_troubleshooting_datadict.html
</p></blockquote>
<p>So it turned out I had broken tablename.frm file and when I overwritten it with anothertablename.frm it started it work.<br />
Maybe when you&#8217;ll get into such problem you wont kill your time because of this article <img src='http://www.symfonylab.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.symfonylab.com/innodb-creating-table-problem/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
