Beginner's problems in setting up localhost preview
Submitted by Sunday, 3 January, 2010 - 17:43
on
Beginner's problems:-
I have installed JEdit to experiment as a cross-platform editor for both *.php and *.lzx (XML format with *.dtd validation).
My OS is Windows Vista.
I guess that I need to setup several projects to test code on different localhost servers:
apache httpd on port 8080
apache tomcat on port 8090
caucho resin on port 8100
Installed plugins ..
PHP Parser
Project Viewer
SQL
XML
But I cannot get started with even the basics of setting JEdit to launch phpinfo.php in localhost mode. http://localhost:8080/test/phpinfo.php (this URL runs o.k. when manually pasted into any browser. I can also preview this same simple test file in editors other than Jedit.
The phpinfo.php test file is located in:
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\phpinfo.php
I created a simple test project "phpinfo" and in Project options I have
Project name: phpinfo
Root Directory: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs (note: excluded the \test\ folder)
Web root URL: http://localhost:8080/
But I cannot preview this phpinfo.php from Jedit to browser !
When I right click phpinfo.php in project phpinfo in Project Viewer and select "Preview in browser" I get a popup error message:-
Cannot run program "mozilla": CreateProcess error=2, The system cannot find the file specified. Please fix your external app configuration.
I have no external application associated with extension *.php.
Options: Plugins: Info Viewer: Choose Browser
external browser radio button selected.
but the command below reads ..
netscape -remote openURL($u) -raise
How do I set up an association with preview browser firefox.exe?
and how do I setup to switch preview between several different browsers?
firefox
Internet Explorer
Opera
etc.
Options: Plugins: Project Viewer: External Applications
what application(s) should I associate here with *.php (and other extensions)?
php.exe or php-win.exe or php-cgi.exe or firefox.exe .. or others?
If I associate *.php with another text editor that launches from Project Viewer.
Finally .. unrelated glitch. If I force shut down of JEdit using the [X] close top right toolbar button (which I should not use, I know) I see a very long (not wrapped) indecipherable error message in Jedit popup window ..
with separate Windows popup error message reading ..
"The color scheme has been changed to Windows Vista basic. A running program isn't compatible with certain visual elements of Windows".
This apparent incompatibility with Vista does not occur if I use the correct shutdown JEdit procedure of File > Exit. Not serious .. just annoying.
I have installed JEdit to experiment as a cross-platform editor for both *.php and *.lzx (XML format with *.dtd validation).
My OS is Windows Vista.
I guess that I need to setup several projects to test code on different localhost servers:
apache httpd on port 8080
apache tomcat on port 8090
caucho resin on port 8100
Installed plugins ..
PHP Parser
Project Viewer
SQL
XML
But I cannot get started with even the basics of setting JEdit to launch phpinfo.php in localhost mode. http://localhost:8080/test/phpinfo.php (this URL runs o.k. when manually pasted into any browser. I can also preview this same simple test file in editors other than Jedit.
The phpinfo.php test file is located in:
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test\phpinfo.php
I created a simple test project "phpinfo" and in Project options I have
Project name: phpinfo
Root Directory: C:\Program Files\Apache Software Foundation\Apache2.2\htdocs (note: excluded the \test\ folder)
Web root URL: http://localhost:8080/
But I cannot preview this phpinfo.php from Jedit to browser !
When I right click phpinfo.php in project phpinfo in Project Viewer and select "Preview in browser" I get a popup error message:-
Cannot run program "mozilla": CreateProcess error=2, The system cannot find the file specified. Please fix your external app configuration.
I have no external application associated with extension *.php.
Options: Plugins: Info Viewer: Choose Browser
external browser radio button selected.
but the command below reads ..
netscape -remote openURL($u) -raise
How do I set up an association with preview browser firefox.exe?
and how do I setup to switch preview between several different browsers?
firefox
Internet Explorer
Opera
etc.
Options: Plugins: Project Viewer: External Applications
what application(s) should I associate here with *.php (and other extensions)?
php.exe or php-win.exe or php-cgi.exe or firefox.exe .. or others?
If I associate *.php with another text editor that launches from Project Viewer.
Finally .. unrelated glitch. If I force shut down of JEdit using the [X] close top right toolbar button (which I should not use, I know) I see a very long (not wrapped) indecipherable error message in Jedit popup window ..
with separate Windows popup error message reading ..
"The color scheme has been changed to Windows Vista basic. A running program isn't compatible with certain visual elements of Windows".
This apparent incompatibility with Vista does not occur if I use the correct shutdown JEdit procedure of File > Exit. Not serious .. just annoying.