Curious - Apache crash
| From: | Pete Morganic | Date: | Fri, 06 Jun 2003 17:21:58 +0000 |
| Subject: | Curious - Apache crash | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9668@lists.php.net to get a copy of this message | ||
The following lines make apache crash on 2 windows 2000 servers with smarty. Don't know what the problem is so I thought I'd post it here.
$admin_tabs = array('users' => 'User Admin',
'r3' => 'R3 Settings',
'system' => 'Online System'
);
$smarty->assign_by_ref('admin_tabs', $admin_tabs);
Commenting out the //$smarty->assign_by_... stops it
as does renaming the array name to something other than '$admin_tabs'
Aslso changing the 'system' array key
There's no entry in apache error log , just a popup windows that says "apache has encoutered a fatal error" and no browser output
It then carries on as if nothing had happened - ie it doesn't stop apache - havigating to another page an it fine ;-)
Apache 1.3.7
Windows 2000 patched last week
Smarty 2.5 ;-)
Pete