Need Work on a Web Site Need Work on a Web Site

  • Job DurationLess than a month
  • Project LevelMedium Level
  • Project deadlineExpired

Project detail

There is an application state management problem.
The application state, representing which city the user selected, is being stored in several places:
the local Storage cache, javas script, and the MySQL database.
All of those need to be synchronized.
That’s why every time you click on a city or state or country,
it’s changing the local Storage. city_id and updating the server so that the preferred city in the database is updated too.
I don’t know where the list of countries, provinces and cities is coming from, but I think it’s an AJAX call that gets initiated after clicking on the menu items in the country-state-city selection dialog box.

So, this is the reason why you want to use a client-side application framework like React or Elm, because it manages application state for you. Whoever works on it can try to hack it to make it work again, but you’ll likely run into these bugs again.
If you want to just hack it, I recommend just resetting the application state (user’s selected location) after each click, and syncing it with the server.
Make sure it is bug free first. This will make it a little bit slow (which I know you don’t like),
but at least it will work correctly.
Once it works correctly, then you can look into ways to speed it up,

like caching the list of countries in Javas script or whatever.
I think the key is to track down where the state is being stored in Java script and local Storage and then make sure it is consistent with the state in the MySQL database, clearing it each click if you have to. Then make sure the state of the dialog box is consistent with the last user click (ie. if the clicked on Aberdeen last, then when you click on “Select Country, State, City” again, make sure that Aberdeen cities show up next time

Also the default city and state is San Francisco California, this is also default in the list of city’s and if you click on the logo to the top left it will default back to San Francisco California
So I’m looking for someone to fix these things first before trying another application as it worked fine before

The other issue I have has been this long before this other search problem is in the screen shot you will see you can select default city, state, countries this is not working either in my admin panel.

To view these issues you will need to create an account at DateorMate.com

Once signed up and To gain access you will need to add a pic to your profile there was a pop up box asking for a pic it is no longer working either but you will know when you need to add a pic as you will come to your profile page and you will see boxes to add pics at that point ad one so you can get in to the site view screen shot of page were to add pic
Thanks

Skills Required

Industry Categories

Freelancer type required for this project