OJS OCS OMP OHS

You are viewing the PKP Support Forum | PKP Home Wiki



Reading Tools - Print version

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.

Reading Tools - Print version

Postby nef » Sat Oct 27, 2007 7:53 am

Hi
Under Reading Tools I have problems with the Print version. When I click the link I receive the following message: Fatal error: Call to a member function on a non-object in /home/ojs/ojs-2.1.1/pages/rt/RTHandler.inc.php on line 224. Do you have a patch to solve that problem?

Regards
nef
 
Posts: 257
Joined: Fri Jun 01, 2007 2:56 am
Location: Aarhus, Denmark

Re: Reading Tools - Print version

Postby asmecher » Sun Oct 28, 2007 10:46 am

Hi nef,

What version of pages/rt/RTHandler.inc.php are you using? Look at the top of the file for something like 1.35. Also, what does line 224 look like in your copy?

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Reading Tools - Print version

Postby tgc99 » Mon Oct 29, 2007 7:49 am

Hi Alec,
asmecher wrote:What version of pages/rt/RTHandler.inc.php are you using? Look at the top of the file for something like 1.35. Also, what does line 224 look like in your copy?

This is r1.37 which you previously directed us to install as a fix for bz2366.

Line 224 contains this
Code: Select all
if ($galley->isHTMLGalley() && $styleFile =& $galley->getStyleFile()) {

This is the start of a block of code that is the diff between r1.35 and r1.36.

-tgc
tgc99
 
Posts: 56
Joined: Thu Oct 18, 2007 3:50 am
Location: Aarhus, Denmark

Re: Reading Tools - Print version

Postby asmecher » Mon Oct 29, 2007 9:41 am

Hi tgc99,

Got it; this issue was corrected in 1.39. I'd suggest going to that version.

Regards,
Alec Smecher
Public Knowledge Project Team
asmecher
 
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Reading Tools - Print version

Postby tgc99 » Tue Oct 30, 2007 2:38 am

asmecher wrote:Hi tgc99,
Got it; this issue was corrected in 1.39. I'd suggest going to that version.

Yep, seems to work now. Thanks.

-tgc
tgc99
 
Posts: 56
Joined: Thu Oct 18, 2007 3:50 am
Location: Aarhus, Denmark


Return to OJS Technical Support

Who is online

Users browsing this forum: No registered users and 2 guests