Skip to Content Skip to Menu

error massage after uddeim reply

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 2 weeks ago #73364 by slabbi
Replied by slabbi on topic Re:error massage after uddeim reply
When cb_login uses a wrong Itemid then the problem is that there are two menu links to uddeIM in the database and cb_login uses the wrong one.

Please check if you have created only ONE menu link and check if you have not a orphaned link in the trash (empty the trash, remember to switch to the correct view).

I have checked some Joomla configurations in the past to ensure that it is not a bug in uddeIM and it was ALWAYS a mistake in the configuration.

In most cases it was the Itemid (because of two or more links), sometimes a wrong live_path and so.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

  • slabbi
  • slabbi
  • OFFLINE
  • Posts: 3709
  • Thanks: 250
  • Karma: 153
16 years 2 weeks ago #73365 by slabbi
Replied by slabbi on topic Re:error massage after uddeim reply
You can do following:

In line 71 uddeim.php add two lines after

[code:1]$Itemid = uddeIMmosGetParam( $_REQUEST, 'Itemid');
if (!$Itemid || !isset($Itemid) || empty( $Itemid )) {
$Itemid = uddeIMgetItemid($config);
}
[/code:1]

so it looks like

[code:1]$Itemid = uddeIMmosGetParam( $_REQUEST, 'Itemid');
if (!$Itemid || !isset($Itemid) || empty( $Itemid )) {
$Itemid = uddeIMgetItemid($config);
}
if ($config->overwriteitemid)
$Itemid = (int)$config->useitemid;
[/code:1]

This overwrites also the Itemid when the caller uses a wrong Itemid. I do not know if index.php filters this, so it might have no effect but you can give it a try.

It does not fix the problem but may fixes the symptoms.

uddeIM & uddePF Development
CB Language Workgroup
CB 3rd Party Developer

Please Log in or Create an account to join the conversation.

Moderators: beatnantslabbikrileon
Powered by Kunena Forum