Problem with "Use Custom Server" URL value in prj properties

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

Problem with "Use Custom Server" URL value in prj properties

Postby lbpete » April 6th, 2013, 5:18 pm

Hi,

I have problems with forward and backwards slashes in paths when trying to start (even without Debugging) a page from VS. I am using Apache and Mozilla Firefox (latest version).

Specifically:
1. I am using Apache and have set up my test site at http://mysite.local.test/
2. I have entered the value http://mysite.local.test/ as the Server Url in my project's properties ("Startup Options") in "PHP Tools for VS". I 've chosen the option "Current Page" as Start Action.
3. When, e.g., I try to Start (with or w/o Debugging) a php page in a subfolder (e.g. page a.php in lib\db), Mozilla opens page http://mysite.local.test/lib\db\a.php . Due to mixed slashes this is escaped to http://mysite.local.test/lib%5Cdb%5a.php and of course I am getting "Not Found" page. the mixed fwd and back slashes.

If I change the above to http://mysite.local.test\lib\db\a.php it works but unfortunately the Startup Options page won't let me specify http://mysite.local.test\ as the Custom Server URL because it validates the value in the text box.

Anyway, this test site works fine with Dreamweaver. How can I make it work with PHP Tools for VS?
lbpete
 
Posts: 1
Joined: April 6th, 2013, 4:48 pm

Re: Problem with "Use Custom Server" URL value in prj proper

Postby Jakub Misek » April 6th, 2013, 5:49 pm

Hi,

Thank you for your feedback. I assume the slashes after the server URL should be the other way.

We will fix this into the next update.

Thanks!
Jakub Misek │ DEVSENSE s.r.o. | @misekjakubjakub@devsense.com
User avatar
Jakub Misek
 
Posts: 2092
Joined: January 4th, 2012, 2:42 pm
Location: Prague


Return to PHP Tools

Who is online

Users browsing this forum: No registered users and 49 guests

cron

User Control Panel

Login

Who is online

In total there are 49 users online :: 0 registered, 0 hidden and 49 guests (based on users active over the past 5 minutes)
Most users ever online was 297 on March 29th, 2024, 7:06 am

Users browsing this forum: No registered users and 49 guests