Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341330

Summary: Auto-generated Base URL error
Product: z_Archived Reporter: Rik Bartolini <riksoft>
Component: PDTAssignee: PHP Debug <php.debug-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P1 CC: ganoro, kalin.a
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Rik Bartolini CLA 2011-03-30 05:46:17 EDT
With the latest versions of PDT, there isn't anymore the possibility to specify a server with path in Preferences->PHP->Php Servers
So, while once I inserted
http://localhost/workspace
now I must leave only http://localhost
This lead to a problem: CTRL+Shift+X W launch files in http://localhost/<projectname> instead of http://localhost/workspace/<projectname>


So, to cope with this problem, the only way I discover is working on "Enable project specific settings"... and that lead to the bug of this topic.

Right click on project folder into PHP Explorer.
Properties->Php Debug->Enable project specific settings->Base Path

The Auto-generated Base URL show http:/ instead of http://
That is shown also in the windows "Run PHP Web Page" that appear with CTRL+Shift+X W the first time a files is launched.

PS: would be great to have back the possibility to specify in global preferences a server with path such as http://localhost/workspace
Comment 1 Roy Ganor CLA 2011-08-30 02:49:49 EDT
This is intentionally, what you can do now is to set the basepath of the project by going to project properties, PHP Debug > set the base path of the project
Comment 2 Kalin CLA 2011-10-18 02:49:07 EDT
I close it according to Roy's comment.