Projects ⇒ Bugs ⇒ #654: undefined variable ⇒ CPG Dragonfly™ CMS
Bug #654 undefined variable
Project: Dragonfly 9.0.3 -> 9.3 Category: Output Control
Submitted: Monday, October 31, 2005 (04:20:16) Modified: Thursday, November 03, 2005 (01:14:45)
Status: Closed Assigned to: akamu
PHP Version: 4.3.11 HTTPD Server: Apache 2.0

View/Vote Add Comment

by: Head-e
Description:
------------
undefined variable 'admincssmenuitems'

Reproduce code:
---------------
header.php

$cpgtpl->assign_vars(array(
'PAGE_TITLE' => ($home || isset($ownpagetitle[$module_name]))?'':$pagetitle,
'S_ADMIN_MENU' => $adminmenuitems,
'S_ADMIN_CSSMENU' => $admincssmenuitems
));


CHANGE TO

$cpgtpl->assign_vars(array(
'PAGE_TITLE' => ($home || isset($ownpagetitle[$module_name]))?'':$pagetitle,
'S_ADMIN_MENU' => $adminmenuitems,
'S_ADMIN_CSSMENU' => '$admincssmenuitems',
));





Actual result:
--------------
undefined variable 'admincssmenuitems'
by: xfsunoles
Acutally,

do you see $adminmenuitems = false;?

change to $adminmenuitems = admincssmenuitems = false;

there problem solved.
by: xfsunoles
oops

$adminmenuitems = $admincssmenuitems = false;
by: akamu
This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke 9.0.3 -> 9.1 better.

This bug has been fixed in the CVS.

Snapshots of the sources are packaged every 6 hours; this change
will be in the next snapshot. You can grab the snapshot at the
Downloads section.

Thank you for the report, and for helping us to make CPG-Nuke 9.0.3 -> 9.1 better.

/cvs/html/header.php new revision: 9.16
User Info

Welcome Anonymous



(Register)
Community

Support for DragonflyCMS in a other languages:

Deutsch
Español