Bug-v.2.6.16-categories' menu problem : fully expanded and f

Please report bugs here!

Moderators: jason102178, Florian, Thorsten, JochenS

Bug-v.2.6.16-categories' menu problem : fully expanded and f

Postby pt20100201 » Wed Jun 01, 2011 9:12 pm

.
Bug-v.2.6.16-categories' menu problem : fully expanded and "flat"

Dear Thorsten

Today, we upgraded phpMyFAQ's version 2.6.15 to v. 2.6.16.

However - after detecting a problem - we were forced to downgrade to the initial version.

There is a bug in the categories navigation area: the menu is fully expanded and is "flat" (there is no distinction between the different levels).

As you may see in the screenshots included on the attached file
pt20100201-20110601-screenshots-cat-v-2.6.15-ok+2.6.16-wrong.7z ,

  • it doesn’t happen with 2.6.15 version;
  • categories’ structure is displayed correctly in the v.2.6.16 administration interface.

We kept the “upgraded” database.


Kind regards

2011-06-01
pt20100201
.
Attached file : pt20100201-20110601-screenshots-cat-v-2.6.15-ok+2.6.16-wrong.7z
.
Attachments
pt20100201-20110601-screenshots-cat-v-2.6.15-ok+2.6.16-wrong.7z
pt20100201 . 2011-06-01. Compressed folder with six screenshots: three with the categories menu bug in phpMyFAQ's version 2.6.16 , and - the other three - with the v.2.6.15 correct behavior.
(236.86 KiB) Downloaded 134 times
pt20100201
 
Posts: 77
Joined: Mon Feb 01, 2010 2:11 pm
Location: Porto . Portugal

Re: Bug-v.2.6.16-categories' menu problem : fully expanded a

Postby tigerlinux » Thu Jun 02, 2011 2:19 pm

pt20100201 wrote:.
Bug-v.2.6.16-categories' menu problem : fully expanded and "flat"

Dear Thorsten

Today, we upgraded phpMyFAQ's version 2.6.15 to v. 2.6.16.

However - after detecting a problem - we were forced to downgrade to the initial version.

There is a bug in the categories navigation area: the menu is fully expanded and is "flat" (there is no distinction between the different levels).

As you may see in the screenshots included on the attached file
pt20100201-20110601-screenshots-cat-v-2.6.15-ok+2.6.16-wrong.7z ,

  • it doesn’t happen with 2.6.15 version;
  • categories’ structure is displayed correctly in the v.2.6.16 administration interface.

We kept the “upgraded” database.


Kind regards

2011-06-01
pt20100201
.
Attached file : pt20100201-20110601-screenshots-cat-v-2.6.15-ok+2.6.16-wrong.7z
.


Detected exactly the same problem after the upgrade, but I was able to apply a temporary solution by using a file from the previous version (2.6.15). The file is:

inc/Category.php

In the "CHANGEDFILES" under "docs" that file is one of the changed ones from v 2.6.15 to 2.6.16. I replaced it with the one from 2.6.15 and the view is again in "tree" mode as expected. If you are going to try this, first make a backup of your actual "inc/Category.php" file. Good luck !.

Best regards,

Reynaldo Martinez
CCS, Venezuela.
tigerlinux
 
Posts: 24
Joined: Thu Jun 02, 2011 2:11 pm

Re: Bug-v.2.6.16-categories' menu problem : fully expanded a

Postby pt20100201 » Thu Jun 02, 2011 4:44 pm

.
Dear Reynaldo Martinez

tigerlinux wrote:
pt20100201 wrote:.
Bug-v.2.6.16-categories' menu problem : fully expanded and "flat"

Dear Thorsten
...
There is a bug in the categories navigation area: the menu is fully expanded and is "flat" (there is no distinction between the different levels).
...
2011-06-02
pt20100201
...

Detected exactly the same problem after the upgrade, but I was able to apply a temporary solution by using a file from the previous version (2.6.15). The file is:

inc/Category.php

In the "CHANGEDFILES" under "docs" that file is one of the changed ones from v 2.6.15 to 2.6.16. I replaced it with the one from 2.6.15 and the view is again in "tree" mode as expected. If you are going to try this, first make a backup of your actual "inc/Category.php" file. Good luck !.

Best regards,

Reynaldo Martinez
CCS, Venezuela.

Thanks for your message.

We followed your instructions with a positive result: now v. 2.6.16 is working.

Once again, thank for your help.

Kind regards

2011-06-01
pt20100201
.
pt20100201
 
Posts: 77
Joined: Mon Feb 01, 2010 2:11 pm
Location: Porto . Portugal

Re: Bug-v.2.6.16-categories' menu problem : fully expanded a

Postby Thorsten » Thu Jun 02, 2011 7:32 pm

Hi,

we already reverted this issue, 2.6.17 will be available quite soon to fix this annoying issue. Sorry for that.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
 
Posts: 12144
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq

Re[2]: Bug-v.2.6.16-categories' menu problem : fully expande

Postby pt20100201 » Tue Jun 07, 2011 8:20 pm

.
Re[2]: Bug-v.2.6.16-categories' menu problem : fully expanded a
.
Hi,

Some feedback for Reynaldo Martinez and Thorsten Rinne.

Thorsten wrote:we already reverted this issue, 2.6.17 will be available quite soon to fix this annoying issue. Sorry for that.

Thanks for your reply.

After the very useful Reynaldo Martinez's help, knowing the problematic file we run today a diff between Category.php on phpMyFAQ versions 2.6.15 + 2.6.16, and

  • changed the 2.6.16 version affected lines to those on the previous one;
  • kept the new line introduced on version 2.6.16;
  • replaced the old .htaccess file with the new _.htaccess content (after editing it, naturally).

It seems to be working - like the initial solution.

Diff results (Category.php v.2.6.15 / 2.6.16)

Code: Select all
226c226
<             $this->categories[] =& $this->categoryName[$row['id']];
---
>             $this->categories[] = $this->categoryName[$row['id']];
254c254
<         foreach (explode(';', $categories) as $cats) {
---
>         foreach (explode(',', $categories) as $cats) {
747a748
>         $oLink->id        = 'category_' . $categoryId;



Regards

2011-06-07
pt20100201
.
pt20100201
 
Posts: 77
Joined: Mon Feb 01, 2010 2:11 pm
Location: Porto . Portugal

Re: Bug-v.2.6.16-categories' menu problem : fully expanded a

Postby Thorsten » Tue Jun 07, 2011 8:27 pm

Hi,

with this solution you'll have an issue for moving categories in the admin backend. Here are my fixes:

https://github.com/thorsten/phpMyFAQ/commits/2.6

I'll release 2.6.17 tomorrow if I'll find time.

Thanks!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
 
Posts: 12144
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq

Re[3]: Bug-v.2.6.16-categories' menu problem : fully expande

Postby pt20100201 » Wed Jun 08, 2011 11:09 am

.
Re[3]: Bug-v.2.6.16-categories' menu problem
.
Dear Thorsten

Thorsten wrote:with this solution you'll have an issue for moving categories in the admin backend. Here are my fixes:
...
I'll release 2.6.17 tomorrow if I'll find time.

Thank for taking your limited time to reply.

We tested only the navigation issue.
We'll then wait for 2.6.17 version.

Please continue your good work.


Kind regards

2011-06-08
pt20100201
.
pt20100201
 
Posts: 77
Joined: Mon Feb 01, 2010 2:11 pm
Location: Porto . Portugal


Return to Bug reports

Who is online

Users browsing this forum: No registered users and 2 guests

cron