Forums / Upgrading to 1.5.x / Unable to enable or disable products or categories after upgrade

Unable to enable or disable products or categories after upgrade

Views: 2,804

Results 1 to 18 of 18
17 Apr 2013, 8:01 PM
#1
tandmrider211 avatar

tandmrider211

New Zenner

Join Date:
Jan 2012
Posts:
7
Plugin Contributions:
0

Unable to enable or disable products or categories after upgrade

I can no longer disable or enable products or categories after upgrading to 151. When I copy a product from one category to another it is disabled and there seems to be no way to enable it. clicking the red button does nothing. I also cannot disable any product. Clicking the green button does nothing. Any suggestions?

17 Apr 2013, 8:16 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Unable to enable or disable products or categories after upgrade

What plugins are you using? I think there was an ImageHandler bug that caused those symptoms.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

17 Apr 2013, 8:24 PM
#3
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Unable to enable or disable products or categories after upgrade

17 Apr 2013, 8:34 PM
#4
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Unable to enable or disable products or categories after upgrade

Design75:

the IH bug solution can be found here http://www.zen-cart.com/showthread.php?207479-Products-won-t-switch-on-or-off&p=1198113#post1198113
and this bug is FIXED in the latest version of IH4.. (so there is no need to implement this fix if you just update IH4..)

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

19 Jan 2014, 6:13 PM
#5
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Unable to enable or disable products or categories after upgrade

DrByte:

What plugins are you using? I think there was an ImageHandler bug that caused those symptoms.

I have the same problem after upgrade to 1.5.1 from 1.3.7: "Unable to enable or disable products"

However I can "Enable or disable categories".

I do not believe I have ImageHandler. When I look in Tools I do not see it and I never installed it.

Can somebody point to right direction?

Thank you in advance.

20 Jan 2014, 1:52 PM
#6
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Unable to enable or disable products or categories after upgrade

idtags:

I have the same problem after upgrade to 1.5.1 from 1.3.7: "Unable to enable or disable products"

However I can "Enable or disable categories".

I do not believe I have ImageHandler. When I look in Tools I do not see it and I never installed it.

Can somebody point to right direction?

Thank you in advance.

To confirm, the issue experienced is that when navigating the catalog, you are unable to enable/disable a product by clicking on the dot/image in the status column for the product (usually a red or green dot, but could be changed). To add to this inquiry, you are able to edit the product and successfully change the status just not from the catalog menu screens.

Is the above correct? If so, my guess and it is not a reflection of the people doing the work is that one or more files to be uploaded didn't successfuly make it and that as information is passed around, in one file a GET statement is used and another a POST or something similar and so the functionality doesn't work. Compare the files expected to be on the server with those that are and see if can resolve the problem that way.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

20 Jan 2014, 2:58 PM
#7
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Unable to enable or disable products or categories after upgrade

I can edit product, and can enable disable category. And it is correct I am using just images/icons in admin area to do so. Is there work around for addressing this issue?

  1. ...one or more files to be uploaded didn't successfully make it and that as information is passed around, in one file a GET statement is used and another a POST or something similar and so the functionality doesn't work. Compare the files expected to be on the server with those that are and see if can resolve the problem that way.

Thank you for respond.

Can you please suggest which files to look in?

  1. ... change the status just not from the catalog menu screens.

It looks like you saying that there is another way to change "enable products" - not from catalog menu?
Please, explain what it is? I need this now badly.

20 Jan 2014, 3:25 PM
#8
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Unable to enable or disable products or categories after upgrade

idtags:

I can edit product, and can enable disable category. And it is correct I am using just images/icons in admin area to do so. Is there work around for addressing this issue?

Thank you for respond.

Can you please suggest which files to look in?

It looks like you saying that there is another way to change "enable products" - not from catalog menu?
Please, explain what it is? I need this now badly.

  1. Can't answer question at moment, not in front of computer, but suggestion on grand scale would be to upload the store files again assuming store was updated correctly when merging/updating.
  2. There are two ways built into operation, while navigating the catalog to click on the red button to make it green, or to go to edit the product and change the radio button at the top of the product and change from product disabled to product enabled, review the change and then update the product. This will make it active.
  3. The next action if that doesn't work would be to run a SQL command for each product to update it's status in the dse if the above doesn't work. This would require knowing the product nummber that is located to the left of each product when reviewing the catalog. (If this is something you need, please identify each product number and help can be developed for that. By me or someone else.)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

20 Jan 2014, 5:57 PM
#9
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Unable to enable or disable products or categories after upgrade

Thank you, work around of editing product worked for me.

To explain for others in case the same problem exist there are first two radio buttons In Stock and Out of Stock on editing product page.

They act the same as Enable / Disable square icons!

Please, when you will have a chance suggest other (direct) solution.

20 Jan 2014, 6:16 PM
#10
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Unable to enable or disable products or categories after upgrade

idtags:

Thank you, work around of editing product worked for me.

To explain for others in case the same problem exist there are first two radio buttons In Stock and Out of Stock on editing product page.

They act the same as Enable / Disable square icons!

Please, when you will have a chance suggest other (direct) solution.

Good to know that at least can function, even if in less than an ideal situation. Wanted to get you "back up" and running at least. More to follow on possible files that may need updating. I do believe though that there have been others that have posted a similar issue over the last year or so. For some it was related to Image Handler; however, when following the instructions of that plugin for the applicable version of ZC, the issue is resolved.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

20 Jan 2014, 6:29 PM
#11
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Unable to enable or disable products or categories after upgrade

mc12345678:

Good to know that at least can function, even if in less than an ideal situation. Wanted to get you "back up" and running at least. More to follow on possible files that may need updating. I do believe though that there have been others that have posted a similar issue over the last year or so. ** For some it was related to Image Handler; however, when following the instructions of that plugin for the applicable version of ZC, the issue is resolved.**
The issue of not being able to disable or enable products and Image Handler was FIXED in Image Handler several versions ago.. So unless someone is running an older version of Image Handler, Image Handler can be taken OFF the table as a potential cause of the not being able to disable or enable products..

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

20 Jan 2014, 6:32 PM
#12
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Unable to enable or disable products or categories after upgrade

DivaVocals:

The issue of not being able to disable or enable products and Image Handler was FIXED in Image Handler several versions ago.. So unless someone is running an older version of Image Handler, Image Handler can be taken OFF the table as a potential cause of the not being able to disable or enable products..

And the OP wrote he/she did not use IH

20 Jan 2014, 6:46 PM
#13
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Unable to enable or disable products or categories after upgrade

DivaVocals:

The issue of not being able to disable or enable products and Image Handler was FIXED in Image Handler several versions ago.. So unless someone is running an older version of Image Handler, Image Handler can be taken OFF the table as a potential cause of the not being able to disable or enable products..

Design75:

And the OP wrote he/she did not use IH

Agree to both, and as an issue it is not a concern; however, in solutions discussed to address that for others, the specific files have previously been identified, and in some cases a problem was observed during upgrade that a GET was not changed to a POST (or vice versa) in one of the interfacing files. So, no IH is not the issue, but there were lessons learned from it.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

21 Jan 2014, 3:30 PM
#14
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Unable to enable or disable products or categories after upgrade

idtags:

I can edit product, and can enable disable category. And it is correct I am using just images/icons in admin area to do so. Is there work around for addressing this issue?

Thank you for respond.

Can you please suggest which files to look in?

Have you tried looking at the file:
YOUR_ADMIN/includes/modules/category_product_listing

This is the file mentioned in the link in one of the earlier posts of this thread. If I am not mistaken, you have upgraded from an earlier version. That thread identifies that there are differences between the older version and newer version of the file, these differences could affect the functionality of clicking on the button (hyperlink) especially since the recent version creates a form out of the information, instead of simply a hypertext link to the next file/"action".

There may be other files associated with this that need to be updated to your current version, but if you look at that thread again from the perspective of having the same issue, but occurring for a different reason, and then search for the lines that are related to the older version, if they are there and don't look like the 1.5.x version, then may have found the culprit.

That said, for some reason I remember someone correcting me and saying that it was an entirely different file and GETs had not been changed to POSTs in one file that is modified on upgrade.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

1 Feb 2014, 7:28 PM
#15
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Unable to enable or disable products or categories after upgrade

mc12345678:

Have you tried looking at the file:
YOUR_ADMIN/includes/modules/category_product_listing

This is the file mentioned in the link in one of the earlier posts of this thread. If I am not mistaken, you have upgraded from an earlier version. That thread identifies that there are differences between the older version and newer version of the file, these differences could affect the functionality of clicking on the button (hyperlink) especially since the recent version creates a form out of the information, instead of simply a hypertext link to the next file/"action".

There may be other files associated with this that need to be updated to your current version, but if you look at that thread again from the perspective of having the same issue, but occurring for a different reason, and then search for the lines that are related to the older version, if they are there and don't look like the 1.5.x version, then may have found the culprit.

That said, for some reason I remember someone correcting me and saying that it was an entirely different file and GETs had not been changed to POSTs in one file that is modified on upgrade.

I am sorry, but I was reading this over and over and have hard time figure out what is suggested above?

Any other practical solutions where to look?

Thank you in advance.

1 Feb 2014, 8:24 PM
#16
idtags avatar

idtags

Zen Follower

Join Date:
Aug 2005
Posts:
315
Plugin Contributions:
0

Re: Unable to enable or disable products or categories after upgrade

I finally could resolve this problem thanks to following link::smile:

http://www.zen-cart.com/showthread.p...13#post1198113

And for others to remind, I do not have Image Handler and this fix still works.

2 Feb 2014, 5:20 AM
#17
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Unable to enable or disable products or categories after upgrade

idtags:

I finally could resolve this problem thanks to following link::smile:

http://www.zen-cart.com/showthread.p...13#post1198113

And for others to remind, I do not have Image Handler and this fix still works.

Glad it worked for you. That was what I was basically saying above. There was a different reason for the problem to be occurring, but in this case because the same result was being seen, I was thinking that a fix of the same type would solve the problem.

That is somewhat the reason so much exists on this forum, so many people with the similar issues, sometimes it is just one source, sometimes it's just a similar outcome.

Glad you went back to that link even though your problem had nothing to do with what generated the content.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

2 Feb 2014, 3:38 PM
#18
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Unable to enable or disable products or categories after upgrade

It works because the OP upgraded to 1.5.1 from 1.3.7 and CLEARLY has not properly updated ALL of their v1.3.7 files to the v1.5.1 versions..

idtags:

I finally could resolve this problem thanks to following link::smile:

http://www.zen-cart.com/showthread.p...13#post1198113

And for others to remind, I do not have Image Handler and this fix still works.

mc12345678:

Glad it worked for you. That was what I was basically saying above. There was a different reason for the problem to be occurring, but in this case because the same result was being seen, I was thinking that a fix of the same type would solve the problem.

That is somewhat the reason so much exists on this forum, so many people with the similar issues, sometimes it is just one source, sometimes it's just a similar outcome.

Glad you went back to that link even though your problem had nothing to do with what generated the content.

My Site - Zen Cart & WordPress integration specialist
I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.