PHP
Diary of a late, late adopter
Sunday, March 16, 2003

Update to phrame errors I was experiencing:

Even after upgrading to PHP 4.3, I still got 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 was just on windows)

There are two ways to fix this.  One is to use the xsl_set_base() function.  I couldn't figure out how to do this yet, so I gave it a non-relative path to find the xml file:

near the bottom of hello/index.php fixed it as follows: 

$xsl = ($_GET['_VIEW']) ? $_GET['_VIEW'] : '../site/phrame_examples/hello/views/index.xsl';

that enabled it to find the correct xsl path on windows. 

So with that change, I finally got the simple hello example to display the first form where you enter your name.  Unfortunately, when I submit this first form, it doesn't work.  This is true both in a unix environment and in a windows environment.  The form submits and the url string reads:

http://localhost/phrame_examples/hello/index.php?view=views/hello.xsl&

Which is the exact same url string that the example on the phrame site ends up with for this example.

I have no clue how to debug this!

I posted to the phrame user list and that list appears to be dead as doornail and there has been no updates to the project since November.  Is Phrame dead?


2:09:30 PM    comment []





© 2003 mcgyver5
Last Update: 8/14/2003; 1:37:58 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.