[ka-Map-users] Change file structure of KaMap

Paul Spencer pspencer at dmsolutions.ca
Wed May 10 10:43:55 EDT 2006


if I hit htdocs/mapping/init.php, I get a normal response but with  
nothing filled in.

It is wierd that init.php returns anything at all if it can't find  
config.php, I would have thought that php would just stop at an  
include that it can't find.

Perhaps check your php logs?

As far as I can tell, what you are attempting should work fine.



On 10-May-06, at 10:32 AM, Clark Endrizzi wrote:

> Hi.
> I'm trying to integrate KaMap into our site and because we have so  
> many files it would be much nicer to have KaMap stuff in a seperate  
> directory.  I'm trying to create a directory called "mapping" and  
> have the include directory within it.  Then my main file, in this  
> case MapSelection.php (which is just a modified index.html, will be  
> is in the root directory and includes the stuff in the mapping  
> directory.  So it is root->mapping->include.  Also the scalebar  
> stuff is in the include directory.
> You can see my progress here:  dev.naiutah.com/KaMap/cvs_version/ 
> htdocs/MapSelection.php
> Basically I think I have the JS stuff working because I don't get  
> any errors.  What appears to be happening to me is that the  
> config.php file is not being referenced since it can't see to find  
> my map settings.  That said I'm not sure where the PHP stuff gets  
> referenced within the KaMap code.  I'm guessing because it used  
> ajax stuff it's somewhere in the JS stuff but I can't seem to find it.
> It's strange that I'm not seeing any JS errors if it can't find the  
> PHP files...
> Is this even a good idea?  It really makes our site confusing so it  
> would be really nice to make this happen.
> Thanks,
> -- 
> Clark Endrizzi
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

|Paul Spencer                           pspencer at dmsolutions.ca   |
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|

More information about the ka-Map-users mailing list