I'm a new user to phpwebapp and php programming (but have a lot of programming experience in other languages). I've got an installation problem with phpwebapp, which I think may be related to some "assumptions" about the server configuration of PHP. Any clarification/help would be appreciated.
Installing phpwebapp on a WinXP box with PHP running under IIS5, I get the following errors when navigating to the documentation directory:
-------------------------------------------
Notice: Undefined index: SCRIPT_FILENAME in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 24
Warning: main(/config/const.Paths.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 39
Warning: main(): Failed opening '/config/const.Paths.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 39
Warning: main(/config/const.Options.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 42
Warning: main(): Failed opening '/config/const.Options.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 42
Warning: main(/config/const.Debug.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 43
Warning: main(): Failed opening '/config/const.Debug.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 43
Notice: Use of undefined constant USES_DB - assumed 'USES_DB' in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 44
Warning: main(/config/const.DB.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 44
Warning: main(): Failed opening '/config/const.DB.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 44
Notice: Use of undefined constant WEBAPP_PATH - assumed 'WEBAPP_PATH' in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 47
Warning: main(WEBAPP_PATHWebApp.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 47
Warning: main(): Failed opening 'WEBAPP_PATHWebApp.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 47
Fatal error: Undefined class name 'webapp' in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 49
------------------------------------
Again, any help re: the expected php configuration would be appreciated!
- Dan Gilleland
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am sorry but the Windows platform is not supported (neither is IIS); I cannot afford supporting them. I am sorry that I have not made it clear in the page of the project, but they are a little bit outdated.
However you can try to install Apache and see whether it works or not, I would be curious to know. Also, you can try to install Linux.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the update re: not supported on Windows.
As I was only interested in checking out DocBook Wiki, I'll forego the move to Apache. This was one of a few alternates I'm considering in setting up a DocBook Authoring/Publishing chain, so I've got other possible options.
Best wishes on your development of phpwebapp!
- Dan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I've installed phpWebApp 1.1, it seems to work smootly, at least the tutorial applications and the empty-sample distribuited with the code.
I just unpacked the files in web home (not in the php installation path) and I had no problems with those paths: server is Apache 2.0.47 running on win2k SP4.
The only problem I had was related with the web browser not the application itself: IE 5.0 didn't execute correctly some javascript preventing phpWebApp to work. I fixed it switching to Mozilla.
For those using IIS: if you can have php working correctly on IIS, phpWebApp should work also cause it uses xml and php language only and then should be platform independent.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I'm a new user to phpwebapp and php programming (but have a lot of programming experience in other languages). I've got an installation problem with phpwebapp, which I think may be related to some "assumptions" about the server configuration of PHP. Any clarification/help would be appreciated.
Installing phpwebapp on a WinXP box with PHP running under IIS5, I get the following errors when navigating to the documentation directory:
-------------------------------------------
Notice: Undefined index: SCRIPT_FILENAME in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 24
Warning: main(/config/const.Paths.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 39
Warning: main(): Failed opening '/config/const.Paths.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 39
Warning: main(/config/const.Options.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 42
Warning: main(): Failed opening '/config/const.Options.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 42
Warning: main(/config/const.Debug.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 43
Warning: main(): Failed opening '/config/const.Debug.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 43
Notice: Use of undefined constant USES_DB - assumed 'USES_DB' in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 44
Warning: main(/config/const.DB.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 44
Warning: main(): Failed opening '/config/const.DB.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 44
Notice: Use of undefined constant WEBAPP_PATH - assumed 'WEBAPP_PATH' in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 47
Warning: main(WEBAPP_PATHWebApp.php): failed to open stream: No such file or directory in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 47
Warning: main(): Failed opening 'WEBAPP_PATHWebApp.php' for inclusion (include_path='.;c:\php4\pear') in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 47
Fatal error: Undefined class name 'webapp' in C:\PHP\_phpRoot\phpwebapp-1.0\documentation\webapp.php on line 49
------------------------------------
Again, any help re: the expected php configuration would be appreciated!
- Dan Gilleland
I am sorry but the Windows platform is not supported (neither is IIS); I cannot afford supporting them. I am sorry that I have not made it clear in the page of the project, but they are a little bit outdated.
However you can try to install Apache and see whether it works or not, I would be curious to know. Also, you can try to install Linux.
Thanks for the update re: not supported on Windows.
As I was only interested in checking out DocBook Wiki, I'll forego the move to Apache. This was one of a few alternates I'm considering in setting up a DocBook Authoring/Publishing chain, so I've got other possible options.
Best wishes on your development of phpwebapp!
- Dan
The paths are not set properly on linux either.
after trying to follow the define("*_PATH,something) lines. I gave up.
What abot these paths? They don't work at all.
Could you please what is the logic behind them so that we could be able to fix them?
I've installed phpWebApp 1.1, it seems to work smootly, at least the tutorial applications and the empty-sample distribuited with the code.
I just unpacked the files in web home (not in the php installation path) and I had no problems with those paths: server is Apache 2.0.47 running on win2k SP4.
The only problem I had was related with the web browser not the application itself: IE 5.0 didn't execute correctly some javascript preventing phpWebApp to work. I fixed it switching to Mozilla.
For those using IIS: if you can have php working correctly on IIS, phpWebApp should work also cause it uses xml and php language only and then should be platform independent.