[mapserver-users] not unique image filenames problem

Daniel Morissette morissette at dmsolutions.ca
Fri Mar 29 09:00:48 EST 2002


E Perik wrote:
> 
> All is well for about 90% of the queries, but the other times it does
> not
> show the newly created image but it shows the "red-X".
> 
> Think in my case mapserver is slower in generating the image then PHP is
> in generating the code which loads the image.
> 


This problem cannot be related to the time MapScript takes to create the
image, since it is $image->saveWebImage() that returns you the image
URL, and it doesn't return until the image is finished generating.  So
this possibility is completely out of the question.

However I've seen odd disk caching issues with Windoze servers in the
past, sometimes with local disks, but very often with network drives...
I hope this is not running off a network drive?

Also, did you check your server's error_log to look for error messages
that could help figure the source of the problem?


> Beats me ;-(
> 
> Seems like I have a subscription to the 'strange-cases' magazine ;-)
> 

I hear ya!  It's a strange one, but most of the time once we figure the
source of the problem we start wondering why it ever worked.  ;)

Good luck!
-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the mapserver-users mailing list