PDA

View Full Version : [ubuntu] BASE setup trouble


FiberOptix
March 29th, 2009, 05:44 PM
Hello,

I've been following following the IDS thread stickied at the top. When configuring BASE, after step 4 I see at the top of the page:

Warning: include_once(Mail.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/base/includes/base_action.inc.php on line 29

Warning: include_once() [function.include]: Failed opening 'Mail.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/base/includes/base_action.inc.php on line 29

Warning: include_once(Mail/mime.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/base/includes/base_action.inc.php on line 30

Warning: include_once() [function.include]: Failed opening 'Mail/mime.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/base/includes/base_action.inc.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /var/www/base/includes/base_action.inc.php:29) in /var/www/base/base_common.php on line 1077

I click continue to step 5 and get a blank page with just the warning shown above. This is the same page displayed whenever I try to navigate to .../base/

Can anybody help me out?

bodhi.zazen
March 29th, 2009, 06:22 PM
If I recall correctly, this happens with base 1.4.x

Try base 1..3.9

It was hard to find a link to base, you can get it here:

http://easynews.dl.sourceforge.net/sourceforge/secureideas/base-1.3.9.tar.gz

FiberOptix
March 29th, 2009, 09:52 PM
If I recall correctly, this happens with base 1.4.x

Try base 1..3.9

It was hard to find a link to base, you can get it here:

http://easynews.dl.sourceforge.net/sourceforge/secureideas/base-1.3.9.tar.gz

Worked like a charm! Thanks very much.

bodhi.zazen
March 29th, 2009, 10:26 PM
You are most welcome. I hope they fix that little problem with base 1.4.x soon, it has been problematic for some time now.

I did once "hack" the php code for 1.4.1 , it was not too hard, but base still did not work well.

The good news is, base 1.3.9 is rock solid and works just fine ;)

p0rkjello
May 4th, 2009, 05:59 PM
Hello,

I've been following following the IDS thread stickied at the top. When configuring BASE, after step 4 I see at the top of the page:

Warning: include_once(Mail.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/base/includes/base_action.inc.php on line 29

Warning: include_once() [function.include]: Failed opening 'Mail.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/base/includes/base_action.inc.php on line 29

Warning: include_once(Mail/mime.php) [function.include-once]: failed to open stream: No such file or directory in /var/www/base/includes/base_action.inc.php on line 30

Warning: include_once() [function.include]: Failed opening 'Mail/mime.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/base/includes/base_action.inc.php on line 30

Warning: Cannot modify header information - headers already sent by (output started at /var/www/base/includes/base_action.inc.php:29) in /var/www/base/base_common.php on line 1077

I click continue to step 5 and get a blank page with just the warning shown above. This is the same page displayed whenever I try to navigate to .../base/

Can anybody help me out?

Same problem.. resolved with
pear install Mail Mail_mime

danstermeister
February 18th, 2010, 09:53 PM
Okay so the real problem is the php.ini file and it's path setting. I just happen to use OpenBSD but ran across this thread in my troubleshooting, so I just thought I'd share my solution.

In the section that looks like this...

;;;;;;;;;;;;;;;;;;;;;;;;;
; Paths and Directories ;
;;;;;;;;;;;;;;;;;;;;;;;;;

; UNIX: "/path1:/path2"
include_path =


make that last line equal whatever else is on the line and another location where your php files are (mail.php, mime.php, the ones BASE is erroring on.)

That's what did it for me. I had...

include_path = ".:/pear/lib:/var/www/pear/lib"

... and I changed it to ...

include_path = ".:/pear/lib:/var/www/pear/lib:/usr/local/share/php5"

And after restarting Apache, all was well. Good Luck

reirracon
October 5th, 2010, 02:23 AM
pear install Mail
+
pear install Mail_mime

and all "Warning: include_once(Mail/mime.php)" disapeared.

without the need to modify php.ini.

solved. thanks