[Chameleon] Install 2.4 - Image Placeholders
Cook, Paul
Paul.Cook at csa.ocgov.com
Mon Jul 17 10:41:06 EDT 2006
I hope that I am responding correctly. This is my first time using a
mailing list. If I am not let me know.
I did copy the skins folders. When I check the source of the page with all
of the image placeholders I find that the link is
"<textbuttonborder_topleft_image value="borders/border_tl_1.png"/>" which is
not right. The borders are about 3 folders above the htdocs folder, I have
never been good with the whole relative path thing, see below.
C:\ms4w\apps\test\htdocs\skins\sample\borders\border_tl_1.png
What file controls the path to the images? Map, phtml, html, conf file?
As for the PHP log files where are they located? I did find the
"C:\ms4w\Apache\logs\error.log" which contained these errors from this
morning when I loaded my app to check on the path of the images.
[Mon Jul 17 07:19:10 2006] [error] [client 127.0.0.1] File does not exist:
C:/ms4w/Apache/htdocs/apps
[Mon Jul 17 07:19:11 2006] [error] [client 127.0.0.1] File does not exist:
C:/ms4w/Apache/htdocs/favicon.ico
[Mon Jul 17 07:19:11 2006] [error] [client 127.0.0.1] File does not exist:
C:/ms4w/Apache/htdocs/favicon.ico
Thanks again for all help.
Paul Cook
_____
From: Delfos, Jacob [mailto:Jacob.Delfos at maunsell.com]
Sent: Tuesday, July 11, 2006 4:25 PM
To: Cook, Paul; chameleon at lists.maptools.org
Subject: RE: [Chameleon] Install 2.4 - Image Placeholders
Paul,
Did you copy the skins folder? You should be able to find out what goes
wrong by checking the URL of the image placeholders. Once you know where
it's trying to get the image from, it shouldn't be hard to see where things
go wrong.
Also, check your PHP log and let us know what it says.
regards,
Jacob
_____
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Cook, Paul
Sent: 12 July 2006 03:59
To: 'chameleon at lists.maptools.org'
Subject: [Chameleon] Install 2.4 - Image Placeholders
To all,
I am trying to setup a mapserver using ms4w and Chameleon. Info on install
is ms4w, Chamelson 2.4, WinXP. The sample maps work but when I copied
everything from the sample folder over to a new folder, named 'test' in the
c:\ms4w\apps folder and try to open the simple_basic map I get only image
place holders.
I did open up the simple_basic.phtml file and added absolute reference to
the files in it:
include( "C:\ms4w\apps\chameleon\htdocs\chameleon.php" );
$szTemplate = "C:\ms4w\apps\test\htdocs\sample_basic.html";
$szMapFile = "C:\ms4w\apps\test\map\chameleon.map";
I added a conf file to the C:\ms4w\httpd.d folder that contains this:
Alias /test/ "/ms4w/apps/test/htdocs/"
<Directory "/ms4w/apps/test/htdocs/">
AllowOverride None
Options Indexes FollowSymLinks Multiviews
Order allow,deny
Allow from all
</Directory>
Is there anything else that I am missing?
TIA,
Paul Cook
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20060717/bf23c99a/attachment-0001.html
More information about the Chameleon
mailing list