phpMiX.org :: Open Source eXperiments

 
Parse error in admin/index.php
Select messages from
# through # FAQ
[/[Print]\]
 
phpMiX.org -> DHTML Slide Menu for ACP

#1: Parse error in admin/index.php Author: White-Storm PostPosted: Wed Nov 01, 2006 11:40 pm
    —
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?
 

#2:  Author: markus PostPosted: Thu Nov 02, 2006 2:52 am
    —
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)
   );
 

#3:  Author: White-Storm PostPosted: Thu Nov 02, 2006 8:06 pm
    —
Thanks alot! It works now... Very Happy

And thank you for your great mods! Wink
 




phpMiX.org -> DHTML Slide Menu for ACP


output generated using printer-friendly topic mod. All times are GMT + 1 Hour

 
Page 1 of 1

Powered by phpBB © 2001, 2005 phpBB Group