<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>Peter&#039;s Useful Crap - Topic: Differences if hosted on Windows vs. Linux server?</title>
	<link>http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server</link>
	<description><![CDATA[Useful tips on Canada, cell phones, banking, technology, WordPress, PHP and more]]></description>
	<generator>Simple:Press Version 5.5.1</generator>
	<atom:link href="http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>Peter on Differences if hosted on Windows vs. Linux server?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3069</link>
        	<category>Peter's Login Redirect</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3069</guid>
        	        	<description><![CDATA[<p>I'm glad it worked out for you!  Thanks for sharing along the way.</p>
<p>It is unfortunate that you had to manually add your rule, though.  I hope to turn up a most lasting fix in the future!</p>
]]></description>
        	        	<pubDate>Thu, 17 May 2012 07:24:22 +0000</pubDate>
        </item>
        <item>
        	<title>Megan Walker on Differences if hosted on Windows vs. Linux server?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3065</link>
        	<category>Peter's Login Redirect</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3065</guid>
        	        	<description><![CDATA[<p>Thanks Peter. I walked through the different steps you suggested. I changed the primary key first. That didn't fix it. The "all" and "register" rules already existed. So I then did as you suggested and added my links manually. This was pretty simple using the statement you gave me, and then I also added the a redirect for the role of client which is ultimately what I needed.</p>
<p>INSERT INTO `wp_login_redirects` (`rul_type`, `rul_value`, `rul_url`, `rul_url_logout`, `rul_order`) VALUES<br />
 ('role', 'client', 'http://localhost.com/clients/variableusername/variable ', '', 0)</p>
<p>Thank you very much for your help with this one! Was frustrating but you helped me out fast! Thanks again!!! <img class="sfsmiley" src="http://www.theblog.ca/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
]]></description>
        	        	<pubDate>Wed, 16 May 2012 10:32:36 +0000</pubDate>
        </item>
        <item>
        	<title>Peter on Differences if hosted on Windows vs. Linux server?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3064</link>
        	<category>Peter's Login Redirect</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3064</guid>
        	        	<description><![CDATA[<p>Hi, setting "rul_value" as the primary key probably won't work with more than a couple of rules, as the primary key would need to be unique, and that field is often empty.  The most reliable single primary key would be to add a completely new field "ID" with an auto increment:</p>
<p>ALTER TABLE  `wp_login_redirects` ADD  `ID` INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST</p>
<p>If you're missing the "all" and "register" rules, try to add them through the interface first.  If that does not work, try adding them manually:</p>
<p>INSERT INTO `wp_login_redirects` (`rul_type`, `rul_value`, `rul_url`, `rul_url_logout`, `rul_order`) VALUES<br />
('all', '', 'http://localhost/redirecttest&#039;, 0),<br />
('register', '', '', '', 0);</p>
]]></description>
        	        	<pubDate>Wed, 16 May 2012 08:10:04 +0000</pubDate>
        </item>
        <item>
        	<title>Megan Walker on Differences if hosted on Windows vs. Linux server?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3063</link>
        	<category>Peter's Login Redirect</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3063</guid>
        	        	<description><![CDATA[<p>Hi Peter,</p>
<p>Thanks for the quick response. I am getting somewher… just not quite fixed yet. I added a Primary Key to the rul_value column. I am no longer getting errors when trying to a redirect rule, in fact, I am getting this:<br />
Successfully updated URL for "all other users" </p>
<p>Problem is, the rule doesn't show, and there is nothing in the table in the database. Here is a link to how the table is now set up in the database:<br />
<a href="http://bond-us.com/images/redirectscreenshot.png" rel="nofollow"><a href="http://bond-us.com/images/redi" rel="nofollow">http://bond-us.com/images/redi</a>.....enshot.png</a> </p>
<p>Any thing you think I should have done differently? Made a different column the Primary Key? </p>
<p>Thanks again, hopefully this time if we find the resolution we can actually post it so it will help others! I won't keep it to myself. <img class="sfsmiley" src="http://www.theblog.ca/wp-content/forum-smileys/sf-laugh.gif" alt="Laugh" /></p>
]]></description>
        	        	<pubDate>Wed, 16 May 2012 06:36:29 +0000</pubDate>
        </item>
        <item>
        	<title>Peter on Differences if hosted on Windows vs. Linux server?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3062</link>
        	<category>Peter's Login Redirect</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3062</guid>
        	        	<description><![CDATA[<p>Hi Megan,</p>
<p>I've seen a couple of these types of errors over the years but I could never pinpoint the issue based on the information given and the users never reported back on their solution, unfortunately.  The better clue might be the lack of a primary key; you could try to add an "ID" column to the table simply to provide a unique key for the database, in case there's some sort of a requirement for that in your database server.</p>
]]></description>
        	        	<pubDate>Tue, 15 May 2012 22:35:20 +0000</pubDate>
        </item>
        <item>
        	<title>Megan Walker on Differences if hosted on Windows vs. Linux server?</title>
        	<link>http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3060</link>
        	<category>Peter's Login Redirect</category>
        	<guid isPermaLink="true">http://www.theblog.ca/peter-forum/peters-login-redirect/differences-if-hosted-on-windows-vs-linux-server#p3060</guid>
        	        	<description><![CDATA[<p>Hi Peter, </p>
<p>Hoping you can help. I see you are very active on your forum which is great to see! First, thanks for creating a fantastic plugin. I am creating a customer portal using the directions <a href="http://wordpress.org/support/topic/my-crack-at-a-client-login-sectioncustomer-portal">provided by JTWilcox </a>on the Wordpress forums. He references your Login Redirect plugin as part of the setup.</p>
<p>I downloaded and installed your plugin on a dev blog which is installed on a Linux server with Go Daddy. Plugin worked great, no issues at all. Very easy to use.</p>
<p>I am now installing it on a different server which is where the live site will be hosted, which is a Windows Server 2008 Service Pack 1. When trying to use the plugin, I am getting the following error within Wordpress itself:<br />
****ERROR: Unknown error updating user-specific URL for user abc****</p>
<p>On some of the other posts it seemed that it might have something to do with the rul_type missing all or register but those are both present. I have uninstalled and reinstalled several times. I am now wondering if it is server based? I tried to update the table using the SQL below:</p>
<p>UPDATE `mydatabasename`.`wp_login_redirects`<br />
SET<br />
`rul_type` = {rul_type: ENUM},<br />
`rul_value` = {rul_value: VARCHAR},<br />
`rul_url` = {rul_url: LONGTEXT},<br />
`rul_url_logout` = {rul_url_logout: LONGTEXT},<br />
`rul_order` = {rul_order: INT}<br />
WHERE </p>
<p>But get this message:</p>
<p>Error Code: 1064. 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 ': ENUM},<br />
`rul_value` = {rul_value: VARCHAR},<br />
`rul_url` = {rul_url: LONGTEXT},<br />
`r' at line 3</p>
<p>I am also getting this message:</p>
<p>Error: `cli3ntr3s0urc3`.`wp_login_redirects`: table data is not editable because there is no primary key defined for the table</p>
<p>Sorry, I know that is a lot! Question is, do you think it is server related? If so, have you run in to it before and have a fix of some kind? Thanks!</p>
<p>Megan Walker</p>
]]></description>
        	        	<pubDate>Mon, 14 May 2012 10:48:36 +0000</pubDate>
        </item>
</channel>
</rss>