From: Benjamin D. S. <be...@be...> - 2001-05-02 20:36:31
|
Alex, Found the problem! The web-site instructions for installation indicate this variable is called "allow_call_time_pass_reference", when in fact it should be "allow_call_time_pass_by_reference". Looks like a typo. Up and running w/o errors - THANKS! -Ben On Wednesday 02 May 2001 13:27, you wrote: > php.ini: > > allow_call_time_pass_by_reference = On > > This is a metabase thing. > > _alex > > > Have the following defined block in httpd.conf... > > > > <SNIP> > > > > NameVirtualHost * > > > > <VirtualHost *> > > ServerName bc.benjamindsmith.com > > ServerAdmin be...@be... > > DocumentRoot /home/httpd/bc/htdocs > > > > php_value auto_prepend_file > > /home/httpd/bc/binarycloud/user/conf/prepend.inc php_value > > auto_append_file /home/httpd/bc/binarycloud/user/conf/append.inc > > > > php_value magic_quotes_gpc off > > php_value variables_order "GPCS" > > php_value session.name session > > php_value session.entropy_length 16 > > php_value session.entropy_file /dev/urandom > > php_value default_charset "iso-8859-1" > > php_value register_argc_argv off > > php_value allow_call_time_pass_reference true > > </VirtualHost> > > > > </SNIP> > > > > And all seems to be working - but when I look at the site, I get a large > > (I mean large) amount of complaints about pass-by-reference errors - all > > of which are fairly similar. Here's a sample: > > > > <SNIP> > > Warning: Call-time pass-by-reference has been deprecated - argument > > passed by value; If you would like to pass it > > by reference, modify the declaration of [runtime function name](). If you > > would like to enable call-time > > pass-by-reference, you can set allow_call_time_pass_reference to true in > > your INI file. However, future versions > > may not support this any longer. in > > /home/httpd/bc/binarycloud/core/base/db/xml_parser.php on line 98 > > </SNIP> > > > > At the bottom, I see the BC "flames" page, there are some errors about > > "headers already sent" -which makes sense given the errors up above. > > > > Any ideas? > > > > The last php_value in httpd.conf (allow_call_time_pass_reference) I've > > tried as "on" (which is how the documentation at the site says to set it) > > and "true" (which is what the error message indicates) > > > > If it helps any, this is a 7.1 RH install, php 4.0.5, Apache 1.3.19, > > Postgres 7.1, 2.4.x Linux kernel. PHP compiled as follows: > > > > ./configure \ > > --with-apxs=/usr/sbin/apxs \ > > --enable-ftp \ > > --with-zlib=/usr/ \ > > --enable-bcmath \ > > --enable-calendar \ > > --with-jpeg-dir=/usr/lib \ > > --with-tiff-dir=/usr/lib \ > > --with-openssl \ > > --with-mhash=/usr/local/mhash \ > > --with-mcrypt=/usr/bin/mcrypt \ > > --enable-debug=no \ > > --with-postgres \ > > --without-mysql > > > > apachetl start reports no errors. > > > > Again, thanks! > > > > -Ben > > -- > alex black, ceo > en...@tu... > > the turing studio, inc. > http://www.turingstudio.com > > vox+510.666.0074 > fax+510.666.0093 > > > > _______________________________________________ > binarycloud-dev mailing list > bin...@li... > http://lists.sourceforge.net/lists/listinfo/binarycloud-dev -- "Life is short. Live it!" |