Osclass Support Forums

Osclass plugin support => Business Profile Plugin => Topic started by: pitbull on March 02, 2019, 10:29:46 PM

Title: Problem with categories in business profile
Post by: pitbull on March 02, 2019, 10:29:46 PM
Hi frosticek.

I have an issue regarding the categories in Business profile plugin. Every time i go to the "edit business profile" page  i select 2-3 of the categories for my business profile but when i click the submit button it saves every change i make except the categories. The categories are always unselected after i click the submit button. I checked the debug log file for errors but is there isn't any error!!! the same at console. Every other field like Business working hours , supported payments etc are saved without any problem.

I uninstalled the plugin and installed it many times but the problem is always there !! Also i checked if the folder of the plugin is writable and is also ok.

Really dont know what else to check !! Need your help.
Title: Re: Problem with categories in business profile
Post by: MB Themes on March 03, 2019, 08:59:23 PM
@pitbull
What is your url?
Title: Re: Problem with categories in business profile
Post by: pitbull on March 04, 2019, 01:55:45 PM
I m not online yet. Testing environment in my local machine using lampp.
Title: Re: Problem with categories in business profile
Post by: MB Themes on March 04, 2019, 02:33:37 PM
@pitbull
Ensure you have all the fields in bpr tables in databse.
Title: Re: Problem with categories in business profile
Post by: pitbull on March 05, 2019, 03:49:05 PM
Thanks Frosticek. I ll take a look there and i ll let you know
Title: Re: Problem with categories in business profile
Post by: pitbull on March 06, 2019, 06:39:50 PM
@pitbull
Ensure you have all the fields in bpr tables in databse.

@frosticek I double checked the bpr tables in database and all of their columns are there. However  the field
Code: [Select]
s_category_ids  from the table
Code: [Select]
t_user_business_profile remains always empty !!!
I m hitting my head in the table all those days to figure out what happens as i dont get any error in debug/error file !!!

I really need to assign every business to specific categories and i can't. I dont know what else to do !!!!
Title: Re: Problem with categories in business profile
Post by: pitbull on March 06, 2019, 07:30:55 PM
@pitbull
Ensure you have all the fields in bpr tables in databse.

@frosticek I double checked the bpr tables in database and all of their columns are there. However  the field
Code: [Select]
s_category_ids  from the table
Code: [Select]
t_user_business_profile remains always empty !!!
I m hitting my head in the table all those days to figure out what happens as i dont get any error in debug/error file !!!

I really need to assign every business to specific categories and i can't. I dont know what else to do !!!!


UPDATE: Frosticek mark it as SOLVED. The plugin works absolutely perfect. The problem caused by an external use of a js library i use on my theme. By disabling the library i was able to select/save the categories in the database. This might be useful for other users too.