[Chameleon] download.phtml timing out

Mariette mariette.hachey at geonet-tech.com
Tue Feb 19 13:21:46 EST 2008



I am having issues with download.phtml timming out.

 I am using the printproduction widget to save a map file, which functions
great if am saving the file onto the host computer. 

But when I try and download the file over a connection(hit the site from
another computer) it times out after quite a while, the file saves but is
corrupt. The error message in the downloaded file(I open it with a text
processor) says:

“<br />

<b>Warning</b>:  readfile(
[<a href='function.readfile'>function.readfile</a>]: failed to open stream:
A connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond.

 in <b>C:\ms4w\apps\chameleon\htdocs\widgets\download.phtml</b> on line
<b>199</b><br />

<br />

<b>Fatal error</b>:  Maximum execution time of 30 seconds exceeded in
<b>C:\ms4w\apps\chameleon\htdocs\widgets\download.phtml</b> on line
<b>201</b><br />”


The file does exist in the ms_temp folder and is fine.

This is happening with all the different types of files I can download with
print production.


I am using ms4w 2.2.6

Apache 2.2.4

Php 5.2.4



Thank You


Mariette Hachey

GIS Technologist

GeoNet Technologies Inc.

Box 22, Suite 211

90 University Ave

Charlottetown, PE

Canada, C1A 4K9



No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.516 / Virus Database: 269.20.7/1286 - Release Date: 2/18/2008
6:49 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20080219/1f5c281a/attachment.html

More information about the Chameleon mailing list