Actually that is because the relative path I gave that file is
"mapping/include/config.php". Because the main file exists under
mapping. I'll just set an absolute path on all my php files. It
appears to work now if you go straight to it.
<br><br>I should have noted that I'm getting no PHP errors. <br><br>Where
I'm still foggy is where the php files are references at all. What
calls them? It's somewhere in the javascript right? If so I never
changed that path so I'm thinking that could be it. So far I've
changed the paths to the javascript files in the main file and the
reference to the config.php file in the PHP stuff.<br><br>Thanks a ton Paul. I'm
involved involved with a lot of open source projects and you are the
most helpful person of any of them (you always respond so quickly). I
can only hope some of the stuff we're working on will be useful for the
KaMap project.<br><br>(forgot to send this to the list the first time)<br><br><div><span class="gmail_quote">On 5/10/06, <b class="gmail_sendername">Paul Spencer</b> <<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Clark,<br><br>if I hit htdocs/mapping/init.php, I get a normal response but with
<br>nothing filled in.<br><br>It is wierd that init.php returns anything at all if it can't find<br>config.php, I would have thought that php would just stop at an<br>include that it can't find.<br><br>Perhaps check your php logs?
<br><br>As far as I can tell, what you are attempting should work fine.<br><br>Cheers<br><br>Paul<br><br>On 10-May-06, at 10:32 AM, Clark Endrizzi wrote:<br><br>> Hi.<br>><br>> I'm trying to integrate KaMap into our site and because we have so
<br>> many files it would be much nicer to have KaMap stuff in a seperate<br>> directory. I'm trying to create a directory called "mapping" and<br>> have the include directory within it. Then my main file, in this
<br>> case MapSelection.php (which is just a modified index.html, will be<br>> is in the root directory and includes the stuff in the mapping<br>> directory. So it is root->mapping->include. Also the scalebar
<br>> stuff is in the include directory.<br>><br>> You can see my progress here: <a href="http://dev.naiutah.com/KaMap/cvs_version/">dev.naiutah.com/KaMap/cvs_version/</a><br>> htdocs/MapSelection.php<br>>
<br>> Basically I think I have the JS stuff working because I don't get<br>> any errors. What appears to be happening to me is that the<br>> config.php file is not being referenced since it can't see to find<br>
> my map settings. That said I'm not sure where the PHP stuff gets<br>> referenced within the KaMap code. I'm guessing because it used<br>> ajax stuff it's somewhere in the JS stuff but I can't seem to find it.
<br>><br>> It's strange that I'm not seeing any JS errors if it can't find the<br>> PHP files...<br>><br>> Is this even a good idea? It really makes our site confusing so it<br>> would be really nice to make this happen.
<br>><br>> Thanks,<br>> --<br>> Clark Endrizzi<br>> _______________________________________________<br>> ka-Map-users mailing list<br>> <a href="mailto:ka-Map-users@lists.maptools.org">ka-Map-users@lists.maptools.org
</a><br>> <a href="http://lists.maptools.org/mailman/listinfo/ka-map-users">http://lists.maptools.org/mailman/listinfo/ka-map-users</a><br><br>+-----------------------------------------------------------------+<br>|Paul Spencer
<a href="mailto:pspencer@dmsolutions.ca">pspencer@dmsolutions.ca</a> |<br>+-----------------------------------------------------------------+<br>|Applications & Software Development |<br>
|DM Solutions Group Inc <a href="http://www.dmsolutions.ca/|">http://www.dmsolutions.ca/|</a><br>+-----------------------------------------------------------------+<br><br><br><br><br></blockquote></div><br>
<br clear="all"><br>-- <br>Clark Endrizzi<br>