Support Forums - Classified Ads Script Osclass

Osclass theme support => Veronika Osclass Responsive Theme => Topic started by: ronaldv on March 05, 2017, 07:16:12 PM

Title: Categories and searches are empty after upgrade to Veronika 1.1.4
Post by: ronaldv on March 05, 2017, 07:16:12 PM
e.g. category page https://www.okjim.com/vehicles/cars is empty, although it has 3 listings.
Title: Re: Categories and searches are empty after upgrade to Veronika 1.1.4
Post by: MB Themes on March 05, 2017, 09:38:20 PM
@ronaldv
Do you use latest theme version?
Title: Re: Categories and searches are empty after upgrade to Veronika 1.1.4
Post by: ronaldv on March 05, 2017, 09:52:27 PM
@frosticek yes, it's in my post title, I updated to 1.1.4 (from 1.1.1)

I was checking the code at veronika/functions.php and there are a lot of changes. I didn't know that a theme could change existing osclass tables... But upgrading theme just means replacing old files with new? What about the changes in DB, how to remove old data like oc_t_category.s_icon and oc_t_category.s_color? Now I get why I lost custom icons and colors for categories!! There should be an upgrade script to take care of all these issues!
Title: Re: Categories and searches are empty after upgrade to Veronika 1.1.4
Post by: MB Themes on March 05, 2017, 10:25:21 PM
@ronaldv
Not everytime, you need to change all the files and reactivate theme. Or just remove theme and add it again.
Title: Re: Categories and searches are empty after upgrade to Veronika 1.1.4
Post by: ronaldv on March 06, 2017, 07:45:52 AM
@frosticek theme reactivated, and categories and search still empty, custom icons and colors for categories still lost, and now I lost custom logo too.
Title: Re: Categories and searches are empty after upgrade to Veronika 1.1.4
Post by: MB Themes on March 06, 2017, 09:37:21 AM
@ronaldv
I recommend to remove theme and add it again.
Title: Re: Categories and searches are empty after upgrade to Veronika 1.1.4
Post by: ronaldv on March 06, 2017, 07:57:28 PM
@frosticek I did as you said, but it didn't work.

But I solved the problem! I had to run the query on model/struct.sql (after replacing /*TABLE_PREFIX*/ of course)

Could you please ask the developer, apart from oc_t_category.s_icon and oc_t_category.s_color, what other columns were created by previous versions of the theme, which are obsolete now?
Title: Re: Categories and searches are empty after upgrade to Veronika 1.1.4
Post by: MB Themes on March 07, 2017, 08:15:38 AM
@ronaldv
It does not matter which, you can remain it there. We have used some that already exist in osclass (unused) and some new.
In category table new was s_color
In item_stats was phone_clicks
In item was i_condition, i_sold, i_status
Title: Re: Categories and searches are empty after upgrade to Veronika 1.1.4
Post by: Riya Charles on March 12, 2017, 06:14:45 AM
Hello friend....
I am not getting WhatsApp share option in veronika theme can u help me plzz...?
plzz give me reply to my gmail
 gmail:- lootwala9@gmail.com