Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Website » Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing
Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17147] Mon, 12 June 2006 04:43 Go to next message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
I'm working on converting the PTP pages http://eclipse.org/ptp to Phoenix.

I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
all-in-one download), PHPEclipse, and XAMPP.
I configured PhpEclipse and XAMPP like the instructions said, more or
less (instructions were in a backlevel of some of the parts.)

While the editor does have nice colors of keywords etc.
I cannot get the PHP Browser to work.
I can start XAMPP with the button in the toolbar and it reports
### APACHE + MYSQL IS STARTING NOW ###

If I double-click on a php file I get it in the editor,
but the PHP Browser reports "Access Forbidden! You don't have
permission to access the requested object. It is either read-protected
or not readable by the server."

I've gotten a few pages done at http://eclipse.org/ptp/index2.php
by checking them in and testing there, but I'd prefer to remove
more bugs *before* checking them in.

What am I doing wrong?

Thanks.

....Beth
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17176 is a reply to message #17147] Mon, 12 June 2006 19:35 Go to previous messageGo to next message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 607343
Registered: July 2009
Senior Member
Beth, I don't use Xampp, so I'll try to help you with my eyes closed.

I believe your Apache DocumentRoot folder doesn't match the folder where
your project lies.

Apache maintains a file called "httpd.conf", but the DocumentRoot
setting may be a setting inside Xampp.

Can you look to see if you can find this DocumentRoot setting and/or the
httpd file?

Thanks


Beth Tibbitts wrote:
> I'm working on converting the PTP pages http://eclipse.org/ptp to Phoenix.
>
> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
> all-in-one download), PHPEclipse, and XAMPP.
> I configured PhpEclipse and XAMPP like the instructions said, more or
> less (instructions were in a backlevel of some of the parts.)
>
> While the editor does have nice colors of keywords etc.
> I cannot get the PHP Browser to work.
> I can start XAMPP with the button in the toolbar and it reports
> ### APACHE + MYSQL IS STARTING NOW ###
>
> If I double-click on a php file I get it in the editor,
> but the PHP Browser reports "Access Forbidden! You don't have
> permission to access the requested object. It is either read-protected
> or not readable by the server."
>
> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
> by checking them in and testing there, but I'd prefer to remove
> more bugs *before* checking them in.
>
> What am I doing wrong?
>
> Thanks.
>
> ...Beth
>

--

Eclipse WebMaster - webmaster@eclipse.org
Questions? Consult the WebMaster FAQ at
http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17204 is a reply to message #17176] Mon, 12 June 2006 20:04 Go to previous messageGo to next message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
I don't particularly care about xampp, i just want to be able to see the
php pages before i check them in, so if you don't use them, then maybe i
don't need to.
Yes I changed the apache doc root. The apache that got installed with
xamp. I probalby have ibm http server (aka apache) also installed on
this laptop. Would that make a difference?
Hmmm... my doc root points to my workspace. Maybe it needs to point
to the *project* folder in the workspace?

....Beth
Eclipse WebMaster (Denis Roy) wrote:
> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>
> I believe your Apache DocumentRoot folder doesn't match the folder where
> your project lies.
>
> Apache maintains a file called "httpd.conf", but the DocumentRoot
> setting may be a setting inside Xampp.
>
> Can you look to see if you can find this DocumentRoot setting and/or the
> httpd file?
>
> Thanks
>
>
> Beth Tibbitts wrote:
>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>> Phoenix.
>>
>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>> all-in-one download), PHPEclipse, and XAMPP.
>> I configured PhpEclipse and XAMPP like the instructions said, more or
>> less (instructions were in a backlevel of some of the parts.)
>>
>> While the editor does have nice colors of keywords etc.
>> I cannot get the PHP Browser to work.
>> I can start XAMPP with the button in the toolbar and it reports
>> ### APACHE + MYSQL IS STARTING NOW ###
>>
>> If I double-click on a php file I get it in the editor,
>> but the PHP Browser reports "Access Forbidden! You don't have
>> permission to access the requested object. It is either
>> read-protected or not readable by the server."
>>
>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>> by checking them in and testing there, but I'd prefer to remove
>> more bugs *before* checking them in.
>>
>> What am I doing wrong?
>>
>> Thanks.
>>
>> ...Beth
>>
>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17229 is a reply to message #17204] Mon, 12 June 2006 21:52 Go to previous messageGo to next message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
Well I changed httpd.conf to point to the project directory of my
eclipse project website files, but it still doesn't work.
If I click on a php file, it shows in the editor but in the PHP browser
I get "this page cannot be displayed."

If I click on the Xampp button it appears to start apache and mySQL.
http://localhost in a web browser gives me "access forbidden"
(as opposed to can't display page, so the web server is running)
as does double-clicking on a php file - what shows in the
PHP browser is also "access forbidden". PHP editor looks okay.
I get syntax highlighting, etc. which is helpful but i need rendering
to see if all those DIV tags etc. match up!

If I stop xampp (stops apache & MySql) and click on "start apache" only,
I get a popup "Apache has encountered an error and needs to close."

What *should* I do when bringing up a phoenix (php) website in eclipse?
Thanks!


Beth Tibbitts wrote:
> I don't particularly care about xampp, i just want to be able to see the
> php pages before i check them in, so if you don't use them, then maybe i
> don't need to.
> Yes I changed the apache doc root. The apache that got installed with
> xamp. I probalby have ibm http server (aka apache) also installed on
> this laptop. Would that make a difference?
> Hmmm... my doc root points to my workspace. Maybe it needs to point
> to the *project* folder in the workspace?
>
> ...Beth
> Eclipse WebMaster (Denis Roy) wrote:
>> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>>
>> I believe your Apache DocumentRoot folder doesn't match the folder
>> where your project lies.
>>
>> Apache maintains a file called "httpd.conf", but the DocumentRoot
>> setting may be a setting inside Xampp.
>>
>> Can you look to see if you can find this DocumentRoot setting and/or
>> the httpd file?
>>
>> Thanks
>>
>>
>> Beth Tibbitts wrote:
>>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>>> Phoenix.
>>>
>>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>>> all-in-one download), PHPEclipse, and XAMPP.
>>> I configured PhpEclipse and XAMPP like the instructions said, more or
>>> less (instructions were in a backlevel of some of the parts.)
>>>
>>> While the editor does have nice colors of keywords etc.
>>> I cannot get the PHP Browser to work.
>>> I can start XAMPP with the button in the toolbar and it reports
>>> ### APACHE + MYSQL IS STARTING NOW ###
>>>
>>> If I double-click on a php file I get it in the editor,
>>> but the PHP Browser reports "Access Forbidden! You don't have
>>> permission to access the requested object. It is either
>>> read-protected or not readable by the server."
>>>
>>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>>> by checking them in and testing there, but I'd prefer to remove
>>> more bugs *before* checking them in.
>>>
>>> What am I doing wrong?
>>>
>>> Thanks.
>>>
>>> ...Beth
>>>
>>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17257 is a reply to message #17229] Tue, 13 June 2006 08:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

Have you tested if your xampp installation actually works? Start your
xampp and point your browser at http://localhost/ it should display some
sort of welcome page. If it does not than your xampp is misconfigured.
Several issues could be the case:
1. Does document root point at the correct location
2. Does your xampp user have full access to that directory? If not then
you might get the access forbidden error.

What script is loaded when you start the phpeclipse browser? Maybe it's
mysql that gives you the error. What user are you using to access the db?

Hope that helps

Regards
Stefan

Beth Tibbitts wrote:
> Well I changed httpd.conf to point to the project directory of my
> eclipse project website files, but it still doesn't work.
> If I click on a php file, it shows in the editor but in the PHP browser
> I get "this page cannot be displayed."
>
> If I click on the Xampp button it appears to start apache and mySQL.
> http://localhost in a web browser gives me "access forbidden"
> (as opposed to can't display page, so the web server is running)
> as does double-clicking on a php file - what shows in the
> PHP browser is also "access forbidden". PHP editor looks okay.
> I get syntax highlighting, etc. which is helpful but i need rendering
> to see if all those DIV tags etc. match up!
>
> If I stop xampp (stops apache & MySql) and click on "start apache" only,
> I get a popup "Apache has encountered an error and needs to close."
>
> What *should* I do when bringing up a phoenix (php) website in eclipse?
> Thanks!
>
>
> Beth Tibbitts wrote:
>> I don't particularly care about xampp, i just want to be able to see
>> the php pages before i check them in, so if you don't use them, then
>> maybe i don't need to.
>> Yes I changed the apache doc root. The apache that got installed with
>> xamp. I probalby have ibm http server (aka apache) also installed on
>> this laptop. Would that make a difference?
>> Hmmm... my doc root points to my workspace. Maybe it needs to point
>> to the *project* folder in the workspace?
>>
>> ...Beth
>> Eclipse WebMaster (Denis Roy) wrote:
>>> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>>>
>>> I believe your Apache DocumentRoot folder doesn't match the folder
>>> where your project lies.
>>>
>>> Apache maintains a file called "httpd.conf", but the DocumentRoot
>>> setting may be a setting inside Xampp.
>>>
>>> Can you look to see if you can find this DocumentRoot setting and/or
>>> the httpd file?
>>>
>>> Thanks
>>>
>>>
>>> Beth Tibbitts wrote:
>>>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>>>> Phoenix.
>>>>
>>>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>>>> all-in-one download), PHPEclipse, and XAMPP.
>>>> I configured PhpEclipse and XAMPP like the instructions said, more
>>>> or less (instructions were in a backlevel of some of the parts.)
>>>>
>>>> While the editor does have nice colors of keywords etc.
>>>> I cannot get the PHP Browser to work.
>>>> I can start XAMPP with the button in the toolbar and it reports
>>>> ### APACHE + MYSQL IS STARTING NOW ###
>>>>
>>>> If I double-click on a php file I get it in the editor,
>>>> but the PHP Browser reports "Access Forbidden! You don't have
>>>> permission to access the requested object. It is either
>>>> read-protected or not readable by the server."
>>>>
>>>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>>>> by checking them in and testing there, but I'd prefer to remove
>>>> more bugs *before* checking them in.
>>>>
>>>> What am I doing wrong?
>>>>
>>>> Thanks.
>>>>
>>>> ...Beth
>>>>
>>>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17308 is a reply to message #17257] Tue, 13 June 2006 20:27 Go to previous messageGo to next message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
I start xampp from the button in the toolbar and it says
### APACHE + MYSQL IS STARTING NOW ###

http://localhost in Firefox says "Access forbidden!"

My apache (part of xampp) httpd.conf includes
DocumentRoot "c:/ews/phoenixPTP/ptp"
That is, indeed, my workspace and project folder location.

I don't have an index.php (not ready to check it in yet)
but am working with index2.php -- could that be it?
http://localhost/index2.php also gives "access forbidden"
(I added an index.php and this didn't help either)

>> 2. Does your xampp user have full access to that directory?
Full access? I'm the only user on this machine and i have full Admin rights.

> What script is loaded when you start the phpeclipse browser?
If I close the PHP Browser view and reopen it, nothing is loaded.
Is that what you are asking?

>Maybe it's mysql that gives you the error. What user are you using to
>access the db?
Just me, the only user.

PHPBrowser correctly shows e.g. http://eclipse.org

All the "external tools" preferences look like they point to the
files in my installation.

HEY, the preferences (PHPeclipse>Project Defaults) included a
DocumentRoot setting that differed from httpd.conf!
I fixed it and restarted xampp and still get access forbidden.
Restarted eclipse, restarted xampp and still get it.

Also, I don't have the include files from Denis' on the eclipse.org
phoenix website. do i need them?
The first line of php file includes

require_once($_SERVER['DOCUMENT_ROOT'] .
"/eclipse.org-common/system/app.class.php");
require_once($_SERVER['DOCUMENT_ROOT'] .
"/eclipse.org-common/system/nav.class.php");
require_once($_SERVER['DOCUMENT_ROOT'] .
"/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav =
new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); #
All on the same line to unclutter the user's desktop'

Thanks for any help!


Stefan Langer wrote:
> Have you tested if your xampp installation actually works? Start your
> xampp and point your browser at http://localhost/ it should display some
> sort of welcome page. If it does not than your xampp is misconfigured.
> Several issues could be the case:
> 1. Does document root point at the correct location
> 2. Does your xampp user have full access to that directory? If not then
> you might get the access forbidden error.
>
> What script is loaded when you start the phpeclipse browser? Maybe it's
> mysql that gives you the error. What user are you using to access the db?
>
> Hope that helps
>
> Regards
> Stefan
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17335 is a reply to message #17308] Wed, 14 June 2006 07:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

I'm assuming you are on a windows machine.
Try specifiing the document root without c:. For this to work apache
(XAMPP) must be installed on the same drive. Or try using backslash
instead of normal slash. It might be that the path is not correctly
interpreted.

For testing purposes it would be helpful to use the following index.php

<?php
phpinfo();
?>

This will simply print out information about your php installation. If
you see this page without any warnings then XAMPP is correctly setup.

Stefan

Beth Tibbitts wrote:
> I start xampp from the button in the toolbar and it says
> ### APACHE + MYSQL IS STARTING NOW ###
>
> http://localhost in Firefox says "Access forbidden!"
>
> My apache (part of xampp) httpd.conf includes
> DocumentRoot "c:/ews/phoenixPTP/ptp"
> That is, indeed, my workspace and project folder location.
>
> I don't have an index.php (not ready to check it in yet)
> but am working with index2.php -- could that be it?
> http://localhost/index2.php also gives "access forbidden"
> (I added an index.php and this didn't help either)
>
> >> 2. Does your xampp user have full access to that directory?
> Full access? I'm the only user on this machine and i have full Admin
> rights.
>
> > What script is loaded when you start the phpeclipse browser?
> If I close the PHP Browser view and reopen it, nothing is loaded.
> Is that what you are asking?
>
> >Maybe it's mysql that gives you the error. What user are you using to
> >access the db?
> Just me, the only user.
>
> PHPBrowser correctly shows e.g. http://eclipse.org
>
> All the "external tools" preferences look like they point to the
> files in my installation.
>
> HEY, the preferences (PHPeclipse>Project Defaults) included a
> DocumentRoot setting that differed from httpd.conf!
> I fixed it and restarted xampp and still get access forbidden.
> Restarted eclipse, restarted xampp and still get it.
>
> Also, I don't have the include files from Denis' on the eclipse.org
> phoenix website. do i need them?
> The first line of php file includes
>
> require_once($_SERVER['DOCUMENT_ROOT'] .
> "/eclipse.org-common/system/app.class.php");
> require_once($_SERVER['DOCUMENT_ROOT'] .
> "/eclipse.org-common/system/nav.class.php");
> require_once($_SERVER['DOCUMENT_ROOT'] .
> "/eclipse.org-common/system/menu.class.php"); $App = new
> App(); $Nav = new Nav(); $Menu = new Menu();
> include($App->getProjectCommon()); # All on the same line to
> unclutter the user's desktop'
>
> Thanks for any help!
>
>
> Stefan Langer wrote:
>> Have you tested if your xampp installation actually works? Start your
>> xampp and point your browser at http://localhost/ it should display
>> some sort of welcome page. If it does not than your xampp is
>> misconfigured. Several issues could be the case:
>> 1. Does document root point at the correct location
>> 2. Does your xampp user have full access to that directory? If not
>> then you might get the access forbidden error.
>>
>> What script is loaded when you start the phpeclipse browser? Maybe
>> it's mysql that gives you the error. What user are you using to access
>> the db?
>>
>> Hope that helps
>>
>> Regards
>> Stefan
>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17357 is a reply to message #17204] Wed, 14 June 2006 17:45 Go to previous messageGo to next message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 607343
Registered: July 2009
Senior Member
I'm thinking your IBM HTTP server is the one attempting to fetch pages
for http://localhost. The fact that Apache does not start correctly
(encountered an error) also indicated that port 80 is already being used.

At this point, you'd need to either remove the IBM http server so that
Xampp's Apache can start, or create an alias in IBM http server (/ptp/)
that points to your project workspace directory (c:/ews/phoenixPTP/ptp)
If IBM http server is based on apache, it should have an httpd.conf
file where you can add

Alias /ptp/ c:/ews/phoenixPTP/ptp

Denis


Beth Tibbitts wrote:
> I don't particularly care about xampp, i just want to be able to see the
> php pages before i check them in, so if you don't use them, then maybe i
> don't need to.
> Yes I changed the apache doc root. The apache that got installed with
> xamp. I probalby have ibm http server (aka apache) also installed on
> this laptop. Would that make a difference?
> Hmmm... my doc root points to my workspace. Maybe it needs to point
> to the *project* folder in the workspace?
>
> ...Beth
> Eclipse WebMaster (Denis Roy) wrote:
>> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>>
>> I believe your Apache DocumentRoot folder doesn't match the folder
>> where your project lies.
>>
>> Apache maintains a file called "httpd.conf", but the DocumentRoot
>> setting may be a setting inside Xampp.
>>
>> Can you look to see if you can find this DocumentRoot setting and/or
>> the httpd file?
>>
>> Thanks
>>
>>
>> Beth Tibbitts wrote:
>>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>>> Phoenix.
>>>
>>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>>> all-in-one download), PHPEclipse, and XAMPP.
>>> I configured PhpEclipse and XAMPP like the instructions said, more or
>>> less (instructions were in a backlevel of some of the parts.)
>>>
>>> While the editor does have nice colors of keywords etc.
>>> I cannot get the PHP Browser to work.
>>> I can start XAMPP with the button in the toolbar and it reports
>>> ### APACHE + MYSQL IS STARTING NOW ###
>>>
>>> If I double-click on a php file I get it in the editor,
>>> but the PHP Browser reports "Access Forbidden! You don't have
>>> permission to access the requested object. It is either
>>> read-protected or not readable by the server."
>>>
>>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>>> by checking them in and testing there, but I'd prefer to remove
>>> more bugs *before* checking them in.
>>>
>>> What am I doing wrong?
>>>
>>> Thanks.
>>>
>>> ...Beth
>>>
>>

--

Eclipse WebMaster - webmaster@eclipse.org
Questions? Consult the WebMaster FAQ at
http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17838 is a reply to message #17357] Thu, 15 June 2006 19:54 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse.bettsockentraeger.de

Another solution would be to let XAMPP listen on another port. This can
be configured somewhere in the http.conf file.

Eclipse WebMaster (Denis Roy) wrote:
> I'm thinking your IBM HTTP server is the one attempting to fetch pages
> for http://localhost. The fact that Apache does not start correctly
> (encountered an error) also indicated that port 80 is already being used.
>
> At this point, you'd need to either remove the IBM http server so that
> Xampp's Apache can start, or create an alias in IBM http server (/ptp/)
> that points to your project workspace directory (c:/ews/phoenixPTP/ptp)
> If IBM http server is based on apache, it should have an httpd.conf
> file where you can add
>
> Alias /ptp/ c:/ews/phoenixPTP/ptp
>
> Denis
>
>
> Beth Tibbitts wrote:
>> I don't particularly care about xampp, i just want to be able to see
>> the php pages before i check them in, so if you don't use them, then
>> maybe i don't need to.
>> Yes I changed the apache doc root. The apache that got installed with
>> xamp. I probalby have ibm http server (aka apache) also installed on
>> this laptop. Would that make a difference?
>> Hmmm... my doc root points to my workspace. Maybe it needs to point
>> to the *project* folder in the workspace?
>>
>> ...Beth
>> Eclipse WebMaster (Denis Roy) wrote:
>>> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>>>
>>> I believe your Apache DocumentRoot folder doesn't match the folder
>>> where your project lies.
>>>
>>> Apache maintains a file called "httpd.conf", but the DocumentRoot
>>> setting may be a setting inside Xampp.
>>>
>>> Can you look to see if you can find this DocumentRoot setting and/or
>>> the httpd file?
>>>
>>> Thanks
>>>
>>>
>>> Beth Tibbitts wrote:
>>>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>>>> Phoenix.
>>>>
>>>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>>>> all-in-one download), PHPEclipse, and XAMPP.
>>>> I configured PhpEclipse and XAMPP like the instructions said, more
>>>> or less (instructions were in a backlevel of some of the parts.)
>>>>
>>>> While the editor does have nice colors of keywords etc.
>>>> I cannot get the PHP Browser to work.
>>>> I can start XAMPP with the button in the toolbar and it reports
>>>> ### APACHE + MYSQL IS STARTING NOW ###
>>>>
>>>> If I double-click on a php file I get it in the editor,
>>>> but the PHP Browser reports "Access Forbidden! You don't have
>>>> permission to access the requested object. It is either
>>>> read-protected or not readable by the server."
>>>>
>>>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>>>> by checking them in and testing there, but I'd prefer to remove
>>>> more bugs *before* checking them in.
>>>>
>>>> What am I doing wrong?
>>>>
>>>> Thanks.
>>>>
>>>> ...Beth
>>>>
>>>
>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17845 is a reply to message #17147] Mon, 19 June 2006 20:13 Go to previous messageGo to next message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
To answer my own question:

The problem was that in the httpd.conf, there are TWO
places to change DocumentRoot.

This was documented:
DocumentRoot "c:/ews/phoenixPTP/ptp"
But this wasn't:
<Directory "c:/ews/phoenixPTP/ptp">

I know, I know, I should have read the comments in the httpd.conf :-)

The PhpBrowser now tries to do something.
Now I need to find those include files...
eclipse.org-common/system/app.class.php, etc...


....Beth
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #17883 is a reply to message #17845] Tue, 20 June 2006 19:38 Go to previous message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 607343
Registered: July 2009
Senior Member
Beth Tibbitts wrote:
> To answer my own question:
>
> The problem was that in the httpd.conf, there are TWO
> places to change DocumentRoot.
>
> This was documented:
> DocumentRoot "c:/ews/phoenixPTP/ptp"
> But this wasn't:
> <Directory "c:/ews/phoenixPTP/ptp">
>
> I know, I know, I should have read the comments in the httpd.conf :-)
>
> The PhpBrowser now tries to do something.
> Now I need to find those include files...
> eclipse.org-common/system/app.class.php, etc...

Easy! You can pull these from CVS:

:pserver:anonymous@dev.eclipse.org:/cvsroot/technology/

in org.eclipse.phoenix/eclipse.org-common


Denis


>
>
> ...Beth
>

--

Eclipse WebMaster - webmaster@eclipse.org
Questions? Consult the WebMaster FAQ at
http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569334 is a reply to message #17147] Mon, 12 June 2006 19:35 Go to previous message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 607343
Registered: July 2009
Senior Member
Beth, I don't use Xampp, so I'll try to help you with my eyes closed.

I believe your Apache DocumentRoot folder doesn't match the folder where
your project lies.

Apache maintains a file called "httpd.conf", but the DocumentRoot
setting may be a setting inside Xampp.

Can you look to see if you can find this DocumentRoot setting and/or the
httpd file?

Thanks


Beth Tibbitts wrote:
> I'm working on converting the PTP pages http://eclipse.org/ptp to Phoenix.
>
> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
> all-in-one download), PHPEclipse, and XAMPP.
> I configured PhpEclipse and XAMPP like the instructions said, more or
> less (instructions were in a backlevel of some of the parts.)
>
> While the editor does have nice colors of keywords etc.
> I cannot get the PHP Browser to work.
> I can start XAMPP with the button in the toolbar and it reports
> ### APACHE + MYSQL IS STARTING NOW ###
>
> If I double-click on a php file I get it in the editor,
> but the PHP Browser reports "Access Forbidden! You don't have
> permission to access the requested object. It is either read-protected
> or not readable by the server."
>
> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
> by checking them in and testing there, but I'd prefer to remove
> more bugs *before* checking them in.
>
> What am I doing wrong?
>
> Thanks.
>
> ...Beth
>

--

Eclipse WebMaster - webmaster@eclipse.org
Questions? Consult the WebMaster FAQ at
http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569357 is a reply to message #17176] Mon, 12 June 2006 20:04 Go to previous message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
I don't particularly care about xampp, i just want to be able to see the
php pages before i check them in, so if you don't use them, then maybe i
don't need to.
Yes I changed the apache doc root. The apache that got installed with
xamp. I probalby have ibm http server (aka apache) also installed on
this laptop. Would that make a difference?
Hmmm... my doc root points to my workspace. Maybe it needs to point
to the *project* folder in the workspace?

....Beth
Eclipse WebMaster (Denis Roy) wrote:
> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>
> I believe your Apache DocumentRoot folder doesn't match the folder where
> your project lies.
>
> Apache maintains a file called "httpd.conf", but the DocumentRoot
> setting may be a setting inside Xampp.
>
> Can you look to see if you can find this DocumentRoot setting and/or the
> httpd file?
>
> Thanks
>
>
> Beth Tibbitts wrote:
>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>> Phoenix.
>>
>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>> all-in-one download), PHPEclipse, and XAMPP.
>> I configured PhpEclipse and XAMPP like the instructions said, more or
>> less (instructions were in a backlevel of some of the parts.)
>>
>> While the editor does have nice colors of keywords etc.
>> I cannot get the PHP Browser to work.
>> I can start XAMPP with the button in the toolbar and it reports
>> ### APACHE + MYSQL IS STARTING NOW ###
>>
>> If I double-click on a php file I get it in the editor,
>> but the PHP Browser reports "Access Forbidden! You don't have
>> permission to access the requested object. It is either
>> read-protected or not readable by the server."
>>
>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>> by checking them in and testing there, but I'd prefer to remove
>> more bugs *before* checking them in.
>>
>> What am I doing wrong?
>>
>> Thanks.
>>
>> ...Beth
>>
>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569373 is a reply to message #17204] Mon, 12 June 2006 21:52 Go to previous message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
Well I changed httpd.conf to point to the project directory of my
eclipse project website files, but it still doesn't work.
If I click on a php file, it shows in the editor but in the PHP browser
I get "this page cannot be displayed."

If I click on the Xampp button it appears to start apache and mySQL.
http://localhost in a web browser gives me "access forbidden"
(as opposed to can't display page, so the web server is running)
as does double-clicking on a php file - what shows in the
PHP browser is also "access forbidden". PHP editor looks okay.
I get syntax highlighting, etc. which is helpful but i need rendering
to see if all those DIV tags etc. match up!

If I stop xampp (stops apache & MySql) and click on "start apache" only,
I get a popup "Apache has encountered an error and needs to close."

What *should* I do when bringing up a phoenix (php) website in eclipse?
Thanks!


Beth Tibbitts wrote:
> I don't particularly care about xampp, i just want to be able to see the
> php pages before i check them in, so if you don't use them, then maybe i
> don't need to.
> Yes I changed the apache doc root. The apache that got installed with
> xamp. I probalby have ibm http server (aka apache) also installed on
> this laptop. Would that make a difference?
> Hmmm... my doc root points to my workspace. Maybe it needs to point
> to the *project* folder in the workspace?
>
> ...Beth
> Eclipse WebMaster (Denis Roy) wrote:
>> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>>
>> I believe your Apache DocumentRoot folder doesn't match the folder
>> where your project lies.
>>
>> Apache maintains a file called "httpd.conf", but the DocumentRoot
>> setting may be a setting inside Xampp.
>>
>> Can you look to see if you can find this DocumentRoot setting and/or
>> the httpd file?
>>
>> Thanks
>>
>>
>> Beth Tibbitts wrote:
>>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>>> Phoenix.
>>>
>>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>>> all-in-one download), PHPEclipse, and XAMPP.
>>> I configured PhpEclipse and XAMPP like the instructions said, more or
>>> less (instructions were in a backlevel of some of the parts.)
>>>
>>> While the editor does have nice colors of keywords etc.
>>> I cannot get the PHP Browser to work.
>>> I can start XAMPP with the button in the toolbar and it reports
>>> ### APACHE + MYSQL IS STARTING NOW ###
>>>
>>> If I double-click on a php file I get it in the editor,
>>> but the PHP Browser reports "Access Forbidden! You don't have
>>> permission to access the requested object. It is either
>>> read-protected or not readable by the server."
>>>
>>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>>> by checking them in and testing there, but I'd prefer to remove
>>> more bugs *before* checking them in.
>>>
>>> What am I doing wrong?
>>>
>>> Thanks.
>>>
>>> ...Beth
>>>
>>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569427 is a reply to message #17229] Tue, 13 June 2006 08:03 Go to previous message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
Have you tested if your xampp installation actually works? Start your
xampp and point your browser at http://localhost/ it should display some
sort of welcome page. If it does not than your xampp is misconfigured.
Several issues could be the case:
1. Does document root point at the correct location
2. Does your xampp user have full access to that directory? If not then
you might get the access forbidden error.

What script is loaded when you start the phpeclipse browser? Maybe it's
mysql that gives you the error. What user are you using to access the db?

Hope that helps

Regards
Stefan

Beth Tibbitts wrote:
> Well I changed httpd.conf to point to the project directory of my
> eclipse project website files, but it still doesn't work.
> If I click on a php file, it shows in the editor but in the PHP browser
> I get "this page cannot be displayed."
>
> If I click on the Xampp button it appears to start apache and mySQL.
> http://localhost in a web browser gives me "access forbidden"
> (as opposed to can't display page, so the web server is running)
> as does double-clicking on a php file - what shows in the
> PHP browser is also "access forbidden". PHP editor looks okay.
> I get syntax highlighting, etc. which is helpful but i need rendering
> to see if all those DIV tags etc. match up!
>
> If I stop xampp (stops apache & MySql) and click on "start apache" only,
> I get a popup "Apache has encountered an error and needs to close."
>
> What *should* I do when bringing up a phoenix (php) website in eclipse?
> Thanks!
>
>
> Beth Tibbitts wrote:
>> I don't particularly care about xampp, i just want to be able to see
>> the php pages before i check them in, so if you don't use them, then
>> maybe i don't need to.
>> Yes I changed the apache doc root. The apache that got installed with
>> xamp. I probalby have ibm http server (aka apache) also installed on
>> this laptop. Would that make a difference?
>> Hmmm... my doc root points to my workspace. Maybe it needs to point
>> to the *project* folder in the workspace?
>>
>> ...Beth
>> Eclipse WebMaster (Denis Roy) wrote:
>>> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>>>
>>> I believe your Apache DocumentRoot folder doesn't match the folder
>>> where your project lies.
>>>
>>> Apache maintains a file called "httpd.conf", but the DocumentRoot
>>> setting may be a setting inside Xampp.
>>>
>>> Can you look to see if you can find this DocumentRoot setting and/or
>>> the httpd file?
>>>
>>> Thanks
>>>
>>>
>>> Beth Tibbitts wrote:
>>>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>>>> Phoenix.
>>>>
>>>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>>>> all-in-one download), PHPEclipse, and XAMPP.
>>>> I configured PhpEclipse and XAMPP like the instructions said, more
>>>> or less (instructions were in a backlevel of some of the parts.)
>>>>
>>>> While the editor does have nice colors of keywords etc.
>>>> I cannot get the PHP Browser to work.
>>>> I can start XAMPP with the button in the toolbar and it reports
>>>> ### APACHE + MYSQL IS STARTING NOW ###
>>>>
>>>> If I double-click on a php file I get it in the editor,
>>>> but the PHP Browser reports "Access Forbidden! You don't have
>>>> permission to access the requested object. It is either
>>>> read-protected or not readable by the server."
>>>>
>>>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>>>> by checking them in and testing there, but I'd prefer to remove
>>>> more bugs *before* checking them in.
>>>>
>>>> What am I doing wrong?
>>>>
>>>> Thanks.
>>>>
>>>> ...Beth
>>>>
>>>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569476 is a reply to message #17257] Tue, 13 June 2006 20:27 Go to previous message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
I start xampp from the button in the toolbar and it says
### APACHE + MYSQL IS STARTING NOW ###

http://localhost in Firefox says "Access forbidden!"

My apache (part of xampp) httpd.conf includes
DocumentRoot "c:/ews/phoenixPTP/ptp"
That is, indeed, my workspace and project folder location.

I don't have an index.php (not ready to check it in yet)
but am working with index2.php -- could that be it?
http://localhost/index2.php also gives "access forbidden"
(I added an index.php and this didn't help either)

>> 2. Does your xampp user have full access to that directory?
Full access? I'm the only user on this machine and i have full Admin rights.

> What script is loaded when you start the phpeclipse browser?
If I close the PHP Browser view and reopen it, nothing is loaded.
Is that what you are asking?

>Maybe it's mysql that gives you the error. What user are you using to
>access the db?
Just me, the only user.

PHPBrowser correctly shows e.g. http://eclipse.org

All the "external tools" preferences look like they point to the
files in my installation.

HEY, the preferences (PHPeclipse>Project Defaults) included a
DocumentRoot setting that differed from httpd.conf!
I fixed it and restarted xampp and still get access forbidden.
Restarted eclipse, restarted xampp and still get it.

Also, I don't have the include files from Denis' on the eclipse.org
phoenix website. do i need them?
The first line of php file includes

require_once($_SERVER['DOCUMENT_ROOT'] .
"/eclipse.org-common/system/app.class.php");
require_once($_SERVER['DOCUMENT_ROOT'] .
"/eclipse.org-common/system/nav.class.php");
require_once($_SERVER['DOCUMENT_ROOT'] .
"/eclipse.org-common/system/menu.class.php"); $App = new App(); $Nav =
new Nav(); $Menu = new Menu(); include($App->getProjectCommon()); #
All on the same line to unclutter the user's desktop'

Thanks for any help!


Stefan Langer wrote:
> Have you tested if your xampp installation actually works? Start your
> xampp and point your browser at http://localhost/ it should display some
> sort of welcome page. If it does not than your xampp is misconfigured.
> Several issues could be the case:
> 1. Does document root point at the correct location
> 2. Does your xampp user have full access to that directory? If not then
> you might get the access forbidden error.
>
> What script is loaded when you start the phpeclipse browser? Maybe it's
> mysql that gives you the error. What user are you using to access the db?
>
> Hope that helps
>
> Regards
> Stefan
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569528 is a reply to message #17308] Wed, 14 June 2006 07:51 Go to previous message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
I'm assuming you are on a windows machine.
Try specifiing the document root without c:. For this to work apache
(XAMPP) must be installed on the same drive. Or try using backslash
instead of normal slash. It might be that the path is not correctly
interpreted.

For testing purposes it would be helpful to use the following index.php

<?php
phpinfo();
?>

This will simply print out information about your php installation. If
you see this page without any warnings then XAMPP is correctly setup.

Stefan

Beth Tibbitts wrote:
> I start xampp from the button in the toolbar and it says
> ### APACHE + MYSQL IS STARTING NOW ###
>
> http://localhost in Firefox says "Access forbidden!"
>
> My apache (part of xampp) httpd.conf includes
> DocumentRoot "c:/ews/phoenixPTP/ptp"
> That is, indeed, my workspace and project folder location.
>
> I don't have an index.php (not ready to check it in yet)
> but am working with index2.php -- could that be it?
> http://localhost/index2.php also gives "access forbidden"
> (I added an index.php and this didn't help either)
>
> >> 2. Does your xampp user have full access to that directory?
> Full access? I'm the only user on this machine and i have full Admin
> rights.
>
> > What script is loaded when you start the phpeclipse browser?
> If I close the PHP Browser view and reopen it, nothing is loaded.
> Is that what you are asking?
>
> >Maybe it's mysql that gives you the error. What user are you using to
> >access the db?
> Just me, the only user.
>
> PHPBrowser correctly shows e.g. http://eclipse.org
>
> All the "external tools" preferences look like they point to the
> files in my installation.
>
> HEY, the preferences (PHPeclipse>Project Defaults) included a
> DocumentRoot setting that differed from httpd.conf!
> I fixed it and restarted xampp and still get access forbidden.
> Restarted eclipse, restarted xampp and still get it.
>
> Also, I don't have the include files from Denis' on the eclipse.org
> phoenix website. do i need them?
> The first line of php file includes
>
> require_once($_SERVER['DOCUMENT_ROOT'] .
> "/eclipse.org-common/system/app.class.php");
> require_once($_SERVER['DOCUMENT_ROOT'] .
> "/eclipse.org-common/system/nav.class.php");
> require_once($_SERVER['DOCUMENT_ROOT'] .
> "/eclipse.org-common/system/menu.class.php"); $App = new
> App(); $Nav = new Nav(); $Menu = new Menu();
> include($App->getProjectCommon()); # All on the same line to
> unclutter the user's desktop'
>
> Thanks for any help!
>
>
> Stefan Langer wrote:
>> Have you tested if your xampp installation actually works? Start your
>> xampp and point your browser at http://localhost/ it should display
>> some sort of welcome page. If it does not than your xampp is
>> misconfigured. Several issues could be the case:
>> 1. Does document root point at the correct location
>> 2. Does your xampp user have full access to that directory? If not
>> then you might get the access forbidden error.
>>
>> What script is loaded when you start the phpeclipse browser? Maybe
>> it's mysql that gives you the error. What user are you using to access
>> the db?
>>
>> Hope that helps
>>
>> Regards
>> Stefan
>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569548 is a reply to message #17204] Wed, 14 June 2006 17:45 Go to previous message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 607343
Registered: July 2009
Senior Member
I'm thinking your IBM HTTP server is the one attempting to fetch pages
for http://localhost The fact that Apache does not start correctly
(encountered an error) also indicated that port 80 is already being used.

At this point, you'd need to either remove the IBM http server so that
Xampp's Apache can start, or create an alias in IBM http server (/ptp/)
that points to your project workspace directory (c:/ews/phoenixPTP/ptp)
If IBM http server is based on apache, it should have an httpd.conf
file where you can add

Alias /ptp/ c:/ews/phoenixPTP/ptp

Denis


Beth Tibbitts wrote:
> I don't particularly care about xampp, i just want to be able to see the
> php pages before i check them in, so if you don't use them, then maybe i
> don't need to.
> Yes I changed the apache doc root. The apache that got installed with
> xamp. I probalby have ibm http server (aka apache) also installed on
> this laptop. Would that make a difference?
> Hmmm... my doc root points to my workspace. Maybe it needs to point
> to the *project* folder in the workspace?
>
> ...Beth
> Eclipse WebMaster (Denis Roy) wrote:
>> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>>
>> I believe your Apache DocumentRoot folder doesn't match the folder
>> where your project lies.
>>
>> Apache maintains a file called "httpd.conf", but the DocumentRoot
>> setting may be a setting inside Xampp.
>>
>> Can you look to see if you can find this DocumentRoot setting and/or
>> the httpd file?
>>
>> Thanks
>>
>>
>> Beth Tibbitts wrote:
>>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>>> Phoenix.
>>>
>>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>>> all-in-one download), PHPEclipse, and XAMPP.
>>> I configured PhpEclipse and XAMPP like the instructions said, more or
>>> less (instructions were in a backlevel of some of the parts.)
>>>
>>> While the editor does have nice colors of keywords etc.
>>> I cannot get the PHP Browser to work.
>>> I can start XAMPP with the button in the toolbar and it reports
>>> ### APACHE + MYSQL IS STARTING NOW ###
>>>
>>> If I double-click on a php file I get it in the editor,
>>> but the PHP Browser reports "Access Forbidden! You don't have
>>> permission to access the requested object. It is either
>>> read-protected or not readable by the server."
>>>
>>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>>> by checking them in and testing there, but I'd prefer to remove
>>> more bugs *before* checking them in.
>>>
>>> What am I doing wrong?
>>>
>>> Thanks.
>>>
>>> ...Beth
>>>
>>

--

Eclipse WebMaster - webmaster@eclipse.org
Questions? Consult the WebMaster FAQ at
http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569612 is a reply to message #17357] Thu, 15 June 2006 19:54 Go to previous message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
Another solution would be to let XAMPP listen on another port. This can
be configured somewhere in the http.conf file.

Eclipse WebMaster (Denis Roy) wrote:
> I'm thinking your IBM HTTP server is the one attempting to fetch pages
> for http://localhost The fact that Apache does not start correctly
> (encountered an error) also indicated that port 80 is already being used.
>
> At this point, you'd need to either remove the IBM http server so that
> Xampp's Apache can start, or create an alias in IBM http server (/ptp/)
> that points to your project workspace directory (c:/ews/phoenixPTP/ptp)
> If IBM http server is based on apache, it should have an httpd.conf
> file where you can add
>
> Alias /ptp/ c:/ews/phoenixPTP/ptp
>
> Denis
>
>
> Beth Tibbitts wrote:
>> I don't particularly care about xampp, i just want to be able to see
>> the php pages before i check them in, so if you don't use them, then
>> maybe i don't need to.
>> Yes I changed the apache doc root. The apache that got installed with
>> xamp. I probalby have ibm http server (aka apache) also installed on
>> this laptop. Would that make a difference?
>> Hmmm... my doc root points to my workspace. Maybe it needs to point
>> to the *project* folder in the workspace?
>>
>> ...Beth
>> Eclipse WebMaster (Denis Roy) wrote:
>>> Beth, I don't use Xampp, so I'll try to help you with my eyes closed.
>>>
>>> I believe your Apache DocumentRoot folder doesn't match the folder
>>> where your project lies.
>>>
>>> Apache maintains a file called "httpd.conf", but the DocumentRoot
>>> setting may be a setting inside Xampp.
>>>
>>> Can you look to see if you can find this DocumentRoot setting and/or
>>> the httpd file?
>>>
>>> Thanks
>>>
>>>
>>> Beth Tibbitts wrote:
>>>> I'm working on converting the PTP pages http://eclipse.org/ptp to
>>>> Phoenix.
>>>>
>>>> I downloaded Eclipse 3.1.2, WTP and its prereqs (the convenient
>>>> all-in-one download), PHPEclipse, and XAMPP.
>>>> I configured PhpEclipse and XAMPP like the instructions said, more
>>>> or less (instructions were in a backlevel of some of the parts.)
>>>>
>>>> While the editor does have nice colors of keywords etc.
>>>> I cannot get the PHP Browser to work.
>>>> I can start XAMPP with the button in the toolbar and it reports
>>>> ### APACHE + MYSQL IS STARTING NOW ###
>>>>
>>>> If I double-click on a php file I get it in the editor,
>>>> but the PHP Browser reports "Access Forbidden! You don't have
>>>> permission to access the requested object. It is either
>>>> read-protected or not readable by the server."
>>>>
>>>> I've gotten a few pages done at http://eclipse.org/ptp/index2.php
>>>> by checking them in and testing there, but I'd prefer to remove
>>>> more bugs *before* checking them in.
>>>>
>>>> What am I doing wrong?
>>>>
>>>> Thanks.
>>>>
>>>> ...Beth
>>>>
>>>
>
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569625 is a reply to message #17147] Mon, 19 June 2006 20:13 Go to previous message
Beth Tibbitts is currently offline Beth TibbittsFriend
Messages: 231
Registered: July 2009
Senior Member
To answer my own question:

The problem was that in the httpd.conf, there are TWO
places to change DocumentRoot.

This was documented:
DocumentRoot "c:/ews/phoenixPTP/ptp"
But this wasn't:
<Directory "c:/ews/phoenixPTP/ptp">

I know, I know, I should have read the comments in the httpd.conf :-)

The PhpBrowser now tries to do something.
Now I need to find those include files...
eclipse.org-common/system/app.class.php, etc...


....Beth
Re: Unable to get WTP/PHPEclipse/XAMPP to work for Phoenix pages testing [message #569709 is a reply to message #17845] Tue, 20 June 2006 19:38 Go to previous message
Eclipse Webmaster is currently offline Eclipse WebmasterFriend
Messages: 607343
Registered: July 2009
Senior Member
Beth Tibbitts wrote:
> To answer my own question:
>
> The problem was that in the httpd.conf, there are TWO
> places to change DocumentRoot.
>
> This was documented:
> DocumentRoot "c:/ews/phoenixPTP/ptp"
> But this wasn't:
> <Directory "c:/ews/phoenixPTP/ptp">
>
> I know, I know, I should have read the comments in the httpd.conf :-)
>
> The PhpBrowser now tries to do something.
> Now I need to find those include files...
> eclipse.org-common/system/app.class.php, etc...

Easy! You can pull these from CVS:

:pserver:anonymous@dev.eclipse.org:/cvsroot/technology/

in org.eclipse.phoenix/eclipse.org-common


Denis


>
>
> ...Beth
>

--

Eclipse WebMaster - webmaster@eclipse.org
Questions? Consult the WebMaster FAQ at
http://wiki.eclipse.org/index.php/Webmaster_FAQ
View my status at http://wiki.eclipse.org/index.php/WebMaster
Previous Topic:Nav bars in subdirectories
Next Topic:top Navbar tabs
Goto Forum:
  


Current Time: Fri Apr 19 14:22:41 GMT 2024

Powered by FUDForum. Page generated in 0.02388 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top