Google map plug-in in Joomla not working anymore

I have a site developed with Joomla! and I use the Google map plugin ({mosmap} magic word in article).
This was working fine on "my" computer, used as server
Now I migrated my site to a host (OVH) and nothing appears except the text when article is open.
Site now is cbsl.be, menu "Accès"
LVL 1
LeTayAsked:
Who is Participating?
 
Codrut TambuSr. Software Developer EngineerCommented:
you have a bad referenced script:
http://cbsl.be/media/plugin_googlemap3/site/googleearthv3/googleearth.js
this is because of the SEF URLS.
Your page is located at:
http://cbsl.be/index.php/acces
and tries to access http://cbsl.be/media/plugin_googlemap3/site/googleearthv3/googleearth.js
which probably is not located there.
Try changing:
<link rel="stylesheet" href="/plugins/system/plugin_googlemap3/plugin_googlemap3.css.php" type="text/css" />
into:
<link rel="stylesheet" href="plugins/system/plugin_googlemap3/plugin_googlemap3.css.php" type="text/css" />
or:
<link rel="stylesheet" href="./plugins/system/plugin_googlemap3/plugin_googlemap3.css.php" type="text/css" />

The server config differs from the local machine.

Make the same change to these lines also:
<script src="/media/plugin_googlemap3/site/googleearthv3/googleearth.js" type="text/javascript"></script>
  <script src="/media/plugin_googlemap3/site/googlemaps/googlemapsv3.js" type="text/javascript"></script>

Best regards,
KodeRoot
0
 
LeTayAuthor Commented:
Many thanks for your quick answer
In which files do I need to make these changes ?
0
 
LeTayAuthor Commented:
Sorry, I didn't realize that you gave me the full files path !
The error was in fact that some sub-directories in that plugin_googlemap3 was in uppercase (transfer from Windows site to Linux) and so these files could not be located by Linux
I renamed all of them and now it's fine
Thanks again
0
 
Codrut TambuSr. Software Developer EngineerCommented:
You're welcome.
Glad I've could help!

Best regards.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.