Fix for Categorie editing goes into endless loop

Pin It

It recentrly came to my attention that ther was a Bug in the Productbook component < 1.0.3 that gets into an endless loop if you edit a categorie and select a categorie that is the same categorie.

That means if you already have one categorie and you start to edit it, you could select that categorie, or one on a higher level, to make it its own parent.

The easy way to fix this is to deinstall the component and install version 1.0.14 or higher

Unfortenatly if you already done this on an exiting installation you need to go into your PHPAdmin tool and change the faulty categorie back to the right toplevel.

Fxing a loop error in productboom categories

 

The table to edit is "jos_productbook_catg"

PHP Admin screen with Productbook catg table

You will see the that the value of the lastest edit categorie for cid is the same as the parent.
Which will bring it into an endless loop…

Change the parent value to the right cid nr and save it, this should fix the loop problem.

Change the parent id back to the original one

Top prevent this thing from happening again, you should replace the file admin.productbook.php with the new version which you can download from the download section.

Related Posts Plugin for WordPress, Blogger...

Speak Your Mind

*