Problem with "Use Custom Server" URL value in prj properties
2 posts
• Page 1 of 1
Problem with "Use Custom Server" URL value in prj properties
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?
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
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!
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. | @misekjakub │ jakub@devsense.com │
-
Jakub Misek - Posts: 2092
- Joined: January 4th, 2012, 2:42 pm
- Location: Prague
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 49 guests