[ka-Map-users] Change file structure of KaMap
Clark Endrizzi
cendrizzi at gmail.com
Wed May 10 11:03:17 EDT 2006
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.
I should have noted that I'm getting no PHP errors.
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.phpfile in the PHP stuff.
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.
(forgot to send this to the list the first time)
On 5/10/06, Paul Spencer <pspencer at dmsolutions.ca> wrote:
>
> Clark,
>
> 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.
>
> Cheers
>
> Paul
>
> 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/|
> +-----------------------------------------------------------------+
>
>
>
>
>
--
Clark Endrizzi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20060510/ae3cb554/attachment.html
More information about the ka-Map-users
mailing list