1
MysteeX
cbb 1.15 warning issue
  • 2005/12/20 0:32

  • MysteeX

  • Just popping in

  • Posts: 2

  • Since: 2005/12/20


Hello,

I have installed XOOPS last version with cbb 1.15.

I have the following warnings in bottom of my site:

Warning [PHP]: is_dir(): Unable to access /usr/bin/X11 in file modules/newbb/include/functions.php line 299
Warning [PHP]: is_dir(): Unable to access /usr/bin in file modules/newbb/include/functions.php line 299
Warning [PHP]: is_dir(): Unable to access /usr/bin/X11 in file modules/newbb/include/functions.php line 299
Warning [PHP]: is_dir(): Unable to access /usr/bin in file modules/newbb/include/functions.php line 299


I have:
ImageMagik: Not valid
netpbm: not valid
GD1 library: not valid
GD2 library: Autodetect: 2.0 or higher

The 2 directory for images and files are valid.

I have tried to go on cbb support forum but site is closed.

Any idea?
Is it a problem on my provider servers?

Thanks
MysteeX

2
davidthomas1
Re: cbb 1.15 warning issue

It looks like a problem with permissions.

However, because they're just "warnings", you may find CBB works fine anyway.

Could you post line 299 from modules/newbb/include/functions.php?

Maybe the CBB files need the correct permissions?

Sorry I can't help more, someone else?
みんなちがってみんないい。

XOOPS 2.0.13.2

3
MysteeX
Re: cbb 1.15 warning issue
  • 2005/12/22 13:08

  • MysteeX

  • Just popping in

  • Posts: 2

  • Since: 2005/12/20


It is the IsDir() function.

The issue is that my provider doesn't let access to this directory for security reasons.

Is there a way to hide the warnings? Is it a apache conf or can I desable warnings into XOOPS environment?

Thanks
MysteeX

4
Shine
Re: cbb 1.15 warning issue
  • 2005/12/22 16:22

  • Shine

  • Just can't stay away

  • Posts: 822

  • Since: 2002/7/22


admin=>systemadmin=>main settings.. php-debug: off

5
Catzwolf
Re: cbb 1.15 warning issue
  • 2005/12/22 18:20

  • Catzwolf

  • Home away from home

  • Posts: 1392

  • Since: 2007/9/30


Change the IsDir() function in the script to @IsDir() and that will supress any warnings/notices ouput.

A. can't you change the directory to one that your provider will accept as readable/writable?
B. Are you sure that this dir is actually there? As you will get a warning if its not.

Really is should be something like this

if (file_exists($dir_name) && is_dir( $dir_name ) )
{
do some stuff here;
}

This will check to see if the dir is there and its actually a dir, if both do not return true then you know its not there.

John

Login

Who's Online

111 user(s) are online (90 user(s) are browsing Support Forums)


Members: 0


Guests: 111


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Jun 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits