[liblouis-liblouisxml] Re: The new liblouisxml Web Demo Branch

  • From: "John J. Boyer" <johnjboyer@xxxxxxxxxxxxx>
  • To: liblouis-liblouisxml@xxxxxxxxxxxxx
  • Date: Wed, 21 Oct 2009 08:02:16 -0500

Paul,

Thanks. I'll try your print suggestion and get back to you.

John

On Wed, Oct 21, 2009 at 01:06:57PM +0200, 'Paul Wood' wrote:
> Hi John,
> 
> My php is 5.2.9! and Apache 2.2.8
> Maybe it doesn't like filename in the Array. If you printed the whole
> contents of the array then you could see if it contained filename etc.
> I think you can just use print_r($userFile); 
> I don't have that problem, but mine does seem to be in the wrong directory
> at some stage.
> Hope I'm helping!
> Paul
> 
> 
> -----Original Message-----
> From: Paul Wood 
> Sent: 21 October 2009 12:53
> To: liblouis-liblouisxml@xxxxxxxxxxxxx
> Subject: [liblouis-liblouisxml] Re: The new liblouisxml Web Demo Branch
> 
> Paul,
> 
> Thanks. What version of php are you using? My server uses 1.5.6, and it 
> gets into trouble on the declaration of $outputFile which I think is on 
> line 53. Once that is fixed, I think the rest will be easy.
> 
> John
> 
> On Tue, Oct 20, 2009 at 04:49:40PM +0200, 'Paul Wood' wrote:
> > 
> > Sorry John went up the wrong branch!
> > 
> > It's to do with the $userDir
> > This works for me:
> > 
> >  $configFile = $userDir . "/user.cfg"; to  $configFile = "user.cfg"; 
> > $dir = opendir ($userDir); to $dir = opendir ('./'); 
> > $downloadLink = '<a href="' . $outputFile .  to      $downloadLink =
> > '<a href="userFiles/'. $uniqueId . '/' . $outputFile .  
> > readfile ($userDir . "/" . $fileName); to readfile ($fileName); 
> > $message = "# " . $fileName . "\n" . file_get_contents ($userDir . "/" .
> > 
> >  $fileName); to $message = "# " . $fileName . "\n" . file_get_contents
> > ($fileName); 
> > 
> > 
> > Paul
> > 
> > 
> > -----Original Message-----
> > From: Paul Wood 
> > Sent: 20 October 2009 13:33
> > To: liblouis-liblouisxml@xxxxxxxxxxxxx
> > Subject: [liblouis-liblouisxml] The new liblouisxml Web Demo Branch 
> > 
> > liblouisxml svn branches now contains a directory called web-demo . It 
> > holds files 
> > intended for putting up a demonstration of liblouisxml on a website. 
> > Right now there is a problem with translate.php under php version 5.1.6.
> > 
> > It ran on a server with a different version. The problem is with the 
> > 'filename' index in the declaration of $outputFile, if anyone cares to 
> > take a look.
> > 
> > Thanks,
> > John
> > 
> > -- 
> > John J. boyer; President, Chief Software Developer
> > Abilitiessoft, Inc.
> > http://www.abilitiessoft.com
> > Madison, Wisconsin USA
> > Developing software for people with disabilities
> > 
> > For a description of the software and to download it go to
> > http://www.jjb-software.com
> > 
> > 
> > Privileged/Confidential Information may be contained in this message.
> > If you are not the intended recipient please destroy this message
> > and kindly notify the sender by reply email. The computer from which
> > this mail originates is equipped with virus screening software.
> > However Torch Trust cannot guarantee that the mail and its attachments
> > are free from virus infection.  
> > 
> > Privileged/Confidential Information may be contained in this message.
> > If you are not the intended recipient please destroy this message
> > and kindly notify the sender by reply email. The computer from which
> > this mail originates is equipped with virus screening software.
> > However Torch Trust cannot guarantee that the mail and its attachments
> > are free from virus infection.  
> > 
> > Privileged/Confidential Information may be contained in this message.
> > If you are not the intended recipient please destroy this message
> > and kindly notify the sender by reply email. The computer from which
> > this mail originates is equipped with virus screening software.
> > However Torch Trust cannot guarantee that the mail and its attachments
> > are free from virus infection.  
> > 
> > Privileged/Confidential Information may be contained in this message.
> > If you are not the intended recipient please destroy this message
> > and kindly notify the sender by reply email. The computer from which
> > this mail originates is equipped with virus screening software.
> > However Torch Trust cannot guarantee that the mail and its attachments
> > are free from virus infection.  
> > 
> 
> 
> 
> -- 
> My websites:
> GodTouches Digital Ministry, Inc. http://www.godtouches.org
> Abilitiessoft, Inc. http://www.abilitiessoft.com
> Location: Madison, WI, USA
> 
> For a description of the software and to download it go to
> http://www.jjb-software.com
> 
> 
> For a description of the software and to download it go to
> http://www.jjb-software.com

-- 
My websites:
GodTouches Digital Ministry, Inc. http://www.godtouches.org
Abilitiessoft, Inc. http://www.abilitiessoft.com
Location: Madison, WI, USA

For a description of the software and to download it go to
http://www.jjb-software.com

Other related posts: