bugphpGroupWare - Bugs: bug #7639, chat module parse error... then...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #7639: chat module parse error... then fatal error

Submitter:  David Kelly <onionpeeler>
Submitted:  Mon 09 Feb 2004 09:27:21 AM UTC
   
 
Category:  chat Item Group:  0.9.14.007 release
Severity:  3 - Normal Priority:  5 - Normal
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  SVN Operating System:  GNU/Linux - Other
Reproducibility:  Every Time Planned Release:  None
Fixed Release: 

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


David Kelly <onionpeeler>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.14-7003.
Corresponding source code