#23410 [Fbk->Opn]: bcompiler on windows error

From: Date: Wed, 30 Apr 2003 12:26:27 +0000
Subject: #23410 [Fbk->Opn]: bcompiler on windows error
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15751@lists.php.net to get a copy of this message
ID: 23410 User updated by: mike at blueroot dot net Reported By: mike at blueroot dot net -Status: Feedback +Status: Open Bug Type: PEAR related Operating System: Win32 PHP Version: 4.3.1 Assigned To: alan_k New Comment: Same errors.... :( Previous Comments: ------------------------------------------------------------------------ [2003-04-30 00:27:25] alan_k@php.net can you try the bcompiler.dll included in this - it should be in the Program Files directory. http://devel.akbkhome.com/gtkmdbdesigner_setup.exe Regards Alan ------------------------------------------------------------------------ [2003-04-29 09:08:02] arnaud@php.net yeah, i know, too fast :) ------------------------------------------------------------------------ [2003-04-29 08:56:14] mike at blueroot dot net I am using bcompiler on windows with apache. PHP version 4.3.1 Apache 1.3.24 I downloaded the php_bcompiler.dll from snaps.php.net I can compile classes using this code, $fh = fopen("classes/portfolio.class.phc", "w+"); bcompiler_write_header($fh); bcompiler_write_class($fh,"Portfolio"); bcompiler_write_footer($fh); fclose($fh); no errors are given and the files seem to be generated correctly. When I try to reload the class using this code I get the error Warning: bcompiler: Read Past End of File repeated many times and then apache crashes. $fh = fopen("classes/my.class.phc","r"); bcompiler_read($fh); fclose($fh); if I use the bcompiler_load function ie. bcompiler_load('classes/my.class.phc'); I get the error Warning: Could not find Magic header in stream Sorry if this is the same cause as bug 21160. If it is, when will the dll at snaps.php.net be fixed? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=23410&edit=1

« previous php.pear.dev (#15751) next »