Wednesday, October 20, 2010

Adjusti-Search Issues

12:30-ish p.m. Adjusti-Search module starts calling up a random page when a search is executed. The result is an error page. This happens intermittently and I have not been able to isolate the cause yet.

Steps taken and outcome:
1. Run cron - no change
2. Empty cache - page called changes but is still incorrect
3. Disable Adjusti-Search module - no change?
4. Empty cache and/or run cron - website stops calling style sheet
5. Renable Adjusti-Search module and run cron - no change
6. Empty cache - style sheet works but Adjusti-Search still malfunctions.

The chump is stumped.

1:30 p.m. - It's working again. I think it just randomly grabbed the correct URL from the table. It think the Adjusti-Search table may have some corrupt records in it.

Plan: Backup the database and run Update.php when Sharon comes back. Also check the table for corrupt records when Sharon comes back. May consider uninstalling and reinstalling module.

10-20-2010 3:30 p.m.: Ran Update.php, no change.

10-28-2010 1:40 p.m.: Disabled block until yesterday. Still experiencing the same problem.

11/1/2010 3 p.m.: Disabled CSS and Javascript optimizing in "Performance". Adjusti-Search would call temporary css and js files, so I disabled the optimization feature to see if it helps. So far Adjusti-Search is working again. Fingers are crossed.

11/2/2010: It's malfunctioning again.

11/3/2010 10 a.m.: Uninstalled and Reinstalled module on a test server and it worked for awhile. However, around 1 p.m. it started malfunctioning again. Contacted Connor.

11/3/2010 2:30 p.m.: Enabled PPLD Search module (Adjusti-Search prototype) and got the same error. Enabled default Drupal search and it works fine.

11/3/2010 3:30 p.m.: Connor replied with the following suggestion:
  1. Open the adjustisearch.module file for editing wherever you have it installed on the server.


  2. In the code, find the line that says "function
    adjustisearch_block_form($form_state) {" (this line should be around line 137 or so).


  3. Add the following line of code right after the line "$form = array();":
    $form['#action'] = url('');


  4. Save the file. Clear your Drupal cache. Then try Adjusti-Search again.



11/10/2010 2 p.m.: Adjusti-Search has been working for the past week. Yay Connor!!

Wednesday, October 13, 2010

Aftermath

Putting out lots of little and not so little fires. The big one right now is the AdjustiSearch module doesn't always work. Sometimes I get "Accessed Denied" and sometimes I get the "Whoops" page and most of the time it works fine. I'm trying to isolate the problem(s) but no real luck yet.

Here's what I have so far:
-The "Whoops" page happens for anonymous users only, across all browsers.
-No cause has been found yet.
-The default search form works fine.
-Emptying cache does not help.
-Disabling and re-enabling the module does not help.
-It happens intermittently and will start working again without rhyme or reason.
-The search returns the following urls, all of which are "Whoops" pages, when it is malfunctioning:
--http://ppld.org/ieupdate.js?adjs_type=1
--http://ppld.org/sites/default/files/css/css_2206d48491af4b609c7ee4d274aece51.css
--http://ppld.org/aboutyourlibrary/services/ElPomar/default.asp

10/14/10 11 a.m.: After much dinking around, including adding code for the ieupdate.js highlighted here: http://www.amarasoftware.com/flash-problem.htm, removing the code when it caused other problems, and emptying cache multiple times it started working again.

10/14/10 1 p.m.: It's down again. And returning misc URLs. Connor thinks it's somehow pulling the URLs from the database.

10/15/2010 3:35 p.m.: Does running cron fix it?

Monday, September 20, 2010

It's Launched!

The lesson for today is:

If all else fails, empty cache.

It seems to mostly be going smoothly, thank God.

Friday, September 17, 2010

Homestretch

We're launching on Monday! I'm running updates and switching links from new.ppld.org to ppld.org on the new site. It's going to get crazy around here!

Wish us luck.

Friday, August 13, 2010

Final Countdown

I met with the server admin and the network admin and we've decided to launch on or around September 13. The server admin is going to put IIS and the current website on the same server as the new website running Apache. That way we hope to be able to run both websites simultaneously using the same domain name.

I also met with the Website Team and developed a marketing plan involving me sending lots of emails to staff, a promo and tutorial video, posters, and web ads.

Monday, August 9, 2010

Optimization

I'm starting the Drupal optimization process and have come across a very handy checklist:

http://www.drupal-check.org/

I also installed the Boost module.

I meet with the server and network admins tomorrow to make a launch plan.

Wednesday, August 4, 2010

Final Push

I've finished Tax Information and Microfilm Collection (375 records) and am about to enter the homestretch of the redesign process.

I'll be working with the server admin and the network admin to prepare for the launch. I'm hoping to launch on Labor Day weekend. Wish me luck!