[studs-user] trying to get the demos to work
Status: Beta
Brought to you by:
mojavelinux
|
From: David S. <dav...@ya...> - 2004-10-07 22:59:13
|
I am interested in Studs since it seems to be the most literal PHP port of Jakarta Struts. I am wondering whether Studs is ready to be used in a little project at work, or is it more experimental right now? I've been trying to get the demos - stratus-classic and studs-basic - working, but when I try to view them, the text sent to the browser has all the html tags stripped out. When I view the html source in the browser, I can see that it used spaces or tabs to format the output, as if it was meant to be shown in a terminal window. Does anyone know why that would be? Here are a few things I learned while installing: The file named htaccess in the top level directory should be renamed to .htaccess (starts with a dot). The .htaccess file includes a directive that requires Apache 2.0.__. I noticed a previous post just commented it out, but I upgraded. PHP 5 has some new keywords that conflict with some Studs code (as of ver. 0.9.4), such as 'clone', so I went back to PHP 4.3.4. PHP safe mode caused problems, unless maybe you change ownership of all scripts to the user that httpd runs as. David Smith _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.yahoo.com |