Michel_ VIP
Total posts: 61
02 Июль 2012 15:25

I try to upgrade my test site to last version (7.8615) from previous version (7.8533).

And get the following error message :

The page isn't redirecting properly

Error 310 (net::ERR_TOO_MANY_REDIRECTS)

Is there something special to do to upgrade ?

(I open and save the sections and records but problem still there).

After, I downgraded to 7.8533 without problems.

Последние изменения: 02 Март 2014


Sergey
Total posts: 13,748
02 Июль 2012 21:49

This may be due to Itemid consistency fix. Try to set correct Itemid to all sections and types. And would be nice if you give link to see. Better with admin access.


Michel_ VIP
Total posts: 61
02 Июль 2012 23:41

I upgraded again to 7.8615 and try to add a new menu item (Cobalt section records list). Same problem.

You can check my test website :

Скрытый текст


Гость
03 Июль 2012 08:10

Today I was at the site and looked at the settings:

The section has 'Home' itemId and the types has their own itemids. Thats all correct. The conflict occurs when when we try to open the categories with Homes item.

Try to set up links taking them from the categories module. The test link with Asia now is working


Sergey
Total posts: 13,748
03 Июль 2012 10:14

It is a bug. To fix it right now open file views/records/view.html.php and in line 110 find line

$app->redirect(JRoute::_(Url::records($section, ($category->id ? $category: null)), TRUE));

And change TRUE to FALSE so you get

$app->redirect(JRoute::_(Url::records($section, ($category->id ? $category: null)), FALSE));

Or wait new release.


Michel_ VIP
Total posts: 61
03 Июль 2012 11:11

Thanks, Sergey. I modify the file and it works now.


Michel_ VIP
Total posts: 61
04 Июль 2012 04:21

I don't know what you call a 'Itemid consistency fix'.

But now I ALWAYS have the same Itemid (EVEN when I deleted this menu item !),

EVEN when I use an external URL (to assign modules to different categories as you suggested)

EVEN when I change manually the Itemid in the URL page.

So I cannot assign modules anymore to different categories.

Thanks for help.


Sergey
Total posts: 13,748
04 Июль 2012 08:27

You have to set itemid in section parameters for section. If you want to have different Itemids for categories set it in categories parameters. But create links to categories as external URL.

Here is the instruction

  1. Create hidden menu and create there as many links to the SECTION root as you need links to categories.

  2. Edit categories and set those itemids to every category.

  3. Create link in main menu to section with is visible.

  4. Open it and copy category links and insert them in visible menu as externt URLs.

I think this will help you accomplish what you want.


Michel_ VIP
Total posts: 61
04 Июль 2012 08:52

Many thanks.

In fact, I forgot to set the Itemids in the categories (or more exactly didn't understood exactly what and where to do this).

And with previous versions, it was not a problem.

Except with the links inside the Cobalt sections / categories. And I resolved this issue with a small hack...:D

This time, everything works as expecting and with standard Cobalt.:S


Michel_ VIP
Total posts: 61
04 Июль 2012 17:02

Скрытый текст

Работает на Cobalt