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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 237
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: 8851
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: 8851
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 3 guests