Closed (fixed)
Project:
gProximity
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Apr 2008 at 20:26 UTC
Updated:
25 Jun 2008 at 15:52 UTC
I have created a View that uses gProximity and set up a gProximity profile for that view.
When I view the view, I see dozens of error messages like this:
warning: getimagesize(testdir/sites/all/modules/gproximity/markers/blue.png) [function.getimagesize]: failed to open stream: No such file or directory in /example/testdir/sites/all/modules/gproximity/gproximity.inc on line 314.
At the very bottom of the page, I do see a map with dozens of markers on it.
I'm using the 4-12 version of dev:
; Information added by drupal.org packaging script on 2008-04-12
version = "5.x-1.x-dev"
project = "gproximity"
datestamp = "1207958764"
Comments
Comment #1
greenskin commentedAre you still having this problem, and what version of PHP are you using? Is your site something like 'www.example.com/mysite'?
Comment #2
sgdev commentedI'm having this issue too. I'm using PHP 5.2.5, and I am working on a development environment that is located at "http://localhost/web". My Google API Key is set up for "http://localhost", but I also do have one for "http://localhost/web" that I can use.
Comment #3
greenskin commentedI'm thinking this is a basepath issue. Is your web site a drupal multi-site, meaning do you have one site running at http://localhost/ and another at http://localhost/web/ that runs off the same drupal code?
Comment #4
sgdev commentedNo it is not a multisite, but I do have two separate Drupal sites running, one at http://localhost and a second at http://localhost/web. Both are running on their own Drupal code and have their own Drupal databases.
Comment #5
greenskin commentedWhich site is the module not working properly for?
Comment #6
sgdev commentedI only have it loaded on http://localhost/web. Would you like me to test it out on http://localhost as well?
Comment #7
greenskin commentedIf you could test it at http://localhost and if it works there then that would suggest highly that it is due to the base_path.
Comment #8
greenskin commentedI am out of town currently and only have access to the internet via someone else's computer so if you're willing try changing the function getimagesize() to image_get_info() (http://api.drupal.org/api/function/image_get_info/5) and see what that returns, also try printing out the file path variable.
Comment #9
sgdev commentedChanging the function to image_get_info() removes all the errors, and the correct icon is placed on the page. However, does not fix the positioning problem I mentioned on the other thread. :)
Comment #10
greenskin commentedThis should be fixed now. Please test next available snapshot and let me know if the problem still exists.
Comment #11
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.