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
|