Error in debugging

PHP Tools [?] extends Visual Studio with set of advanced features to work more efficiently with PHP code.

Error in debugging

Postby hassanayoub85 » July 16th, 2017, 12:32 am

Dear,
When pressing F5 to debug code, this error appears:
{
Not Found
The requested resource /?XDEBUG_SESSION_START=BCFF573E was not found on this server.
}
Link: http://localhost:46592/?XDEBUG_SESSION_START=BCFF573E
hassanayoub85
 
Posts: 1
Joined: July 16th, 2017, 12:29 am

Re: Error in debugging

Postby Miloslav Beno » July 17th, 2017, 10:17 am

Hello!

"The requested resource / was not found on this server" means the requested resource couldn't be found. Assuming the resource is there it might be caused by URL mapping not resolving to expected resource. Now it depends what your starting script is, which might depend on the framework you are trying to setup.

You might need to setup routing script in the project properties if you are using PHP Build-in web server. For IIS Express URL Rewrting rules or for Apache .htaccess

If you are just trying some simple script make sure you have index.php in your project.

Thanks!
Miloslav Beno │ DEVSENSE s.r.o. │ @miloslavbenomiloslav@devsense.com
User avatar
Miloslav Beno
 
Posts: 1016
Joined: January 7th, 2012, 8:36 pm


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 5 guests

cron

User Control Panel

Login

Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 5 minutes)
Most users ever online was 62 on January 7th, 2012, 10:54 pm

Users browsing this forum: No registered users and 5 guests
Phalanger