×

Notice

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

TOPIC: SOBI2 Import

SOBI2 Import 13 years 9 months ago #11477

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
Daniel,

I am trying to import a list of sobi2 entries into Hotspots. I imported a .csv file into SOBI2 using a com_ called CSVI SOBI... The title will import but no other information is being copied over such as the address, city, state, postal code, country. I have been playing with this for a couple days, and cant figure out what I am missing. Can you help me out if you have some time. Or direct me to the proper forum to ask this question... Thanks.

Andrew

SOBI2 Import 13 years 9 months ago #11480

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hi Andrew,
did you do the matching of the fields?

SOBI2 Import 13 years 9 months ago #11482

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
D,

I did match up all the fields in the field manager, but it still only imports just the entry_title and not the rest of the entries. It's kinda wierd... I'm going to try a fresh install and see if that helps with anything.

Andrew

SOBI2 Import 13 years 9 months ago #11483

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
If you can't manage to get it working you can give me the csv list. I'll import it on my localhost and will let you know if the import in hotspots was successful.
Daniel

SOBI2 Import 13 years 9 months ago #11484

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
D,

Ok, well i got it working after reinstalling SOBI2, only now the catagory ID is blank, so will I have to go through each entry and select a category?

Andrew

SOBI2 Import 13 years 9 months ago #11487

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Andrew,
Well I guess that this is the only possible option right now. Or execute a sql query in the database and assign them a category :) But I guess that this is more complicated then just investing 10mins and assigning the right category :)

SOBI2 Import 13 years 9 months ago #11495

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
Daniel,

Sorry to keep bugging you with this... but I added the catagories to the entries manually in the back end, but it took a bit longer then 10 min :) It was about 250 entries...! But when I go to the front end and click on the catagory, it just shows... "Loading Data..." and never loads the map. I don't think the markers are being located in the map...

SOBI2 Import 13 years 9 months ago #11496

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Give me an url. Either your markers have invalid html or something else is wrong...

SOBI2 Import 13 years 9 months ago #11497

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
Daniel,

I just sent you a PM.

Andrew

SOBI2 Import 13 years 9 months ago #11499

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Ok, I think that I know what the problem is and I really hope that with the next version this will be something of the past and I won#t get any more messages like - markers not loading :)

I looked at the markers and some of them have title's like this DON'S DIVING SERVICE - now this is normally fine, but not in this case.

You have 2 options. Unpublish the hotspots that have ' in their name and the map is going to work (after that edit the names of those hotspots and replace ' with something else)

Second option try to edit utils.php:
line 128
$name = htmlspecialchars("$row->name");
change it to
$name = addslashes(htmlspecialchars("$row->name"));
and it think that this should solve the problem.

SOBI2 Import 13 years 9 months ago #11505

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
D,

I did both solutions that you mentioned above, and there is still no resolution. What is the next step? Thank you so much again for all your support.

Andrew

SOBI2 Import 13 years 9 months ago #11506

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Unpublish all markers and then publish just one and I'll have a look if it is not loading.

SOBI2 Import 13 years 9 months ago #11508

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
All markers are unpublished except for one in the "Dive Shop" catagory. Still not loading... Please let me know what you find out.

Andrew

SOBI2 Import 13 years 9 months ago #11510

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hi Andrew,
I'm not sure why the hotspots are not assigned to a category - this should work automatically.

The first time you open the component in the frontend hotspots finds that there are some locations that doesn't have coordinates. And it tries to find them. If it finds the coordinates, then it saves them...

This function returns "not found" for a lot of your markers because they don#t have any zip, street or country code.

Next - I think that the biggest problem came after you've assigned manually the category. You see, because those markers doesn't have coordinates in the backend in the fields for coordinates you will see - added automatically. But if you don't move the marker on the map, the "added automatically" text doesn't change to coordinates...

Here is what I can offer you. If you wish, send me a copy of your sobi2 database. I will try to figure out why the categories are not assigned. After that I'll write some kind of script that will match the coordinates for each marker and save them. And I'll add this fix to hotspots 1.1 . (which should appear in the next several weeks).

SOBI2 Import 13 years 9 months ago #11512

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
D,

Thank you so much for all your time and support... I will just wait till the next update is available, and let you spend more time getting that ready! I look forward to seeing the new updateed Hotspots... It is sure to be a success just as much as the current version...! Keep up the good work!

SOBI2 Import 13 years 9 months ago #11515

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Andrew,
Please send me a copy of your csv tables at This email address is being protected from spambots. You need JavaScript enabled to view it. - this will help me a lot to fix your problem.
Daniel

SOBI2 Import 13 years 9 months ago #11516

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
Here are the 2 .csv files that i used... just change the extention to .csv. I had to change it so i could upload it to you. Thanks...

Andrew

SOBI2 Import 13 years 9 months ago #11546

  • Andrew Rudkosky
  • Andrew Rudkosky's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 29
  • Thank you received: 0
D,

Just wondering if you had a chance to follow up with this issue? Thanks, and I know we all can't wait to see the new version!

SOBI2 Import 13 years 9 months ago #11547

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Andrew, I don't see any csv or zip files in the thread. Are you sure that you've attached them?
Perhaps just send them to This email address is being protected from spambots. You need JavaScript enabled to view it. .
  • Page:
  • 1
Time to create page: 0.139 seconds