are you using the mode=image or the exportImg plugin ?
Hello all
With the following situation ( asked by customer ).
The whole website where cartoweb reside is protected by an http
authentification.
So you must provide a username and password before seeing everything.
We are outside the scope of cw3 authentification.
Everything works fine. But ... :-)
If you ask the rawimage this one is launching (line 608 ) a
$infos = getimagesize($mapPath);
$mapPath point to the http://myserver/generated/images/47fc8924_4c55_c.png
and as the plugins is working under it's own env, it doesn't have the
customer browser security context.
and you got this nice error :
Class : CartocommonException
Message : Error [2,
getimagesize(http://myserver/generated/images/47fc89fa_4b64_c.png)
[function.getimagesize]: failed to open
stream: Connexion refusée,
/cartoweb3/coreplugins/images/client/ClientImages.php, 608]
Backtrace:
file: UNKNOWN - UNKNOWN
etc etc ....
So what we have as solutions :
Make the plugin (could be at another place) the ability to transmit a url
as
http://myuser:[EMAIL PROTECTED]
as myuser and mypassword as ini param.
This could also permit in client-server scenari to have one protected by a
http-auth acces.
What do you thing about that ?
PS : to Oliver, this plugins also have the fantom \r\n after the ?>
--
Bruno Friedmann [EMAIL PROTECTED]
Ioda-Net Sàrl - www.ioda-net.ch
2830 Vellerat - Switzerland
Tél : ++41 32 435 7171
Fax : ++41 32 435 7172
gsm : ++41 78 802 6760
C'est Facile et Cool d'Évoluer en ligne : www.cfcel.com
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users
_______________________________________________
Cartoweb-users mailing list
[email protected]
http://lists.maptools.org/mailman/listinfo/cartoweb-users