| View previous topic :: View next topic |
| Author |
Message |
Sonkan
Joined: 23 Jul 2009 Posts: 4
|
Posted: Thu Jul 23, 2009 6:44 pm Post subject: Cant debugg. N00b Warning |
|
|
Hello, iv just downloaded and installed netbeans sucsessfully. iv installed the plugin for php and i have a wamp server up.
The problem is... I cant debugg my php scripts.
Every time i try to debugg a page comes up saying
"Not Found
The requested URL /PHP/ was not found on this server."
Iv tried to establish a connection to my wamp server but as i am a server noob i cant get it to work.
Can i please get some help with this matter or mabey some one can tell me how to debugg without a server to connect to. |
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Fri Jul 24, 2009 8:55 am Post subject: Cant debugg. N00b Warning |
|
|
Hi,
Dne čtvrtek 23 července 2009 20:44:39 Sonkan napsal(a):
| Quote: | "Not Found
The requested URL /PHP/ was not found on this server."
|
apparently incorrect URL - verify it in Project Properties dialog (right click
on your project in Projects view > Properties).
HTH,
Tomas
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
avastreg
Joined: 23 Mar 2009 Posts: 10
|
|
| Back to top |
|
 |
Sonkan
Joined: 23 Jul 2009 Posts: 4
|
Posted: Fri Jul 24, 2009 3:40 pm Post subject: |
|
|
Thanks guys, BUT the problem remains.
First, do i need a server atall to debug php... if not please link me.
Second. the project url is http://localhost/PHP/ and its not right. how do create a usable url? I have WAMP on win xp.
-------------------------
Ok, iv done to about
**open localhost (or WAMP server default page) and check if xdebug is between Loaded Extensions**
at
http://wiki.netbeans.org/HowToConfigureXDebug#section-HowToConfigureXDebug-HowToConfigureXdebugOnWAMP
And when im trying to acsess that site all that happends is a page saying "It Works!". Now i cant acsess any other page either....
and i get a error dialog saying "This program could not be started becous php_mbstring.dll was not found." asking me to re-install the entier program...
--------- |
|
| Back to top |
|
 |
avastreg
Joined: 23 Mar 2009 Posts: 10
|
Posted: Mon Jul 27, 2009 7:42 am Post subject: |
|
|
I usually work with LAMP environment, so my answers maybe are not entirely correct.
| Sonkan wrote: |
Thanks guys, BUT the problem remains.
First, do i need a server atall to debug php... if not please link me.
|
Yes, as far as I know, you need a server; if you have server on the same machine you develop, it's easier to setup.
| Sonkan wrote: |
Second. the project url is http://localhost/PHP/ and its not right. how do create a usable url? I have WAMP on win xp.
|
Ok you need to check what is the document root directory pointed to apache on wamp. Let's step at you next question because it's related to this.
| Sonkan wrote: |
And when im trying to acsess that site all that happends is a page saying "It Works!". Now i cant acsess any other page either....
|
That Html page is in the htdocs of apache. Check at the folder where apache is installed and then find a subdir called htdocs. You can place your files there and then reach them. Example, you have the file foo.html: you place that in the htdcos, then reach the page with url http://localhost/foo.html.
| Sonkan wrote: |
and i get a error dialog saying "This program could not be started becous php_mbstring.dll was not found." asking me to re-install the entier program...
|
Download the dll and then put it with the other dlls in the apache bin (i think). Look http://www.google.it/search?hl=it&safe=off&client=firefox-a&rls=org.mozilla%3Ait%3Aofficial&hs=FDL&q=php_mbstring.dll+download&btnG=Cerca&meta= |
|
| Back to top |
|
 |
Sonkan
Joined: 23 Jul 2009 Posts: 4
|
Posted: Mon Jul 27, 2009 1:38 pm Post subject: |
|
|
To avastreg
**
That Html page is in the htdocs of apache. Check at the folder where apache is installed and then find a subdir called htdocs. You can place your files there and then reach them. Example, you have the file foo.html: you place that in the htdcos, then reach the page with url http://localhost/foo.html.**
So that means... all pyhp i wish to axess i just have to drop em in that folder and i shuld be able to easy accses it with Netbeans? Iv noticed that it tries to acsess a folder named what i call my project folder.
Thanks alot dude! |
|
| Back to top |
|
 |
Sonkan
Joined: 23 Jul 2009 Posts: 4
|
Posted: Tue Jul 28, 2009 12:54 am Post subject: |
|
|
Ok i solved the dll problem.
Now, How do i do what ever the hek i need to do to be able to debugg my php code? |
|
| Back to top |
|
 |
rtb61
Joined: 24 Aug 2009 Posts: 1
|
Posted: Mon Aug 24, 2009 4:46 am Post subject: URL Address |
|
|
| It's a trick, when using WAMP local host is already wamp/www. So the url is localhost/yourdirectory name. Not the default as generated by netbeans localhost/wamp/www/yourdirectoryname. Just be carefull when starting the project to ensure that it point to the correct directory at the local host (which is already at wamp/www). |
|
| Back to top |
|
 |
|