PHP
Diary of a late, late adopter
Friday, March 07, 2003

Sokkit, which is what I use with PHP on Windows does not yet include php 4.3 because there are lots of issues between PHP and apache2 on Windows.  However it is coming soon.  I will instead try to make my code see reason about which path it should use for xslt functions!
12:16:38 AM    comment []

First issue with phrame:  I get the following error: 

Notice: Use of undefined constant _ACTION - assumed '_ACTION' in phrameConstants.php on line 3

relating to the following line:

define(_ACTION, 'action');

The code should have been written with quotes around the _ACTION:

define('_ACTION', 'action');

but you can also set php.ini to not report Notices, only errors:

- Show all errors, except for notices:

error_reporting  =  E_ALL & ~E_NOTICE

I still get the following error:

Warning: Sablotron error on line none: cannot open file 'C:/sokkit/Apache2/bin/views/index.xsl' in C:sokkitsitephrameextXml.php on line 160

This indicates that xslt functions are using Apache2/bin for the base of the relative path and this is just wrong!

so I found this explanation in the php developers mailing list that this is an issue with my version of PHP  (4.3.2) and it is fixed in 4.3


12:11:45 AM    comment []





© 2003 mcgyver5
Last Update: 8/14/2003; 1:37:55 AM

Click here to visit the Radio UserLand website.

 











March 2003
Sun Mon Tue Wed Thu Fri Sat
            1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31          
Nov   Apr

Subscribe to "PHP" in Radio UserLand.
Click to see the XML version of this web page.
Click here to send an email to the editor of this weblog.