<?xml version="1.0" encoding="UTF-8"?>
<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/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Mosabuam - Manfred Moser, Werner Moser and gang &#187; PHP</title>
	<atom:link href="http://www.mosabuam.com/tag/php/feed" rel="self" type="application/rss+xml" />
	<link>http://www.mosabuam.com</link>
	<description>... what&#039;s going on in the world of the brothers Moser boys (and their girls and kids)</description>
	<lastBuildDate>Sat, 14 Jan 2012 12:36:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Problems with WordPress categories gone</title>
		<link>http://www.mosabuam.com/2009/09/problems-with-wordpress-categories-gone</link>
		<comments>http://www.mosabuam.com/2009/09/problems-with-wordpress-categories-gone#comments</comments>
		<pubDate>Mon, 07 Sep 2009 05:14:49 +0000</pubDate>
		<dc:creator>Manfred</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.mosabuam.com/?p=1426</guid>
		<description><![CDATA[We have recently been having a lot of issues with tags and categories misbehaving in wordpress and I finally figured out the solution. Since it was anything but obvious I thought I share my findings. First the symptoms: It all started with sporadic and unreproducible disappearance of categories in the wordpress admin interface. For some [...]]]></description>
			<content:encoded><![CDATA[<p>We have recently been having a lot of issues with tags and categories misbehaving in wordpress and I finally figured out the solution. Since it was anything but obvious I thought I share my findings.<br />
<span id="more-1426"></span></p>
<p>First the symptoms:</p>
<p>It all started with sporadic and unreproducible disappearance of categories in the wordpress admin interface. For some reason it did not cause any obvious problems on the mosabuam site. The <a href="/vijug" class="liinternal">VIJUG site</a> however had the categories disappear in the menu. This problem was not visible since we are not using categories on the main site, but e.g. the tagcloud links stopped working. In the end even the main page of recent posts stopped working and just showed an error message that there are no post for these criteria (not mentioning which these are..).</p>
<p>Looking at the database schema I found a bunch of inconsistencies that mostly acted as detractors from the the real problem. Fixing some of them up by deleting orphan records, giving descriptions to all categories and tags and such sometimes seemed to make things better, but now I have a feeling it might all have been sheer coincidence. Searching around on google and various other places did turn up similar problems, but all measures suggested did not help.</p>
<p>And then the source of the problem and the solution:</p>
<p>However fuzzing around with mysql via phpmyadmin I found that we got more and more error messages like<br />
<code><br />
Error<br />
SQL query: Edit<br />
SHOW FULL FIELDS FROM `wp_terms` ;<br />
MySQL said: Documentation<br />
#1 - Can't create/write to file '/tmp/#sql_559_0.MYI' (Errcode: 28)<br />
</code><br />
whenever I selected any table in any database in the structure view in phpmyadmin. It also appeared whenever I tried to edit a row in the browse section of phpmyadmin. After searching for a problem like that related to wordpress and mysql on the web I found <a href="http://cowboyprogramming.com/2008/01/27/blogroll-and-catagories-not-working-in-wordpress-232/" class="liexternal">this link</a> and concluded that even though this talks about a much older version of wordpress  (we are at the latest all the time.. currently 2.8.4) the problem might still be the same. And lo and behold it was. Getting my hosting provider to fix the problem with the access rights in /tmp resolved the issue. Fingers crossed it stays like that and a big <a href="http://twitter.com/#search?q=%23fail" class="liexternal">#fail</a> to <a href="http://wordpress.org/" class="liwp">WordPress</a> for failing silently and <a href="http://www.mysql.com/" class="liexternal">MySQL</a> for buggering up the first place.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mosabuam.com/2009/09/problems-with-wordpress-categories-gone/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Welcome to our new site!</title>
		<link>http://www.mosabuam.com/2009/06/welcome-to-our-new-site</link>
		<comments>http://www.mosabuam.com/2009/06/welcome-to-our-new-site#comments</comments>
		<pubDate>Thu, 11 Jun 2009 20:16:42 +0000</pubDate>
		<dc:creator>Admin of the System</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://mosabuam.com/?p=1244</guid>
		<description><![CDATA[Finally we did the switch from PostNuke to our new WordPress and we hope that you like it &#8211; would be cool if you tell us what you think about it &#8230; The Mosabuam :)]]></description>
			<content:encoded><![CDATA[<p>Finally we did the switch from PostNuke to our new WordPress and we hope that you like it &#8211; would be cool if you tell us what you think about it &#8230;</p>
<p>The Mosabuam :)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mosabuam.com/2009/06/welcome-to-our-new-site/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Time to say Good-bye</title>
		<link>http://www.mosabuam.com/2009/06/time-to-say-good-bye</link>
		<comments>http://www.mosabuam.com/2009/06/time-to-say-good-bye#comments</comments>
		<pubDate>Thu, 11 Jun 2009 05:52:32 +0000</pubDate>
		<dc:creator>Admin of the System</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Postnuke]]></category>

		<guid isPermaLink="false">http://mosabuam.com/blog/?p=1236</guid>
		<description><![CDATA[After a really really long time (8-9 years) of a PostNuke powered Mosabuam.com it&#8217;s time for us to say &#8220;Goodbye PostNuke &#8211; Hello WordPress&#8221;. We had a lot of fun with our system and we are also looking forward to our new wordpress based site. It&#8217;s already running and we will do the switch in [...]]]></description>
			<content:encoded><![CDATA[<div class="wpg2tag-image"><a href="http://www.mosabuam.com/wpg2?g2_itemId=15495" title="Some Screenshots of the Postnuke powered Mosabuam.com" class="liimagelink"><img src="http://www.mosabuam.com/g2/main.php?g2_view=core.DownloadItem&amp;g2_itemId=15500&amp;g2_serialNumber=2" width="150" height="150" id="IFid2" class="ImageFrame_none" alt="Some Screenshots of the Postnuke powered Mosabuam.com"/></a></div>
<p>After a really really long time (8-9 years) of a PostNuke powered Mosabuam.com it&#8217;s time for us to say &#8220;Goodbye PostNuke &#8211; Hello WordPress&#8221;.</p>
<p>We had a lot of fun with our system and we are also looking forward to our new wordpress based site. It&#8217;s already running and we will do the switch in the next days.</p>
<p>So if you subscribed to our RSS feed &#8211; please come back in a few days and make a resubscription to mosabuam.com.</p>
<p>A big thanks again for the PostNuke team for the last years and we wish you the best with your new system <a href="http://zikula.org/" target="_blank" class="liexternal">Zikula</a></p>
<p>Manfred &amp; Werner</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mosabuam.com/2009/06/time-to-say-good-bye/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>weblinksmap new release</title>
		<link>http://www.mosabuam.com/2006/04/weblinksmap-new-release</link>
		<comments>http://www.mosabuam.com/2006/04/weblinksmap-new-release#comments</comments>
		<pubDate>Sat, 22 Apr 2006 03:38:03 +0000</pubDate>
		<dc:creator>Manfred</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[Google Maps]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Postnuke]]></category>

		<guid isPermaLink="false">http://www.mosabuam.com/2006/04/weblinksmap-new-release</guid>
		<description><![CDATA[After receiving some help from the postnuke team a new version of the weblinksmap hack has arrived. It now fully works for multiple web link categories and has enhanced security. Check out the description and download it now.]]></description>
			<content:encoded><![CDATA[<p>After receiving some help from the postnuke team a new version of the weblinksmap hack has arrived. It now fully works for multiple web link categories and has enhanced security. Check out the <a href="index.php?name=News&#038;file=article&#038;sid=168" class="liinternal">description</a> and <a href="index.php?name=Downloads&#038;req=viewdownloaddetails&#038;lid=6" class="liinternal">download it now.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mosabuam.com/2006/04/weblinksmap-new-release/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>weblinksmap &#8211; Google maps in Postnuke</title>
		<link>http://www.mosabuam.com/2006/03/weblinksmap-google-maps-in-postnuke</link>
		<comments>http://www.mosabuam.com/2006/03/weblinksmap-google-maps-in-postnuke#comments</comments>
		<pubDate>Thu, 16 Mar 2006 18:40:15 +0000</pubDate>
		<dc:creator>Manfred</dc:creator>
				<category><![CDATA[Default]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Postnuke]]></category>

		<guid isPermaLink="false">http://www.mosabuam.com/2006/03/weblinksmap-google-maps-in-postnuke</guid>
		<description><![CDATA[So your web site talks a lot about travelling and has photos about all sorts of places? And you would like to link to all those resources on a map like this. Well, if you happen to use PostNuke for your site we got the right hack for you. After upgrading PostNuke recently and playing [...]]]></description>
			<content:encoded><![CDATA[<p>So your web site talks a lot about travelling and has photos about all sorts of places? And you would like to link to all those resources on a map like <a href="weblinksmap.php?catid=24,26" target="_blank" class="liinternal">this</a>. Well, if you happen to use PostNuke for your site we got the right hack for you.</p>
<p><span id="more-168"></span></p>
<p>After upgrading PostNuke recently and playing with the Google Maps API in a hard coded HTML for a bit I decided that maintaining the HTML file is just too painful. After all we are using PostNuke as a content management system on the site. And the HTML was not even within the site itself. So I migrated the HTML to a PHP file based on blank.php. Since that was still to painful I decided to hack a file together that takes links from the PostNuke web links core module and uses those on the map. And after a bit of hacking I am proud to release weblinksmap.php to you.</p>
<p>Download the release from <a href="index.php?name=Downloads&#038;req=viewdownloaddetails&#038;lid=6" class="liinternal">here</a> and read the weblinksmap_readme.txt for more instructions. An updated and maintained version of the instructions can be found in the following.<br />
<h2>weblinksmap.php documentation</h2>
<h3>General</h3>
<dl>
<dt>Description:</dt>
<dd>weblinksmap.php allows for the display of web links from Postnuke to be displayed in a Google Map in the PostNuke center frame.</dd>
<dt>Version:</dt>
<dd> weblinksmap20060424</dd>
<dt>Authors:</dt>
<dd> Manfred Moser </dd>
<dt>Examples:</dt>
<dd> can be found at <a href="http://www.mosabuam.com/weblinksmap.php" class="liinternal">http://www.mosabuam.com/weblinksmap.php</a> and <a href="http://www.mosabuam.com/weblinksmap.php?catid=24" class="liinternal">http://www.mosabuam.com/weblinksmap.php?catid=24</a><br />
and <a href="http://www.mosabuam.com/weblinksmap.php?catid=24,26" class="liinternal">http://www.mosabuam.com/weblinksmap.php?catid=24,26</a></dd>
</dd>
<dl>
<h3>Disclaimer</h3>
<p>This is pretty much a hack. A proper solution would be to add two new field (latitude and longitude) to the web links related tables in PostNuke. Add input for those fields in the administration system and various outputs in the different web links displays. In addition various blocks could be developed to use the data. Feel free to take the code from this component to improve the core.<br />
<h3>Initial setup</h3>
<ul>
<li>obtain a google map key from http://www.google.com/apis/maps/signup.html</li>
<li>insert the key into the variable definition for $googlekey at the top of weblinksmap.php</li>
<li>insert the map width into the variable defintion for $mapheight at the top of weblinksmap.php e.g. $mapheight=&#8217;400&#8242;;</li>
<li>insert the map width into the variable defintion for $mapwidth at the top of weblinksmap.php e.g. $mapwidth=&#8217;800&#8242;;</li>
<li>insert the longitude of the initial center point of the map into $initiallongitude at the top of weblinksmap.php e.g. $initiallongitude=&#8217;30&#8242;;</li>
<li>insert the latitude of the initial center point of the map into $initiallatitude at the top of weblinksmap.php e.g. $initiallatitude=&#8217;0&#8242;;</li>
<li>insert the zoom level for the initial map display into $initialzoomlevel at the top of weblinksmap.php e.g. $initialzoomlevel=&#8217;16&#8242;;</li>
<li>copy the modified weblinksmap.php into your PostNuke root folder</li>
<li>create some map marker links (see below)</li>
<li>check out the result at the url http://yourdomain/weblinksmap.php or http://yourdomain/weblinksmap.php?catid=x</li>
</ul>
<h3>Creating map marker links</h3>
<p>In your PostNuke admin system go to the WebLinks section and use the Add new link feature.</p>
<p>Add a new link considering the following:</p>
<p>The link title will be used as the link title in the map marker pop up.</p>
<p>The link url will be used as the link url in the map marker pop up. If the supplied link is less than 7 characters (http://) the text will be the title rendered in the map marker pop up without being a link. This is necessary since the web links modules defaults to http:// in the input form and does not allow for empty links. When creating multiple links with invalid links you have to use unique strings (e.g. just use a number), otherwise the weblinks module will not allow you to create the link with an identical link url as another one.</p>
<p>The coordinates for the map marker will be established from the substring {ll=longitude,latitude} within the link description. The easiest way to obtain the coordinates for a specific location is to navigate to the location at http://maps.google.com, click &#8220;Link to this page&#8221; and copy the ll=x,y section from the browser url window. Insert this string into description and surround it with {}. See the links section at http://www.mosabuam.com/index.php?name=Web_Links&#038;req=viewlink&#038;cid=24 for examples.</p>
<p>By default all links that contain the string &#8220;{ll=&#8221; in the description will be evaluated to be put onto the map. It is also possible to create a map per web links category. To display only the markers in this category on the map use weblinksmap.php?catid=x with x being the id for your category (which you can find out by looking at the url when you navigate to your web links category).</p>
<h3>Questions</h3>
<p>For questions visit http://www.mosabuam.com or contact <a href="javascript:DeCryptX('nbogsfeAnptbcvbn/dpn')" class="limailto"><img src="http://www.mosabuam.com/7f042c0624e245dc343d31fd83167b36/&#109;&#97;nfre&#100;&#64;m&#111;s&#97;bua&#109;&#46;&#99;o&#109;" class="cryptxImage" style="vertical-align:text-bottom" alt="manf&#114;&#101;d&#64;&#109;&#111;sa&#98;&#117;&#97;&#109;.c&#111;&#109;" title="m&#97;n&#102;&#114;&#101;d&#64;&#109;&#111;&#115;ab&#117;&#97;m.com" /></a></p>
<h3>Changelog</h3>
<dl>
<dt>20060424 &#8211; Manfred Moser</dt>
<dd>release on Postnuke.com revealed that IE is not working, introduced a fix by moving the script to the bottom of the page, new release packaged</dd>
<dt>20060421 &#8211; Manfred Moser</dt>
<dd>fixed problem with description field from categories table, cleaned up and released new version &#8211; thanks again to Frank Schummertz</dd>
<dt>20060401 &#8211; Manfred Moser</dt>
<dd>implemented use of pnAPI for url parameter usage to improve security after suggestion from Frank Schummertz, released again,  also includes feature to use multiple link categories and displays category titles and descriptions</dd>
<dt>20060316 &#8211; Manfred Moser</dt>
<dd> posted about the release <a href="http://forums.postnuke.com/index.php?name=PNphpBB2&#038;file=viewtopic&#038;t=47807" class="liexternal">in the Third Party Modules &#038; Blocks forum on the postnuke site</a></dd>
<dt>20060316 &#8211; Manfred Moser</dt>
<dd> posted about the release <a href="http://forums.postnuke.com/index.php?name=PNphpBB2&#038;file=viewtopic&#038;t=47806" class="liexternal">in the Feedback &#038; Suggestions  forum on the postnuke site</a></dd>
<dt>20060316 &#8211; Manfred Moser</dt>
<dd>release on http://www.mosabuam.com</dd>
<dt>20060316 &#8211; Manfred Moser</dt>
<dd>implemented feature to render title as normal text if there is no url after suggestion from Werner</dd>
<dt>20060315 &#8211; Manfred Moser</dt>
<dd>full working first version and documentation from scratch</dd>
</dl>
]]></content:encoded>
			<wfw:commentRss>http://www.mosabuam.com/2006/03/weblinksmap-google-maps-in-postnuke/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

