unmadindu
06-04-2003, 05:08 PM
Hello,
For some reasons, the PHP scripts which we have at www.bengalinux.org (hosted at sourceforge.net) have started acting crazily.
Here's a sample trouble :
We are trying to open a page with fopen() at http://mandrakesoft.com. When a browser accesses that particular PHP file - it says
Warning: php_hostconnect: connect failed in
/home/groups/b/be/bengalinux/htdocs/projects/mandrake/mdk_bn_status.php on
line 15
Warning: fopen("http://mandrakelinux.com/l10n/bn.php3", "r") - Bad file
descriptor in
/home/groups/b/be/bengalinux/htdocs/projects/mandrake/mdk_bn_status.php on
line 15
Can;t Open the target http://mandrakelinux.com/l10n/bn.php3 page!
But when we run it from the command line with php mdk_bn_status.php - it works fine.
Moreover, there is another very simple PHP/MySQL based thingy we have there - and it is also acting crazy (sometimes, the MySQL queries are not returning anything when accessed through a browser, and sometimes, it is complaining about missing 'DB.php', (I am using PEAR), though I know that it is there).
All the scripts are running fine in my box (of course, I am running newer versions of PHP/MySQL - but I don't think that should matter, as I am using very basic PHP functions)
Can anyone tell what the problems is??
For some reasons, the PHP scripts which we have at www.bengalinux.org (hosted at sourceforge.net) have started acting crazily.
Here's a sample trouble :
We are trying to open a page with fopen() at http://mandrakesoft.com. When a browser accesses that particular PHP file - it says
Warning: php_hostconnect: connect failed in
/home/groups/b/be/bengalinux/htdocs/projects/mandrake/mdk_bn_status.php on
line 15
Warning: fopen("http://mandrakelinux.com/l10n/bn.php3", "r") - Bad file
descriptor in
/home/groups/b/be/bengalinux/htdocs/projects/mandrake/mdk_bn_status.php on
line 15
Can;t Open the target http://mandrakelinux.com/l10n/bn.php3 page!
But when we run it from the command line with php mdk_bn_status.php - it works fine.
Moreover, there is another very simple PHP/MySQL based thingy we have there - and it is also acting crazy (sometimes, the MySQL queries are not returning anything when accessed through a browser, and sometimes, it is complaining about missing 'DB.php', (I am using PEAR), though I know that it is there).
All the scripts are running fine in my box (of course, I am running newer versions of PHP/MySQL - but I don't think that should matter, as I am using very basic PHP functions)
Can anyone tell what the problems is??