[SOLVED]Wrong path while running file as PHP Web Application [message #1030243] |
Sat, 30 March 2013 22:45 |
Philip Moon Messages: 7 Registered: February 2012 |
Junior Member |
|
|
Hi all,
I have an eclipse issue following the tutorial here : docs DOT joomla.org/Configuring_Eclipse_for_joomla_development#Setting_up_Xdebug at the 'Create and Run a PHP File' paragraph : I have create the project in the directory c:\xampp\htdocs\joomla_development\Test Debug and the test.php inside this last (Test Debug), however when I select the file "test.php" and right-click and select Run As PHP Web Page my version it is 'PHP Web Application' eclipse open a browser with a wrong url : localhost/Test Debug/test.php instead of localhost/joomla_development/Test Debug/test.php .
Thanks in advance for your help,
[Updated on: Fri, 12 April 2013 14:11] Report message to a moderator
|
|
|
|
Re: Wrong path while running file as PHP Web Application [message #1030801 is a reply to message #1030490] |
Sun, 31 March 2013 19:50 |
Philip Moon Messages: 7 Registered: February 2012 |
Junior Member |
|
|
Toshihiro Izumi wrote on Sun, 31 March 2013 04:01You had to edit 'auto-generated url' if it is wrong when you're asked.
Also, you missed docs.joomla.org/Configuring_Eclipse_and_Xdebug#Set_Debug_Options - "PHP Servers" settings.(though the description is too late) It was necessary to set the url of the server. However, this is unavailable because the settings had been changed since PDT 3.0.
I am using Eclipse SDK 4.2.2 . I am not sure to have understood : Is it possible to do the setting if I create a new project or this feature is not available anymore from PDT 3.0?
When I go to Window/Preferences/General/Web Browser and select external browser + firefox (internal option works fine) it opens a windows with the path localhost/joomla_dvelopement/Test instead of localhost/joomla_dvelopement/Test Debug/test.php
[Updated on: Mon, 01 April 2013 02:06] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.06491 seconds