Mon 09 Feb 2004 09:27:21 AM UTC, original submission:
Please see the thread
http://forums.phpgroupware.org/index.php?t=rview&goto=1433#msg_1433
text in the thread is as follows:
onionpeeler:
Linux cPanel Build 8.5.3-STABLE
Apache version 1.3.29 (Unix)
MySQL version 4.0.15-standard
PHP version 4.3.4
phpgroupware 0.9.14.512
...I dont know where to start rectifying this.
when accessing chat from the menu it returns:
Parse error: parse error in /home/sitename/public_html/phpgroupware/chat/index.php on line 92
that line in /chat/index.php is just a tag...so I presume its got to do with line 93... here's the code:
line 92<td>
line 93<form name="load" method="post" action="<?php echo $GLOBALS['phpgw']->link('/chat/load.php') ?>">
line 94<select name="channel" size="4" onChange="chatwindow();">
any ideas?
cw:
it's more likely due to 91 or whatever php line is just before that..
although, there is a missing ; on line 93
onionpeeler:
..I placed a ; in line 93 so that line in index.php now reads:
<form name="load" method="post" action="<?php echo $GLOBALS['phpgw']->link('/chat/load.php'); ?>">
I click on chat and now I receive:
Fatal error: Cannot redeclare get_var() (previously declared in /home/sitename/public_html/phpgroupware/chat/index.php:24) in /home/sitename/public_html/phpgroupware/phpgwapi/inc/common_functions. inc.php on line 459
line 24 of index.php is as follows:
line 24: function get_var($name,$from) // a simple version
funtion code on lines 25 to 31:
{
if (!is_array($from)) $from = explode(',',$from);
while ((list(,$f) = each($from)) && !isset($GLOBALS['HTTP_'.$f.'_VARS'][$name])) ;
$ret = $GLOBALS['HTTP_'.$f.'_VARS'][$name];
//echo "HTTP_$f"."_VARS[$name]=$ret<br>";
return $ret;
}
cw:
Please file a bug report and someone will get to asap.
end
If you need to more info or access please get in touch
all the best
Dave
|