<?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>We Rock Your Web Forum Tag: drupal 6 - Recent Posts</title>
<link>http://forum.werockyourweb.com/</link>
<description>We Rock Your Web Forum Tag: drupal 6 - Recent Posts</description>
<language>en</language>
<pubDate>Thu, 17 May 2012 22:52:20 +0000</pubDate>

<item>
<title>Web Rocker on "Cron run exceeded the time limit and was aborted"</title>
<link>http://forum.werockyourweb.com/drupal/cron-run-exceeded-the-time-limit-and-was-aborted#post-1154</link>
<pubDate>Tue, 15 Nov 2011 16:35:58 +0000</pubDate>
<dc:creator>Web Rocker</dc:creator>
<guid isPermaLink="false">1154@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Okay Web Rockers, we've got a potential solution (should work for Drupal 5.x and up). Edit the file /includes/module.inc. temporarily by adding the line:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;foreach (module_implements($hook) as $module) {
    $function = $module .&#38;#39;_&#38;#39;. $hook;

    if ($hook == &#38;#39;cron&#38;#39;) watchdog(&#38;#39;cron&#38;#39;, &#38;quot;hit $module cron&#38;quot;);   // add this line&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This should have cron spit out detailed messages and give you a clue as to why cron is timing out (you should see it give you a list of modules it's hit (ie. hit search cron, hit poll cron, hit ping cron, etc.). The last one caused it to stall, so you can investigate that module or input filter further.&#60;/p&#62;
&#60;p&#62;The most common solutions if you want to try these:&#60;br /&#62;
&#60;ul&#62;&#60;li&#62;Disable the &#34;PHP filter&#34; module, run cron. If that works, try re-enabling PHP filter, and running cron again. If that works - you're in the clear.&#60;/li&#62;&#60;li&#62;Check your input formats and make sure there's no conflicts with tags (ie. allowing an &#34;embed&#34; tag for both input filter and video filter).&#60;/li&#62;&#60;br /&#62;
&#60;/ul&#62;&#60;/p&#62;
&#60;p&#62;Any more problems, please post back with details on what you've tried.
&#60;/p&#62;
</description>
</item>
<item>
<title>DrupalJunkie on "Cron run exceeded the time limit and was aborted"</title>
<link>http://forum.werockyourweb.com/drupal/cron-run-exceeded-the-time-limit-and-was-aborted#post-1153</link>
<pubDate>Tue, 15 Nov 2011 16:02:05 +0000</pubDate>
<dc:creator>DrupalJunkie</dc:creator>
<guid isPermaLink="false">1153@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Ahhhh! This is driving me crazy. It's also causing our content rotator to time-out and not work correctly (because the cache isn't being cleared by a cron run). Backup/ migrate is also affected, and maybe even boost?
&#60;/p&#62;
</description>
</item>
<item>
<title>Anonymous on "Cron run exceeded the time limit and was aborted"</title>
<link>http://forum.werockyourweb.com/drupal/cron-run-exceeded-the-time-limit-and-was-aborted#post-1138</link>
<pubDate>Tue, 08 Nov 2011 20:27:33 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">1138@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Hmmm, I'm having the same problem here and can't seem to pin it down. I should point out that before I upgrade to Drupal 6.22 (from Drupal 5) backup &#38;amp; migrate was working just fine (ie. cron not timing out and scheduled backups going according to plan).
&#60;/p&#62;
</description>
</item>
<item>
<title>Anonymous on "Remove OpenID Login?"</title>
<link>http://forum.werockyourweb.com/drupal/remove-openid-login#post-1137</link>
<pubDate>Tue, 08 Nov 2011 20:26:23 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">1137@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Just uninstall the &#34;openid&#34; module.
&#60;/p&#62;
</description>
</item>
<item>
<title>DrupalJunkie on "Remove OpenID Login?"</title>
<link>http://forum.werockyourweb.com/drupal/remove-openid-login#post-1136</link>
<pubDate>Tue, 08 Nov 2011 20:26:07 +0000</pubDate>
<dc:creator>DrupalJunkie</dc:creator>
<guid isPermaLink="false">1136@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Is there a way to remove the OpenID login that's appearing in Drupal in the sidebar (above &#34;create new account&#34; and &#34;request new password&#34;)? I'm using Drupal 6.22.
&#60;/p&#62;
</description>
</item>
<item>
<title>DrupalJunkie on "Warning: fopen(./sites/default/default.settings.php)"</title>
<link>http://forum.werockyourweb.com/drupal/warning-fopensitesdefaultdefaultsettingsphp#post-1130</link>
<pubDate>Wed, 02 Nov 2011 16:36:11 +0000</pubDate>
<dc:creator>DrupalJunkie</dc:creator>
<guid isPermaLink="false">1130@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Ok, so apparently I need to leave the filename as &#34;default.settings.php&#34; and &#60;em&#62;copy &#60;/em&#62; the file and rename it to &#34;settings.php&#34; (so there are two settings files). Very confusing, since normally you just remove the default part. I hope they fix this in Drupal 7!
&#60;/p&#62;
</description>
</item>
<item>
<title>DrupalJunkie on "Warning: fopen(./sites/default/default.settings.php)"</title>
<link>http://forum.werockyourweb.com/drupal/warning-fopensitesdefaultdefaultsettingsphp#post-1129</link>
<pubDate>Wed, 02 Nov 2011 16:25:37 +0000</pubDate>
<dc:creator>DrupalJunkie</dc:creator>
<guid isPermaLink="false">1129@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;I'm trying to install Drupal 6, and I keep getting this error message (followed by a couple others): &#34;&#60;strong&#62;Warning: fopen(./sites/default/default.settings.php)&#60;/strong&#62;&#34;&#60;/p&#62;
&#60;p&#62;Which indicates to me that the installer is trying to access the file default.settings.php. But it already asked me to rename it to settings.php and adjust write permissions (or at least I thought)? &#60;/p&#62;
&#60;p&#62;Anyone know what gives?
&#60;/p&#62;
</description>
</item>
<item>
<title>Networx on "Cron run exceeded the time limit and was aborted"</title>
<link>http://forum.werockyourweb.com/drupal/cron-run-exceeded-the-time-limit-and-was-aborted#post-1128</link>
<pubDate>Fri, 28 Oct 2011 13:02:03 +0000</pubDate>
<dc:creator>Networx</dc:creator>
<guid isPermaLink="false">1128@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;On my Drupal 6.x site, with backup_migrate installed, and cron running every 3 hours (via poormanscron module), I keep getting the error &#34;&#60;strong&#62;Cron run exceeded the time limit and was aborted.&#60;/strong&#62;&#34;&#60;/p&#62;
&#60;p&#62;Any ideas how to resolve this? My backup/ migrate schedule (once a day) is unable to run because cron keeps timing out. It's working fine on my other site, I simply can't figure out what's causing cron to time out...
&#60;/p&#62;
</description>
</item>
<item>
<title>Web Rocker on "Add &#34;if logged in&#34; check to Drupal?"</title>
<link>http://forum.werockyourweb.com/drupal/add-if-logged-in-check-to-drupal#post-1092</link>
<pubDate>Fri, 02 Sep 2011 13:18:45 +0000</pubDate>
<dc:creator>Web Rocker</dc:creator>
<guid isPermaLink="false">1092@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Yes, just add the following php snippet right &#60;em&#62;after &#60;/em&#62;your opening &#38;lt;body&#38;gt; tag:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php if (!user_is_logged_in()): ?&#38;gt;
&#38;lt;div class=&#38;quot;logged-out&#38;quot;&#38;gt;
&#38;lt;?php endif; ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And the following just &#60;em&#62;before &#60;/em&#62;the closing &#38;lt;body&#38;gt; tag:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php if (!user_is_logged_in()): ?&#38;gt;
&#38;lt;/div&#38;gt; &#38;lt;!-- .logged-out --&#38;gt;
&#38;lt;?php endif; ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You could reverse this to check for logged in users, or use both. &#60;/p&#62;
&#60;p&#62;In this example, you can precede styles with .logged-in to check if the user is logged in or not. &#60;/p&#62;
&#60;p&#62;For your situation, you can use the following style to prevent error messages from being displayed to anonymous users:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;.logged-out .messages.error { display: none }&#60;/code&#62;
&#60;/p&#62;
</description>
</item>
<item>
<title>DrupalJunkie on "Add &#34;if logged in&#34; check to Drupal?"</title>
<link>http://forum.werockyourweb.com/drupal/add-if-logged-in-check-to-drupal#post-1091</link>
<pubDate>Fri, 02 Sep 2011 13:14:45 +0000</pubDate>
<dc:creator>DrupalJunkie</dc:creator>
<guid isPermaLink="false">1091@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Is there a way to add a check on each page (for stylesheet purposes) to see if a user is logged in or not? I'm using Drupal 6.x&#60;/p&#62;
&#60;p&#62;In other words, I want to be able to set style declaration that only either logged in or logged out users will see. Specifically, I don't want the error messages appearing to logged out users.
&#60;/p&#62;
</description>
</item>
<item>
<title>Anonymous on "Fatal error: Call to undefined function: filter_xss_bad_protocol"</title>
<link>http://forum.werockyourweb.com/drupal/fatal-error-call-to-undefined-function-filter_xss_bad_protocol#post-1088</link>
<pubDate>Wed, 31 Aug 2011 13:34:37 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">1088@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;This error most likely resulted from an incomplete upload/ update. Try re-uploading the files and running update.php again. That should resolve the issue.
&#60;/p&#62;
</description>
</item>
<item>
<title>Woofus on "Fatal error: Call to undefined function: filter_xss_bad_protocol"</title>
<link>http://forum.werockyourweb.com/drupal/fatal-error-call-to-undefined-function-filter_xss_bad_protocol#post-1087</link>
<pubDate>Wed, 31 Aug 2011 13:33:57 +0000</pubDate>
<dc:creator>Woofus</dc:creator>
<guid isPermaLink="false">1087@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;After updating a Drupal installation on one of my sites to 6.22, I got the following error when logging in: &#60;strong&#62;Fatal error: Call to undefined function: filter_xss_bad_protocol&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;I refreshed the page and now it's gone, but I'm wondering if I screwed something up during the update (from 6.19)?
&#60;/p&#62;
</description>
</item>
<item>
<title>cwd on "login destination redirect php"</title>
<link>http://forum.werockyourweb.com/drupal/login-destination-redirect-php#post-953</link>
<pubDate>Thu, 16 Jun 2011 10:05:43 +0000</pubDate>
<dc:creator>cwd</dc:creator>
<guid isPermaLink="false">953@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;You could use this role-based php snippet (don't include the &#60;code&#62;&#38;lt;?php ?&#38;gt;&#60;/code&#62;):&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
global $user;
if (in_array(&#38;#39;role1&#38;#39;, $user-&#38;gt;roles)) {
    return &#38;#39;node1&#38;#39;;
}
if (in_array(&#38;#39;role2&#38;#39;, $user-&#38;gt;roles)) {
    return &#38;#39;node2&#38;#39;;
}else {
    return &#38;#39;&#38;lt;front&#38;gt;&#38;#39;;
}
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Here are some &#38;lt;a target=&#34;_blank&#34; href=&#34;http://drupal.org/node/418488&#34;&#38;gt;more examples&#38;lt;/a&#38;gt;.
&#60;/p&#62;
</description>
</item>
<item>
<title>domainer on "login destination redirect php"</title>
<link>http://forum.werockyourweb.com/drupal/login-destination-redirect-php#post-952</link>
<pubDate>Thu, 16 Jun 2011 10:01:22 +0000</pubDate>
<dc:creator>domainer</dc:creator>
<guid isPermaLink="false">952@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;I've got the &#34;Login Destination&#34; module installed on my Drupal 6.x site. It's great - I can control what page users see when they login based on their role/ permissions.&#60;/p&#62;
&#60;p&#62;My only problem is, how the heck do I use it? It appears I need to enter a php snippet in order to get a redirect based on a role to work. Would be nice if they updated the module to include an interface such as &#34;if this role, load this URL (fill in the blanks).&#34;&#60;/p&#62;
&#60;p&#62;Could someone shoot me an example?
&#60;/p&#62;
</description>
</item>
<item>
<title>DrupalJunkie on "tempnam() [function.tempnam]: open_basedir restriction in effect"</title>
<link>http://forum.werockyourweb.com/drupal/tempnam-functiontempnam-open_basedir-restriction-in-effect#post-525</link>
<pubDate>Thu, 09 Sep 2010 08:26:36 +0000</pubDate>
<dc:creator>DrupalJunkie</dc:creator>
<guid isPermaLink="false">525@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;That did it! Thx CWD  &#38;lt;img src=&#38;quot;http://forum.werockyourweb.com/my-plugins/bb-smilies/default/icon_biggrin.gif&#38;quot; title=&#38;quot;:-D&#38;quot; class=&#38;quot;bb_smilies&#38;quot; /&#38;gt; 
&#60;/p&#62;
</description>
</item>
<item>
<title>cwd on "tempnam() [function.tempnam]: open_basedir restriction in effect"</title>
<link>http://forum.werockyourweb.com/drupal/tempnam-functiontempnam-open_basedir-restriction-in-effect#post-524</link>
<pubDate>Thu, 09 Sep 2010 08:26:07 +0000</pubDate>
<dc:creator>cwd</dc:creator>
<guid isPermaLink="false">524@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Try re-creating the folder /files/tmp and see if that helps.
&#60;/p&#62;
</description>
</item>
<item>
<title>DrupalJunkie on "tempnam() [function.tempnam]: open_basedir restriction in effect"</title>
<link>http://forum.werockyourweb.com/drupal/tempnam-functiontempnam-open_basedir-restriction-in-effect#post-523</link>
<pubDate>Thu, 09 Sep 2010 08:25:44 +0000</pubDate>
<dc:creator>DrupalJunkie</dc:creator>
<guid isPermaLink="false">523@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;I'm running Drupal 6.x, and recently launched a new site based on a saved 6.x database that I use for all my new Drupal sites.&#60;/p&#62;
&#60;p&#62;Normally everything loads fine, but this time I keep getting the error message: &#60;strong&#62;tempnam() [function.tempnam]: open_basedir restriction in effect&#60;/strong&#62;.&#60;/p&#62;
&#60;p&#62;In addition, my theme changes don't seem to be saving/ taking place. Any ideas what's going on here?
&#60;/p&#62;
</description>
</item>
<item>
<title>cwd on "Drupal 6 Comment Settings"</title>
<link>http://forum.werockyourweb.com/drupal/drupal-6-comment-settings#post-366</link>
<pubDate>Fri, 11 Jun 2010 18:09:23 +0000</pubDate>
<dc:creator>cwd</dc:creator>
<guid isPermaLink="false">366@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Browse to Content Management &#38;gt; Content Types &#38;gt; and select your content type (ie. page). From there you can access the &#60;strong&#62;comments settings&#60;/strong&#62; link which will expand to offer you all the comment options (including how many to show on the page) for that content type. &#60;/p&#62;
&#60;p&#62;The advantage to this approach is that comment settings can be fine-tuned to each content type. The disadvantage is that it takes longer to update a setting you want to take effect on all content types.
&#60;/p&#62;
</description>
</item>
<item>
<title>DrupalJunkie on "Drupal 6 Comment Settings"</title>
<link>http://forum.werockyourweb.com/drupal/drupal-6-comment-settings#post-365</link>
<pubDate>Fri, 11 Jun 2010 18:06:47 +0000</pubDate>
<dc:creator>DrupalJunkie</dc:creator>
<guid isPermaLink="false">365@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;Ahhh, this is driving me crazy. In Drupal 5, I could browse to the intuitive location Content Management &#38;gt; Comments &#38;gt; Settings to adjust comment settings. In this case, I'm trying to increase the number of comments that can appear on a page.&#60;/p&#62;
&#60;p&#62;I've found this setting in the past, but of course Drupal 6 has it somewhere else, supposedly more clever, but nevertheless a location that I can never find!&#60;/p&#62;
&#60;p&#62;Help please!
&#60;/p&#62;
</description>
</item>
<item>
<title>Anonymous on "Drupal 6 Page Not Found"</title>
<link>http://forum.werockyourweb.com/drupal/drupal-6-page-not-found#post-356</link>
<pubDate>Tue, 08 Jun 2010 00:07:18 +0000</pubDate>
<dc:creator>Anonymous</dc:creator>
<guid isPermaLink="false">356@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;I'm getting this problem too with Drupal 6. Two of my highest traffic Drupal sites experienced the page not found error out of nowhere. All I notice in my log files around the time my monitoring software reported the page not found is a failed login, and missing 406.shtml file, and a comment that contained :[. I wonder if the [ character is screwing things up? Seems like a long shot...
&#60;/p&#62;
</description>
</item>
<item>
<title>Sally301 on "Drupal 6 Page Not Found"</title>
<link>http://forum.werockyourweb.com/drupal/drupal-6-page-not-found#post-355</link>
<pubDate>Tue, 08 Jun 2010 00:05:04 +0000</pubDate>
<dc:creator>Sally301</dc:creator>
<guid isPermaLink="false">355@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;This has been happening to my Drupal sites more and more frequently recently. Out of the blue - I get page not found errors. Typically on the front page, but sometimes only specific pages. Clearing the cache resolves the problem, but I'm thinking - what on earth is causing these page not found errors?&#60;/p&#62;
&#60;p&#62;I examined the log files and was unable to come up with anything. I'm thinking maybe caching settings, since clearing the cache seems to fix the problem. And I don't recall having this issue with previous versions of Drupal (4.x, 5.x).&#60;/p&#62;
&#60;p&#62;Is anyone else encountering this issue? Any suggestions?
&#60;/p&#62;
</description>
</item>
<item>
<title>cwd on "Drupal 6.x missing &#34;restrict parent items to&#34;"</title>
<link>http://forum.werockyourweb.com/drupal/drupal-6x-missing-restrict-parent-items-to#post-162</link>
<pubDate>Mon, 14 Dec 2009 20:48:48 +0000</pubDate>
<dc:creator>cwd</dc:creator>
<guid isPermaLink="false">162@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;There's a Drupal module, &#34;Menu Subtree Permissions,&#34; which you can get at drupal.org/project/menu_stp, that should address this issue.
&#60;/p&#62;
</description>
</item>
<item>
<title>Sally301 on "Drupal 6.x missing &#34;restrict parent items to&#34;"</title>
<link>http://forum.werockyourweb.com/drupal/drupal-6x-missing-restrict-parent-items-to#post-161</link>
<pubDate>Mon, 14 Dec 2009 20:47:36 +0000</pubDate>
<dc:creator>Sally301</dc:creator>
<guid isPermaLink="false">161@http://forum.werockyourweb.com/</guid>
<description>&#60;p&#62;I'm trying to make things easier for my client by only having a certain menu show up when they edit a page and are given the option of selecting the parent menu. Right now, they have to scroll down past the admin (navigation) menu, before getting to my &#34;primary links.&#34; &#60;/p&#62;
&#60;p&#62;In Drupal 5.x, I used to be able to set an option - &#34;restrict parent items to&#34; &#38;gt; primary links, but that doesn't seem to work in Drupal 6.x. Any ideas?
&#60;/p&#62;
</description>
</item>

</channel>
</rss>

