I posted the following message in yabbse community but that topic and my username was instantly deleted
-------------------------------------------------------
as the *nix admin, I got too much problems from yabbse that hassle my welfare. To be specific, this script is a garbage.
- it dosn't check existing server settings carefully. For example, I modify php.ini to start output compression automatically, but yabb doesn't know it and send doubled compression, which cause it unreadable. most php scripts out there like those phpmyadmin or phpbb from sourceforge do check these.
- Why refer to full Unix path when run install.php ? This cause admin to work hard when some server setting has been changed esp. user's directory path
- at install, it rely on webserver to write files to user's directory. as a result, these file owner is httpd, its bad behavior to have different user in directory , some ftp server can't handle files of different owner.
- it doesn't EVEN carefully check its own file system for example , you know that fopen() would loop if trying open non-exist destination . My machine use mod_gzip compression that compress all php page but intolerable to error loop , when someone run install.php with incorrect setting, it cause compression pool to be full and the webserver stop functioning. here is the error output. look at the size of compression buffer file "_10730_2924_2825.wrk" below, the real path was replaced by my/domain.com
Code:
# cd /tmp
# ls -l _10730_2924_2825.wrk
-rwx------ 1 www www 208819634 Sep 5 23:47 _10730_2924_2825.wrk
# more _10730_2924_2825.wrk
HTTP/1.1 200 OK
Date: Thu, 05 Sep 2002 16:44:53 GMT
Server: Apache/1.3.26 (Unix) mod_gzip/1.3.19.1a PHP/4.1.2
Cache-Control: private
X-Powered-By: PHP/4.1.2
Connection: close
Content-Type: text/html
<html>
<head>
<title>YaBB SE Installer</title>
<style>
<!--
body {
font-family : Verdana;
font-size : 10pt;
}
td {
font-size : 10pt;
}
-->
</style>
</head>
<body bgcolor="#FFFFFF">
<center><table border="0" cellspacing="1" cellpadding="4" bgcolor="#000000" width="90%">
<tr>
<th bgcolor="#34699E"><font color="#FFFFFF">YaBB SE Installer</font></th>
</tr>
<tr>
<td bgcolor="#f0f0f0">
<br>
<b>Warning</b>: fopen("/home/my/domain.com/webboard1/yse141.sql", "r") - No such file or directory in <b>/home/w
ww/thaihotsoccer.com/www/webboard1/install.php</b> on line <b>214</b><br>
<br>
<b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>/home/my/domain.com/webboard1/instal
l.php</b> on line <b>218</b><br>
<br>
<b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>/home/my/domain.com/webboard1/instal
l.php</b> on line <b>219</b><br>
<br>
<b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>/home/my/domain.com/webboard1/instal
l.php</b> on line <b>226</b><br>
<br>
<b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>/home/my/domain.com/webboard1/instal
l.php</b> on line <b>218</b><br>
<br>
...
...
...