Hi,
I have never got any issue with Phoca Cart and I am very happy with it.
However, after updating Joomla to 4.4.0, I don't manage to save any product every time I apply some changes to it. I only manage to change prices - by modifying them directly into their fields in the products listing, without entering the real product editing page.
Let's say I change a product's description (long), for example. If I push the "Save and close" button, the page with the editable fields of the product is reloaded with the old content (before the changes), and then it gets impossible to close and go back to the products listing. What is possible to do, instead, is to go back to the administrator home page by entering the url manually. Plus, every time this happens, the element "josxb_phocacart_products" is pushed into the list of items to check-in.
It might be a problem of my database, but with the older versions of Phoca Cart it didn't give any problem.
I also tried the newer versions of Phoca Cart (4.10.0 with J4.4.0, 5.0 beta7 with J5.0.0) but nothing changes. All the rest, however, seems to work well.
Any idea?
Thanks in advance
Phil
Issue with product save after J4.4.0 (database?)
-
- Phoca Newbie
- Posts: 2
- Joined: 07 Nov 2023, 06:01
- Jan
- Phoca Hero
- Posts: 48398
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Issue with product save after J4.4.0 (database?)
Hi,
"If I push the "Save and close" button, the page with the editable fields of the product is reloaded with the old content (before the changes), and then it gets impossible to close and go back to the products listing."
Maybe I don't understand it correctly. But if you click on "save and close", you should be redirected to product lists. In case you are redirected back to edit, maybe some required field was not set. Don't you get any message there?
Jan
"If I push the "Save and close" button, the page with the editable fields of the product is reloaded with the old content (before the changes), and then it gets impossible to close and go back to the products listing."
Maybe I don't understand it correctly. But if you click on "save and close", you should be redirected to product lists. In case you are redirected back to edit, maybe some required field was not set. Don't you get any message there?
Yes, this is correct behaviour of Joomla, this is done, when product (or article in joomla) was not properly saved or closed.Plus, every time this happens, the element "josxb_phocacart_products" is pushed into the list of items to check-in.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 07 Nov 2023, 06:01
Re: Issue with product save after J4.4.0 (database?)
First of all thanks for your reply, Jan.
1. no message is displayed (even because all mandatory fields are complete, e.g. "category" etc., and with 3.6 there were no issues with such products)
2. after having tried to save, ALL the navigation is blocked, e.g. even the "close" button doesn't go back to the product listing. The http request is handled, you can see it from the progress bar of the page, that means that the action of the button itself works, but the response is always the same, whatever you push. It just stays there. The only way to exit, like I wrote, is to type the home admin page's url by hand.
But I wanted to do another test. I tried to insert a new, "test" product, with just price, category, VAT type etc. - just the basics, but new, and not edited. And I saved it without problems.
So I think it is a problem regarding how the database structure is handled, I don't know if you have changed something after 3.6, maybe I missed out something? I've read most of the topics regarding this, and I tried the 4.4.0 + 4.0.10 coupling, but didn't work for me.
That's what I thought, but:
1. no message is displayed (even because all mandatory fields are complete, e.g. "category" etc., and with 3.6 there were no issues with such products)
2. after having tried to save, ALL the navigation is blocked, e.g. even the "close" button doesn't go back to the product listing. The http request is handled, you can see it from the progress bar of the page, that means that the action of the button itself works, but the response is always the same, whatever you push. It just stays there. The only way to exit, like I wrote, is to type the home admin page's url by hand.
But I wanted to do another test. I tried to insert a new, "test" product, with just price, category, VAT type etc. - just the basics, but new, and not edited. And I saved it without problems.
So I think it is a problem regarding how the database structure is handled, I don't know if you have changed something after 3.6, maybe I missed out something? I've read most of the topics regarding this, and I tried the 4.4.0 + 4.0.10 coupling, but didn't work for me.
- Jan
- Phoca Hero
- Posts: 48398
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Issue with product save after J4.4.0 (database?)
Hi, if there will be problem with database, you should get error message.
When you click on save, do you get some error message in Javascript console. Maybe there is some Javascript which prevents from saving the items
1) try to display Javascript console in your browser and see if there is no error when clicking on save button
2) try to enable debug mode too and test it, to see if there is no error produced by debug mode
Jan
When you click on save, do you get some error message in Javascript console. Maybe there is some Javascript which prevents from saving the items
1) try to display Javascript console in your browser and see if there is no error when clicking on save button
2) try to enable debug mode too and test it, to see if there is no error produced by debug mode
Jan
If you find Phoca extensions useful, please support the project