×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Problems after Joomla upgrade to 2.5

Problems after Joomla upgrade to 2.5 11 years 4 months ago #21620

  • REZOLOCO SL
  • REZOLOCO SL's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
I'm updating an old site to 2.5 and I've encountered a couple of problems with hotspots:

- First one is my old link to the map is not working anymore. I was using a simple html module and the link was like so: index.php?option=com_hotspots&view=hotspots&Itemid=40
It simply points to a blank page with url component/hotspots/?Itemid=40

- No markers are showing up on the map if I go to the old link manually. The map is there with the welcome message and the categories but no hotspots on any of them.

When I upgraded none of my hotspots were there, I used the old version of the database and with the dump I had I renamed the changed column names and then I had them back in the backend, categories and all, but not in the frontend.

Problems after Joomla upgrade to 2.5 11 years 4 months ago #21624

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Which hotspots version did you use previously?

go to the menu -> edit your hotspots menu and save it.

When you log into the database with phpmyadmin -> do you have an access field in the #__hotspots table? Is the access field set to 1 or 0? If it is set to 0 update the db and set it to 1.

Are the markers showing after that?

Regards,
Daniel

Problems after Joomla upgrade to 2.5 11 years 4 months ago #21625

  • REZOLOCO SL
  • REZOLOCO SL's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Thanks for your answer.

- Version was: 2.0.5. Now I'm on: 3,4.

- I didn't have a menu, just an html module with an image that links to the map. I didn't program the earlier version and I don't know if it was the correct way to do this.

- I did hava a 0, that's what happens when you update the database manually without a clue :S May I have missed anything else in this process?

Now I do see the markers but how can I fix the issue with the link?

EDIT:

There seems to be a few js problems going on too:
-TypeError: b is undefined
-TypeError: category is undefined (4 times this one)

Problems after Joomla upgrade to 2.5 11 years 4 months ago #21627

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Just go to your menu and create a new link to the map. Then edit your module and edit the link to point to the new menu that you've created.

Then everything should be fine.

Regards,
Daniel

Problems after Joomla upgrade to 2.5 11 years 4 months ago #21628

  • REZOLOCO SL
  • REZOLOCO SL's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 3
  • Thank you received: 0
Ok, we are getting there :) Now I get a proper link, similar to the old one, it points to the first category that I have:

http://localhost/liste-des-revendeurs.html#!/catid=1

But I still get this:

line 95

TypeError: b is undefined

x = (b.getNorthEast().lat()-center.lat())/1.5,

Problems after Joomla upgrade to 2.5 11 years 4 months ago #21629

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
The js error should not create any problems at all. Everything should function as expected.

Problems after Joomla upgrade to 2.5 11 years 4 months ago #21630

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Btw - why did you manually update the tables? All you had to do is to copy them to 2.5 and install 3.4 -> it automatically detects the version number and makes the necessary db changes.
  • Page:
  • 1
Time to create page: 0.147 seconds