Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Wrong Item id ! Please help ! (1 viewing) (1) Guest
Go to bottom Favoured: 0
TOPIC: Wrong Item id ! Please help !
#3464
Wrong Item id ! Please help ! 1 Year, 3 Months ago  
I cant use any of the modules - not the fblatest nor the last subjects 2.8 because they all don`t work properly.
The all ad a wrong id in the URL when redirecting to the forum!

Example- Wrong id URL:
www.lotroszene.net/index.php?option=com_...tid=2&id=495#495

Correct id must be 94 !! not 85

So it always redirects the guest to somewhere where joomla says "Your are not allowed to view this resource."

Please help me.

Is this because I installed FB before and published it a a menu item (id=85) then uninstalled it and now reinstalled it (id=94).

Now it seems the modules still think FB is installed as component with id 85 but there is no such component or menu link.

How can i get rid of this ?

thanks,

JK
JKjunior (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
www.lotroszene.de
German Community for "The Lord of the Rings Online"
 
The administrator has disabled public write access.  
#3475
Re:Wrong Item id ! Please help ! 1 Year, 3 Months ago  
Have you, since uninstalling and reinstalling, deleted your menu item and recreated it?
whouse (Moderator)
FB Support Team
Moderator
Posts: 648
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Please mark all resolved threads as SOLVED.
If you start a thread and the original topic is resolved, please edit the subject title of the original thread with SOLVED: at the beginning please.
 
The administrator has disabled public write access.  
#3505
Re:Wrong Item id ! Please help ! 1 Year, 3 Months ago  
Yes of course.

I have deleted the menu item and created a new one. Also the old id (85) seems to appear nowhere anymore.
dunno why this dumb module thinks it is still there or where it gets this wrong information.

The new menu item with the proper id 94 is created, published, for all visible and accessable. Dunno what to do.

Very weird.
JKjunior (User)
Junior Boarder
Posts: 27
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
www.lotroszene.de
German Community for "The Lord of the Rings Online"
 
The administrator has disabled public write access.  
#3508
Re:Wrong Item id ! Please help ! 1 Year, 3 Months ago  
Can you or have you removed the module and reinstalled it? Sorry for being so lo level, just trying to see what has and hasn't been done.
whouse (Moderator)
FB Support Team
Moderator
Posts: 648
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
Please mark all resolved threads as SOLVED.
If you start a thread and the original topic is resolved, please edit the subject title of the original thread with SOLVED: at the beginning please.
 
The administrator has disabled public write access.  
#3591
Re:Wrong Item id ! Please help ! 1 Year, 3 Months ago  
I resolve this problem.

94-85=9 then I add to itemid +9

I edit the file components/com_fireboard/fireboard.php

row 312
$Itemid+=9; //add 9 to itemid

I edit the file /mambots/content/fbdiscussbot.php

row 71
$Itemid+=9; //add 9 to itemid

Now it 's working fine.

Bye

Post edited by: jnash, at: 2007/04/27 23:39

Post edited by: jnash, at: 2007/04/28 15:34
jnash (User)
Expert Boarder
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
The administrator has disabled public write access.  
#3693
Re:Wrong Item id ! Please help ! 1 Year, 3 Months ago  
JKjunior wrote:
I cant use any of the modules - not the fblatest nor the last subjects 2.8 because they all don`t work properly.
The all ad a wrong id in the URL when redirecting to the forum!

Example- Wrong id URL:
www.lotroszene.net/index.php?option=com_...tid=2&id=495#495

Correct id must be 94 !! not 85

So it always redirects the guest to somewhere where joomla says "Your are not allowed to view this resource."

Please help me.

Is this because I installed FB before and published it a a menu item (id=85) then uninstalled it and now reinstalled it (id=94).

Now it seems the modules still think FB is installed as component with id 85 but there is no such component or menu link.

How can i get rid of this ?

thanks,

JK




yes plz i have the same problem can some 1 help plz
bhav (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#3729
Re:Wrong Item id ! Please help ! 1 Year, 3 Months ago  
Do you read my post? (up)

bye
jnash (User)
Expert Boarder
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
The administrator has disabled public write access.  
#3730
Re:Wrong Item id ! Please help ! 1 Year, 3 Months ago  
in my case it 86 and 87

so i should add +1 yes?
bhav (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#3731
Re:Wrong Item id ! Please help ! 1 Year, 3 Months ago  
//BBTEMPFIX

//check if the Itemid is set correctly

if ($Itemid == 1 or $Itemid == ""

{

$database->setQuery("select id from #__menu where link='index.php?option=com_fireboard'";

$Itemid=$database->loadResult();
$Itemid+=1;
}





I did this nothing happened. please help as i am a dumbass in Php.
bhav (User)
Fresh Boarder
Posts: 5
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
The administrator has disabled public write access.  
#3839
Re:Wrong Item id ! Please help ! 1 Year, 3 Months ago  
try it

edit

//check if the Itemid is set correctly

echo $Itemid;
if ($Itemid == 1 or $Itemid == ""

{

$database->setQuery("select id from #__menu where link='index.php?option=com_fireboard'";

$Itemid=$database->loadResult();
echo " ".$itemid;
}


with echo you can monitor pre and post if the $Identid value.
For example:

if the echo print on the screen 86 (your itemid link to fireboard component) and 87 (the wrong Identid), 86-87 = -1 the you must add the line

//check if the Itemid is set correctly

if ($Itemid == 1 or $Itemid == ""

{

$database->setQuery("select id from #__menu where link='index.php?option=com_fireboard'";

$Itemid=$database->loadResult();
$Itemid-=1;
}

bye
jnash (User)
Expert Boarder
Posts: 86
graphgraph
User Offline Click here to see the profile of this user
Logged Logged
 
 
The administrator has disabled public write access.  
Go to top
Powered by FireBoard - Creditsget the latest posts directly to your desktop