ID: 12289 Updated by: rasmus Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: Linux PHP Version: 4.0.5 New Comment: This is what the include_once function is for. Use that instead and see if that fixes things for you. Previous Comments: ------------------------------------------------------------------------ [2001-07-20 14:45:31] [EMAIL PROTECTED] We encouter include() -problems on a large project. It makes extensive use of classes and due to the fact that session-vars need to have the class-definitions before they can be used, some includes are circular. Of course all include-files are encapsulated into if(defined("C") {.. } blocks. The included files before each weppage have a linecount at a maximum of 6214. The errors result in classes not known and thus declaration of classes extended by them fail. Also function-declarations sometimes are missing. When using a while(!function_exists("f")) { include("f.php"); } this results in timeouts because of endless loops. Of course _should_ happen, because the constants mentioned above are all correctly set. The errors occur not fully predictabel, and normally disappear when reloading the webpage. In the apache-error-log appaer the following lines, although I'm not sure if they are related to the problem: [Fri Jul 20 16:01:34 2001] [alert] (14)Bad address: FastCGI: openf() of fcgi_dynamic_mbox "(null)" failed [Fri Jul 20 16:01:52 2001] [notice] child pid 13112 exit signal Segmentation fault (11) Any suggestions? Or is this project just too large for PHP4? ./configure --with-apxs=/usr/sbin/apxs --with-gd --with-curl=/tmp/curl-7.8 --with-oci8=/opt/oracle/OraHome1 --with-gettext=/usr/share --enable-sigchild --with-dom=/usr/local/lib/ ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12289&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]