admin.php and business_logic.php are trying to define the same things

M

Matt Hearn

Guest
Everything else appears to run fine, but when I try to run admin.php, my web browser gives me some formatting nonsense and then shows the following error:

Fatal error: Cannot redeclare build_fields_names_array() (previously declared in /var/www/html/ffb/admin.php:497) in /var/www/html/ffb/include/business_logic.php on line 33

Sure enough, if I check admin.php and business_logic.php they are defining many of the same functions.

I tried taking the "include<business_logic.php>" line out of admin.php, but it didn't work. There's another mention of "business_logic.php" at the top of the admin.php file in a bunch of weird binary-looking gibberish.

I'm running PHP 4.3.2, MySQL 4.0.12, DaDaBIK 2.2.1. Any ideas?

Thanks!!!

 
M

Matt Hearn

Guest
I forgot to mention I'm running RH8.0 and apache 2.0.45.
 
E

Eugenio

Guest
Matt Hearn wrote:

> Everything else appears to run fine, but when I try to run
> admin.php, my web browser gives me some formatting nonsense and
> then shows the following error:
>
> Fatal error: Cannot redeclare build_fields_names_array()
> (previously declared in /var/www/html/ffb/admin.php:497) in
> /var/www/html/ffb/include/business_logic.php on line 33

Ther is no build_fields_names_array() declaration in admin.php, please try to re-download DaDaBIK, probably you have changed some code lines.

Eugenio.

(Latest version of DaDaBIK when this message was posted: 2.2.1)
 
Top