Hello!
This could be caused by the low value of max_input_vars , please contact your server administrator and ask him/her to increase this value to at least to 10000.
Please let me know if it helps.
Hello, thanks for your reply.
No, it didn't help at all. default value was commented, which is default value 1000, I did uncomment it and increased to 10k and restarted server, but still the same.
then one by one disabled all addons to test which is related to product update and find out it's kind of related to only one addon. then used 'update_product_pre' to change the assign multiple category to my way worked as well. now only thing left is when change product name, after saving redirects to customer area.
but for 100% sure, nothing wrong on code, because I don't have anything custom related to change product name. but let me more deeply explain this;
when I change product name, it's first saves product_data and redirects to customer area. how do I know? after I click save button, right way I click stop button on chrome and refresh the page. I see green cs-cart message tells it's saved, I see it's already saved. then I check database manually, yes, it's saved. so, after saved, it's getting redirect to customer area. why?
whatever the problem is, after it's saved product_data into database, it's redirects to customer area.
from my learning/research, I can say, I don't know many thing about cs-cart's caching, session, AJAX, security. but it's saved to database, then what is has to do? it has to do redirect the same $product_id. if I change other anything(price, categories, description or whatever), it's normal, but only if I change product name, then the problem happens. what it could be?
I have used the //fn_set_hook('get_filters_products_count_pre', $params, $cache_params, $cache_tables); hook on my addon. then to test it, I have disabled this hook as well, but it's the same result.
one more thing I have noticed during my learning that, on some cs-cart's addons uses the addons parameters with the & sign, some of them not. for example function fn_ozemning_get_filters_products_count_pre(&$params, &$cache_params, &$cache_tables) I used with & sign on all 3 parameters. and the same thing I see different on even cs-cart's own addons. example bestsellers and seo both uses "get_products" hook and func.php file it's different passed the parameters on hook. some with & and some without the &.
if it's not problem(I have tested again, I don't see any problems there), then I can tell you there is nothing problem on code, because I don't have anything to change product name.
what could cause the problem?
Thanks in advance!