FeaturesPluginsDocs & SupportCommunityPartners

NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Cannot create PHP project
Goto page 1, 2  Next
 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
pzbrawl



Joined: 22 Jun 2009
Posts: 11

PostPosted: Mon Jun 22, 2009 5:21 am    Post subject: Cannot create PHP project Reply with quote

NetBeans is installed under WinXP SP2 on one machine on my LAN. As it happens, this machine runs IIS, not Apache. Apache runs on another machine (named dellpb) on my LAN. I would like to test NetBeans on an existing PHP project, which lives (and is maintained in an existing PHP IDE) on dellpb and runs from there.

I run NetBeans, create a PHP project, choosing the "PHP Application with Existing Sources" (sic) option. NetBeans asks me for the Sources folder. I enter it. It also wants the URL of the project. That is not http:/localhost/etc, but rather http://dellpb/projectfoldername. NetBeans does not accept this. The 'Next' button remains greyed out.

It appears NetBeans has defeated me before I start. Can it be true that any browser running on any machine on my LAN can run any webapp running under Apache on dellpb, but NetBeans refuses? Must NetBeans be installed on each machine where I have webapps running under Apache!? What have I missed?
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Mon Jun 22, 2009 10:43 am    Post subject: Cannot create PHP project Reply with quote

Hi,

Dne pondělí 22 června 2009 07:21:46 pzbrawl napsal(a):
Quote:
I run NetBeans, create a PHP project, choosing the "PHP Application with
Existing Sources" (sic) option. NetBeans asks me for the Sources folder. I
enter it. It also wants the URL of the project. That is not
http:/localhost/etc, but rather http://dellpb/projectfoldername. NetBeans
does not accept this. The 'Next' button remains greyed out.

I tried it and the error message seems to be clear to me:
Project URL has to end with "/" (must be a directory).
So just add "/" and you are done.

Quote:
It appears NetBeans has defeated me before I start. Can it be true that any
browser running on any machine on my LAN can run any webapp running under
Apache on dellpb, but NetBeans refuses? Must NetBeans be installed on each
machine where I have webapps running under Apache!? What have I missed?

Answered above.

HTH,
Tomas
--
Tomas Mysik
address-removed
Back to top
pzbrawl



Joined: 22 Jun 2009
Posts: 11

PostPosted: Mon Jun 22, 2009 1:51 pm    Post subject: Reply with quote

The entered path already does end with '/'.

It does not work.
Back to top
View user's profile Send private message
Eugene Morgan
Posted via mailing list.





PostPosted: Mon Jun 22, 2009 2:02 pm    Post subject: Cannot create PHP project Reply with quote

Are you sure? The project URL you provided --
Back to top
pzbrawl



Joined: 22 Jun 2009
Posts: 11

PostPosted: Mon Jun 22, 2009 2:29 pm    Post subject: Reply with quote

?! Of course I am sure. I am looking right at it.

NetBeans simply does not accept http://dellpb/pathtosourcedir/

Is there a solution, or is this limitation hardcoded into NetBeans?
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Mon Jun 22, 2009 3:15 pm    Post subject: Cannot create PHP project Reply with quote

Hi,

Dne pondělí 22 června 2009 15:51:57 pzbrawl napsal(a):
Quote:
The entered path already does end with '/'.
It does not work.

in such case, please, file an issue [1] against PHP, subcomponent project.
Provide your NB version, JDK version and exact steps to reproduce.

Thanks a lot,
Tomas
[1] http://www.netbeans.org/community/issues
--
Tomas Mysik
address-removed
Back to top
pzbrawl



Joined: 22 Jun 2009
Posts: 11

PostPosted: Mon Jun 22, 2009 4:01 pm    Post subject: Reply with quote

It's not promising that an issue stopped me in my tracks before I could get started.

It's less promising that registration for reporting issues does not overlap with registration for the forums.

It's less promising still to find, as I just did, that registration for reporting issues is also broken.
Back to top
View user's profile Send private message
Filip Zamboj
Posted via mailing list.





PostPosted: Mon Jun 22, 2009 4:15 pm    Post subject: Cannot create PHP project Reply with quote

pzbrawl wrote:
Quote:
It's not promising that an issue stopped me in my tracks before I could get started.


I can't reproduce neither on Linux nor XP
Quote:

It's less promising that registration for reporting issues does not overlap with registration for the forums

It's less promising still to find, as I just did, that registration for reporting issues is also broken.

this works for me. What was the output after you submitted? I'd forward
it further. Anyway, try again, maybe work this time.
Quote:









Back to top
pzbrawl



Joined: 22 Jun 2009
Posts: 11

PostPosted: Mon Jun 22, 2009 4:35 pm    Post subject: Reply with quote

The registration page said it would send a password. I received an email saying password instructions "will be sent in a separate email".

That was an hour ago. No such password instruction email has arrived.

Trying to post the registration issue using the website link to the webmaster elicited "Error in param, write webmaster".

On this evidence, NetBeans 6.5.1 is nowhere near ready for release.
Back to top
View user's profile Send private message
pzbrawl



Joined: 22 Jun 2009
Posts: 11

PostPosted: Mon Jun 22, 2009 8:49 pm    Post subject: Reply with quote

Postscript, 7 hrs later:

No password for the issues page has arrived, nor did I get a reply from the webmaster.
Back to top
View user's profile Send private message
Tomas Mysik
Posted via mailing list.





PostPosted: Tue Jun 23, 2009 8:07 am    Post subject: Cannot create PHP project Reply with quote

Hi,

Dne pondělí 22 června 2009 16:29:22 pzbrawl napsal(a):
Quote:
NetBeans simply does not accept http://dellpb/pathtosourcedir/

this URL works for me in the latest stable version of NetBeans. Please, file an
issue.

Product Version: NetBeans IDE 6.7 (Build 200906212001)
Java: 1.6.0_13; Java HotSpot(TM) 64-Bit Server VM 11.3-b02
System: Linux version 2.6.28-13-generic running on amd64; UTF-8; cs_CZ (nb)

Thanks,
Tomas
--
Tomas Mysik
address-removed
Back to top
Filip Zamboj
Posted via mailing list.





PostPosted: Tue Jun 23, 2009 12:39 pm    Post subject: Cannot create PHP project Reply with quote

Well,

sorry if there is some problem with issuezilla registration.

Anyway, you still claim having troubles with the path you need for your
project. Can you determine where the problem occurs? If you write just

http://dellpb/ does it work? If you change the folder for the project, does it work then? It's actually very weird so hard to find source of the problem SadSad.

Thanks a lot!

-------------
Filip Zamboj
Sun Microsystems

http://www.netbeans.org/community/issues.html
http://qa.netbeans.org



pzbrawl wrote:
Quote:
Postscript, 7 hrs later:



No password for the issues page has arrived, nor did I get a reply from the webmaster.










Back to top
pzbrawl



Joined: 22 Jun 2009
Posts: 11

PostPosted: Tue Jun 23, 2009 5:11 pm    Post subject: Reply with quote

> sorry if there is some problem with issuezilla registration.

Twenty-four hours have passed. No password has arrived.

>Anyway, you still claim having troubles with the path you need for your
project.

"Claim"!?

> Can you determine where the problem occurs?

?!? It occurs in the NetBeans UI, as described.

> If you write just http://dellpb/ does it work?

It does not. (That points NetBeans to the apache/htdocs folder on that machine. The files are not in htdocs. The files are in a _subfolder_ of htdocs.)

The problematic NetBeans input control is the one labelled "Project URL". If I put the correct URL there, http://dellpb/FullPathToStartingFile, NetBeans complains "Index File must be specified". According to that message, NetBeans insists on an index.php in the target folder. So I write an index.php into that folder for NetBeans, with a header() call to the PHP file which loads the project. NetBeans does not accept that either.

Apparently the problem is that NetBeans accepts only three project possibilities: localhost, a remote project managed via FTP, or command line script. This project, however, is none of those. It lives on another machine on the LAN (the name of the machine being dellpb). Every browser on every machine on the LAN can run that project. NetBeans, running from another machine, cannot.

>If you change the folder for the project, does it work then?

I want to know if NetBeans can work as an IDE for an existing, working PHP webapp without having to move the webapp.

>It's actually very weird so hard to find source of the problem

Rubbish. This is not a hard problem to replicate. Find a machine on a LAN running IIS. Install NetBeans 6.5.1. Run NetBeans and create a new PHP project for existing PHP files on another LAN machine where Apache serves up the PHP files.
Back to top
View user's profile Send private message
pzbrawl



Joined: 22 Jun 2009
Posts: 11

PostPosted: Tue Jun 23, 2009 5:17 pm    Post subject: Reply with quote

I ought to have added: not only can every web browser on every LAN machine run the webapp I am trying to reach via NetBeans, but every PHP IDE on every machine on the LAN, whether it runs under Linux or Windows, can access and manage this PHP project which NetBeans cannot decipher.
Back to top
View user's profile Send private message
pzbrawl



Joined: 22 Jun 2009
Posts: 11

PostPosted: Mon Jun 29, 2009 4:08 pm    Post subject: Reply with quote

No solutions to this problem, apparently. I reported it an a NetBeans issue, but there has been no action on that front either.

I would have thought that ability to manage a project that lives on a LAN machine other than the one where NetBeans is installed is basic. Before I take the time to download, install and try NetBeans 6.7, I'd very much like to hear from anyone who has managed to get it to open an existing PHP project running under Apache 2.2 on another machine on the LAN.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB