<div id="edit-select-term-wrapper" class="form-item" style="visibility: hidden;">

I I installed the new dev and now the js file is permanently hiding the taxonomy wrapper
Did clear my cache 3 times and theme registry.

Comments

NewZeal’s picture

I probably have to look at your site to work out what is happening there.

vlooivlerke’s picture

Ok here is a link to a test site.
http://ilaaiksouthafrica.co.za/listing-search/western-cape/sedgefield/al...

I have created 3 terms that link to a page content type. I created 3 pages all with the same location but different terms. I have activated the listing menu in the right sidebar.

You should see all 3 pages in the search link above.
You will see that the taxonomy select is hidden.
Also click on a menu button say bread
/listing-search/western-cape/sedgefield/Page/bread
There is no results, but if you click search now it takes you to this url that shows a result.
/listing-search/western-cape/sedgefield/all/bread/25

I get this error if I dont enter a Province into my location.
user warning: Unknown column 'listings' in 'field list' query: UPDATE zipcodes SET listings=1 WHERE LOWER(city)='sedgefield' AND LOWER(state)='' AND LOWER(country)='za' in ../sites/all/modules/listing/listing_location/listing_location.module on line 268.

Also get this error when I open a browser for the first time.

warning: Wrong parameter count for explode() in ../sites/all/modules/listing/listing_location/listing_location.module on line 1218.

thanks

NewZeal’s picture

OK thanks. The first error I am planning to fix. The second one I have fixed and will be in the next commit. The first error stems from a previous plan to store the number of listings per location in the zipcodes table. This has turned out to be not such a good idea because people insert content into that table and the extra field causes this to fail. I'll be creating a separate table to keep a score of listings per location.

Regarding the taxonomy wrapper, your taxonomy appears to have no terms whatsoever.

vlooivlerke’s picture

Hi Thanks.
My taxonomy does have terms in it. What I have done to prove to you it is there I deleted the listing_location.js and now the category select dropdown is viable but does not work like intended.
You can go here http://ilaaiksouthafrica.co.za/listing-search/western-cape/sedgefield/al... to see the dropdown with terms. It is the same terms as in the menu, "bread, burger, cheese". selecting terms in the dropdown works but selecting terms in the right side menu does not.

NewZeal’s picture

Maybe download the latest dev, clear all caches and give it another go.

vlooivlerke’s picture

Hi I downloaded the latest dev.

Deleted everything in db files that had to do with listing module. Cleared all cache files.
To test I installed a fresh install on a local server, but et the same problems.

http://ilaaiksouthafrica.co.za/listing-search

Still the same problems and errors as mentioned above.

NewZeal’s picture

I'll have to look at your site install. Contact me via the contact form.

NewZeal’s picture

Status: Active » Fixed

Small bug. Fixed and uploaded to HEAD.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.