Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 341330 - Auto-generated Base URL error
Summary: Auto-generated Base URL error
Status: CLOSED WONTFIX
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: PHP Debug CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-30 05:46 EDT by Rik Bartolini CLA
Modified: 2020-05-14 10:16 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.