Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm trying to configure the Map Client extension in the Mapping Kit but I get the following error:
Proxy http://...my.site.com/sites/all/modules/mappingkit/proxy.php doesn't exist
But the file exists !! (permissions 644)
Any help?
Thanks
Comments
Comment #1
jpulles CreditAttribution: jpulles commentedI'm surprised if the error message starts with "Proxy ... doesn't exist". I would expect it is something in the server configuration. You could try if files of another type are accessible in that same folder, or if the proxy script would be accessible in another folder e.g. the drupal root. The path to the proxy script is configurable in /?q=admin/mappingkit/mapclient.
Do you have root access to your server?
Regards,
John
Comment #2
hvalentim CreditAttribution: hvalentim commentedA - Same here. Mapping kit complains the proxy.php file does not exist, no matter where I place it or how it is chmoded.
I am getting an error_log (not sure it helps):
[30-Mar-2010 11:18:20] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin' - /usr/local/lib/php/extensions/no-debug-zts-20060613/ixed.5.2ts.lin: undefined symbol: executor_globals_id in Unknown on line 0
B - Also, I am unable to access the /sites/default/files/temp/ folder (*). Meaning the temp images for maps are being created there (I see them with FTP) but do not show.
Stuff from the remaining /sites/default/files/ sub-folders is accessible (same 644 chmod) and if I change the name of the folder from "temp" to something else I am able to access the .pngs
(*) Edit: actually it seems I had reported a similar situation #422874: "The temporary directory of this site is not accessible" one year ago. Right now there is a difference: it does not seem to matter how the file is chmoded, the only "change" that matters is the name of the directory. It can perhaps be a Bad Behaviour issue? Or some security setting implemented by the webhost?
This is what the server is running:
Apache:2.2.15
CentOS:
Curl: 7.12.1
MySQL 5.1.30
ionCube Loader: 3.3.10
Zend Optimizer: 3.3.9
Comment #3
jpulles CreditAttribution: jpulles commentedThe /?q=admin/mappingkit/mapclient page makes a call to the proxy without parameters. The proxy returns an error code and the validate function fails. The check will be improved to 1) check that the file exists, and 2) check with valid and/or secure parameters.
Comment #4
jpulles CreditAttribution: jpulles commented@hvalentim: if a different name than 'temp' works for you, I would use that. The behaviour may result from some setting of the webhost, or maybe some .htaccess?
The check on the proxy script has been changed in the dev version.