Parse error in admin/index.php
 
 
Post new topic   Reply to topic   printer-friendly view    phpMiX.org Forum Index -> phpBB MODs -> DHTML Slide Menu for ACP
View previous topic :: View next topic  
Author Message
White-Storm
Starter
Starter


Joined: 01 Nov 2006
Posts: 2

PostPosted: Wed Nov 01, 2006 11:40 pm    Post subject: Parse error in admin/index.php Reply with quote

Hello, I installed the mod as said in the txt file, but I get this on the admin interface:

Parse error: syntax error, unexpected T_DOUBLE_ARROW in /media/160go/hebergement/whatif-web.goldzoneweb.info/forum/admin/index.php on line 101

It is concerning these lines:

Code:
$template->assign_block_vars("catrow",
//+MOD: DHTML Menu for ACP
         "MENU_CAT_ID" => $menu_cat_id,
         "MENU_CAT_ROWS" => count($action_array),
//-MOD: DHTML Menu for ACP
array("ADMIN_CATEGORY" => $cat)
      );


What is the problem please?
 
Back to top
View user's profile Send private message
markus
[Administrator]
[Administrator]


Joined: 28 Jul 2003
Posts: 1124

PostPosted: Thu Nov 02, 2006 2:52 am    Post subject: Reply with quote

For some reason the modifications haven't been applied correctly. Try this:

Code:
$template->assign_block_vars("catrow", array(
//+MOD: DHTML Menu for ACP
      "MENU_CAT_ID" => $menu_cat_id,
      "MENU_CAT_ROWS" => count($action_array),
//-MOD: DHTML Menu for ACP
      "ADMIN_CATEGORY" => $cat)
   );

 
 
_________________
http://www.phpmix.org
 
Back to top
View user's profile Send private message
White-Storm
Starter
Starter


Joined: 01 Nov 2006
Posts: 2

PostPosted: Thu Nov 02, 2006 8:06 pm    Post subject: Reply with quote

Thanks alot! It works now... Very Happy

And thank you for your great mods! Wink
 
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    phpMiX.org Forum Index -> phpBB MODs -> DHTML Slide Menu for ACP All times are GMT + 1 Hour
 
Page 1 of 1


 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum