Friday, November 11, 2011

WTF?!

What The Forms, that is. Forms are loading and submitting super slow for Anonymous users. This doesn't happen if the user is logged in. This has been going on for about 1 week. I didn't make any changes to the forms or anything related to forms. Sigh.

UPDATE: Recaptcha was malfunctioning. I disabled it and am using the math equations in captcha instead.

Thursday, July 7, 2011

Outcome

So I started posting my troubleshooting steps and frustrations on Twitter and a Drupal friend of mine, Mark Jarrell, stepped in to help.

We got it narrowed down to the new themes and he had me look for preprocess code involving vid/tid in the template.php files.

Sure enough, there was some code that Acquia gave me last year in the template.php files. I removed the code and it solved the problem. Thanks Mark!

Tuesday, July 5, 2011

Troubleshooting Vid/Tid Issue

1. We know that the pages work using the default theme.

We know that the pages are pulling the tid instead of the vid when assigned to the new theme via themekey.

We know the vid argument is assigned via a Page View in the recommended websites view.


2. We know that the pages work using the default theme.

We know that the pages are pulling the vid:tid instead of just the tid when assigned to the new theme via themekey.

We know the tid argument is assigned via a Page View in the recommended websites view.

Troubleshooting Steps.

1. Make sure the problems show up (or don't show up) on other themes.
2. Make a new View with the offending blocks and see if the problem persists.
3. Check Drupal.org to see if there are any other issues like this.

Monday, June 27, 2011

Note to Self

I think the following is true:

To use different themes (ThemeKey) in the same View you need to have the tpl.phps in both theme folders (ie: pikespeak and teens). Clear as mud?

Try emptying cache.

Monday, June 20, 2011

Back from the Dead

It's been 6 months since I've written. We're in the midst of migrating the Teen Zone into Drupal. We've had some issues which I didn't document. I can't even remember what they are now, so I'm sure that will come back to bite me in the arse.

I'll do better, I promise!

One issue we seem to be having is with ThemeKey when we create a new theme (copy existing, change photo image) and assign it to pages. Those pages utilizing Views with Taxonomy Term as the title are showing the Vocabulary Term and then the Taxonomy Term as the title. Confusing? Yes it is.

We're working to isolate the problem, but suffice it to say, the chump is stumped.

After some theme troubleshooting, we've narrowed it down to a faulty View construction. Why this doesn't error on our default theme is still a mystery.

Monday, January 10, 2011

Adding MIME Types in IIS

Our Server Admin took another job so I'm tasked with web server adminstration until someone new can be hired.

I ran into a strange issue today. I tried to link to a .dotx document and got a "Page Cannot be Found" error. The same thing happened when I linked to a .docx, but not when I linked to a .doc. I Googled the problem and came back with this:

http://forums.whirlpool.net.au/archive/876480

Here's a listing of MIME types for future reference:

http://www.webdeveloper.com/forum/showthread.php?t=162526

To solve this I went into IIS Manager on the web server and clicked on the HTTP Headers tab and clicked the Mime Type button and added the new types.

Presto!

Wednesday, November 17, 2010

Teen Zone Project

The next big project is for me to move the Teen Zone into Drupal. I'm not sure exactly what Kaitlin wants but I know it will take a different theme than the rest of ppld.org.

Cheryl found a module called ThemeKey that lets you assign themes to different taxonomy terms, content types, node ids, and much more. Very cool!

Now I just need to draw up a plan...