Click here for HomePagewww.RadMod.com
St. Louis, MO USA
The Radical Moderate
Covering: Big Brother, Propaganda, Theocracy and Liberty
By Tim Willoughby, Y.A.W.L. *
(* Yet Another Wretched Lawyer)

 
HOME RM's Platform RM's Quals About the RadMod TimsLaw.com
 

Libertarian Democrat

A Libertarian Democrat is vigorously pro-personal liberty, and believes government can play a constructive role in regulating our economy and providing a social safety net.

Categories:

About

Help Beta Test:

  • The RadMod is trying to convert an old fashioned HTML business website, TimsLaw.com, over to Wordpress. Feedback on how TimsLaw works would be appreciated.

Credits:

Internal Links:

A Moderate Motto:

"Few things in life are as good or as bad as they seem in the emotions of the moment."
--- An Anonymous Moderate

WP-Print 2.03 problem - fixed by reverting to old version
Posted in Category: WordPress

The latest version, 2.03, of WP-Print failed to work on my Wordpress 2 installation. An older version of WP-Print did work, one without all the new installation instructions. Simpler is better.

I’ve used the WP-print plugin since the inception of my Wordpress blog in about May 2005. After my recent update to Wordpress 2, I noticed that WP-print was broken. The break was on posts other than the post that appears on the homepage. It would print the homepage fine, but not the other posts.

I would get 404s when trying to print other posts. WP-print was throwing out 404s upon the “Printable Version” link being clicked.

I was still using the first version of WP-print I had downloaded in mid 2005. In the meantime, there were several later versions, but I never before had reason to go looking for those updates.

So I tried the latest version, 2.03, and that version was much more involved to install. Jeez, WP-print now includes a special plugin directory, and you actually have to “Activate” it. We didn’t have to do such a thing before.

So I went through the process, and even had to change the code I use to invoke the WP-print function. I tried it.

Well, I got a printable page, not a 404. Some progress. But at the top of the page was an error message. The error message referred to a “rawurlencode” enocode error, something about how a string was expected in parameter 1, in classes.php line 1651. I checked everything I knew how to check, and could not isolate the problem.

So the latest version of WP-Print will not work on my Wordpress installation.

I fixed the problem with WP-Print. Here’s how

I run another Wordpress site, a new site, at MissouriJobLaw.com. The WP-Print feature works beautifully on MissouriJobLaw.

  • I deactivated the elaborate new WP-Print plugin in the admin panel.
  • I deleted the WP-print.php file from the RadMod wordpress root directory.
  • I copied the older (Feb 26, 2006) version of WP-print.php that I was using on MissouriJobLaw
  • I pasted the WP-print.php file into my RadMod Wordpress root directory
  • I did not bother to “activate” WP-Print in the Wordpress admin panel, because you didn’t have to do that with older versions of WP-print.
  • I put the following code into my loop on RadMod: < a href = "/wp-print . php?p = < ? php the_ID (); ? > ” TARGET = “_BLANK” > (Printable version) < / a > [Close up the spaces to use the code] [This is always how you called WP-print in the older versions]
  • Problem solved!!!!!!!!!
  • Oops - one slight problem: WP-Print contains a line of code to display the URL that is being printed, and these URLs (the permalinks) get mighty long, and scroll off the page. I could not figure out a good way to get the permalinks to line-break. So I deleted the line of code. Here’s the line of code I deleted: < p align="left" > URL to article: < b > < a href=" < ? php the_permalink() ? >” > < ? php the _ permalink () ? > < / a >< / b > < / p > [Close up the spaces]

Want to grab the version of WP-Print that works for me as of March 27, 2006?

WP-Print older version removed printing the permalink. Change the filename to wp-print.php and place the file into your blog’s root directory, and use the code above to invoke it.

Here’s hoping the above entry solves someone else’s problem.

 

END of article
    (Printable version)    

 

Leave a Reply



Link:
WP-Print 2.03 problem - fixed by reverting to old version

by on Tuesday March 28, 2006.
Category: WordPress.

 

PREVIOUS post in SAME category as this post:
Wordpress "Posts Per Page" variable is EVIL !!! [updated]

 

NEXT post in SAME category as this post:
Showing only the single latest post on the Wordpress front page, and excluding some categories of posts

The RM is a "Libertarian Democrat"

A Libertarian Democrat is vigorously pro-personal liberty, and believes government can play a constructive role in regulating our economy and providing a social safety net.

Lawyers Must
Speak Out!

We must keep our ears tuned to the degeneration toward tyranny.
See Justice O'Connor's Warning.

Recent Rants:

  1. Interpetting that Roger Ailes joke about Obama, Bush and Terrorism
    in Cat: Propaganda-Media
  2. Example of Dem wingnuttery in an extreme gun ban bill (it’s probably DOA tho)
    in Cat: Politics-misc, Libertarian
  3. 11th Circuit says no right to sexual privacy, upholds Alabama ban on sale of dildos
    in Cat: Theocracy, Libertarian, Law-Courts
  4. The era of Republicans ignoring the Golden Rule has ended
    in Cat: Politics-misc
  5. National Park Service no longer discusses age of Grand Canyon - Bush further muzzles science
    in Cat: Science vs Religion
  6. Disease of willful ignorance
    in Cat: Politics-misc
  7. St. Louis County touchscreen voting: Great news and awful news
    in Cat: Politics-misc
  8. GOP merges terror and culture wars: Porn prosecutions UP, Crime -Terror prosecutions DOWN
    in Cat: Libertarian, War
  9. Skeptical Maxims about Polls and Democrats
    in Cat: Politics-misc
  10. Bush admin, not Clinton, screwed up with North Korea
    in Cat: Propaganda-Media, War

Links:

Politics
Anti-Theocracy
Media Watchdogs
  • MediaMatters.org
    Former right wing propagandist saw the light, and shines light on right wing media
  • NewsBusters
    Focusing on liberal bias in the media, food for thought for moderates and liberals
  • Newshounds
    The NewsHounds keep a close eye on the FoxNews propaganda machine
Misc
HOME  | Top of page  | Tim's Employment Law site - www.TimsLaw.com

CONTACT the RadMod

[powered by WordPress.]

Get Firefox!