print_array()
is declared on line 587 and redeclared on line 297 in
class.mimepart.inc.php
db_query()
is declared on line 26 and redeclared on line 94 in
class.db_tools.inc.php
===============
Sombody with nick "nobody" saying that it is due to PHP
version!!!
but it seems quite...amazing?
===============
Is any one has its soloution????
Logged In: NO
I've commented out the first function and everything seems
to work fine...
Logged In: YES
user_id=596923
I get a "Fatal error: Cannot redeclare print_array() in
F:\webmail\popper\class.mimepart.inc.php on line 587" when I
try it with PHP 4.3.3, but it works fine with 4.2.3. Sounds
like a similar (though less detailed) error...
Logged In: NO
I have the same issue. Although I'm using php version
apache2-mod_php4-4.3.3-179
Logged In: NO
Same errors on my system (PHP Version 4.3.1); but I can't
imagine, that any PHP Version will allow redeclaration of
methods within a class ?!?
I just commented both methods as follows:
class.db_tool.inc.php line 26:
/* function db_query($query) {
return mysql_query($query);
}*/
// also this function shoult be able to be used if a
connection allready exists.
and
class.mimepart.inc.php line 297:
/* function print_array($arr) {
foreach($arr as $key => $val) {
echo("$key --> $val<br>\r\n");
}
}*/
//both functions print_array are allmost the same except for
the \n.
have fun