I have a site which I am using gmap on.

in simple term my setup of gmap and cck gmap address is like this.
I have a new content type to which I have added a field of type "Google map address" with simple settings.

the map appears in the node but with no marker... and everypage with a gmap on gives the following error

The selected file c:\windows\temp\******.tmp could not be copied, because no file by that name exists. Please check that you supplied the correct filename.

I have tried everything I can think of so I am now confused.... please help!

Comments

eotinfotech’s picture

Can you show us the live issue ?

Regards, and Have a nice day.

Prachait Saxena
---------------------------
(M) :- +91 9953 200 299
(W) :- http://www.eotinfotech.com/

Monkey1’s picture

eotinfotech’s picture

We are trying to regenerate you issue locally, after that we will get back to you
.

Regards, and Have a nice day.

Prachait Saxena
---------------------------
(M) :- +91 9953 200 299
(W) :- http://www.eotinfotech.com/

Monkey1’s picture

Any luck with regenerating the issue!! I have this running on my host and on my local test server. both are windows based and both have this issue!

eotinfotech’s picture

c:\windows\temp\ directory is there and have write permission ?
Please check and if possible change the temp folder to something

c:\temp and give the write permission.

Waiting for your reply.

Regards, and Have a nice day.

Prachait Saxena
---------------------------
(M) :- +91 9953 200 299
(W) :- http://eotinfotech.com/

Monkey1’s picture

Hi,

Yep the directory is there and it has write access.. I have tested this on a number of machines and browsers all with the same issue.
I have also tried following the advice here http://drupal.org/node/115713 but with no luck!

Monkey1’s picture

Hi ... I did this due to something else and it fixed my issue..

file system was changed from c:/windows/temp to c:\temp

problem solved.. at least on vista... I need to check on my xp system tomorrow!

eotinfotech’s picture

Hi,

Great it worked !
Just remember on more things

If you had installed Apache on D:\ DRIVE
and your website is on E:\ DRIVE

then, the website temp folder should be on E:\ DRIVE

e:\temp

This is a very important point while working on Apache + Windows + PHP based websites.

I am telling this with by experience.

Regards, and Have a nice day.

Prachait Saxena
---------------------------
(M) :- +91 9953 200 299
(W) :- http://eotinfotech.com/

thewass’s picture

Hi,

I am having a similar problem to this on my live site, i have a simple Gmap for directions with a simple marker to show the location of our holiday cottages. The error appears every time

The selected file /var/www/vhosts/surpriseviewcottages.co.uk/httpdocs/sites/default/temp/filecpwvRu could not be copied.

the /sites/default/temp folder is writable (checked the chmod settings for it in filezilla).

The map is integrated using nothing but the basic GMAP module (not GMAP-macros etc) and the php gmap-array is embedded in a block. I have removed the 'markers' key=>value pair from the array and the error disappears. I presume this is something to do with caching the image of the marker but i do not know how to fix this. Any help appreciated.

Regards

Simon

ps. live site is: www.surpriseviewcottages.co.uk/directions

thewass’s picture

PPs. The markers work fine on my local site and the live site is just a migrated version of this for all intents and purposes. there may have been a couple of minor adjustments on the live site but i dont think there has been anything which could cause incompatibility.

cal3b’s picture

Looking at your website it seems you fixed it?
I'm having the exact same issue, it works on my local site but not on my live. If you found a fix could you let me know please!

Thanks...

DieHard’s picture

I constantly get this error whether I change the Manager, or Markers to be used

* warning: getimagesize(modules/gmap/markers/flat/9) [function.getimagesize]: failed to open stream: No such file or directory in /home/haulinm1/public_html/hmods/modules/gmap/gmap_markerinfo.inc on line 91.
* warning: getimagesize(modules/gmap/markers/small/9) [function.getimagesize]: failed to open stream: No such file or directory in /home/haulinm1/public_html/hmods/modules/gmap/gmap_markerinfo.inc on line 91.
* warning: getimagesize(modules/gmap/markers/big/9) [function.getimagesize]: failed to open stream: No such file or directory in /home/haulinm1/public_html/hmods/modules/gmap/gmap_markerinfo.inc on line 91.
* warning: getimagesize(modules/gmap/markers/9) [function.getimagesize]: failed to open stream: No such file or directory in /home/haulinm1/public_html/hmods/modules/gmap/gmap_markerinfo.inc on line 91.
* warning: getimagesize(modules/gmap/markers/flat/9) [function.getimagesize]: failed to open stream: No such file or directory in /home/haulinm1/public_html/hmods/modules/gmap/gmap_markerinfo.inc on line 91.
* warning: getimagesize(modules/gmap/markers/small/9) [function.getimagesize]: failed to open stream: No such file or directory in /home/haulinm1/public_html/hmods/modules/gmap/gmap_markerinfo.inc on line 91.
* warning: getimagesize(modules/gmap/markers/big/9) [function.getimagesize]: failed to open stream: No such file or directory in /home/haulinm1/public_html/hmods/modules/gmap/gmap_markerinfo.inc on line 91.
* warning: getimagesize(modules/gmap/markers/9) [function.getimagesize]: failed to open stream: No such file or directory in /home/haulinm1/public_html/hmods/modules/gmap/gmap_markerinfo.inc on line 91.

I have purple as choice of markers - not numbers

I have checked the folder and there is no 9, there is a number9.png in there, also the markers are constantly dissapearing, with the error that Gmap is not configured properly for private downloads, I followed the installation and documentation when I first set it up

I checked the number.ini and numberX.png are the entries

I have tried all the managers, including downloading Cluster2.js and none except direct API shows any markers
gmap_markers.js is installed in sites/default/files/js/gmap_markers.js

Even when receiving this error the Markers appear at times, and then disappear randomly
If I regenerate cache it sometimes it brings them back

baaj’s picture

The "failed to open stream" errors appeared in migration (but only after I ran cron for the first time). Now no markers are appearing on my maps. ANyone who has solved this please, please, please post the solution here.