Failed to map ... remote file to publishing account |
Veteran
|
If you have not done so yet, you should try the DBG Wizard (new-dbg-wizard-can-help-you-setup-remote-debugging-t3116.html) for a diagnosis.
|
||||||||||||
_________________ |
|
Did that as part of setting up PhpED and the debugger. I see that: * PHP Version: 5.2.5 * Web Server: Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.7l DAV/2 PHP/5.2.5 * Server Name: myserveripaddress * OS: Darwin * Your Client IP Address: myserveripaddress * Your Server IP Address: myserveripaddress * Port: 80 * Your Web Server is on the same machine with PhpED (right in one sense, wrong in the sense that matters) * Path to website files: /Applications/(...)/htdocs/ * Document Root is: /Applications/(...)/htdocs/ * Your PHP.INI file is /Library/PHP5/lib/php.ini * PHP extensions directory is /Library/PHP5/extensions * DBG (PHP DEBUGGER) Version 3.2.7 is INSTALLED I can suggest the following settings for your Project to debug PHP scripts on Server myserveripaddress : In the Project Properties Dialog set: * Project -> Root Directory: /Applications/(...)/htdocs/ (I don't expect this to work) * Mapping -> Run Mode: HTTP Mode (3-rd party WEB server) * Mapping -> Remote URL: http://myserveripaddress/ (Is this supposed to be the same as "Root URL"?) * Mapping -> Remote Root Directory: /Applications/MAMP/htdocs/ , same as Project -> Root Directory. =================== When I try to create a new project with the suggested settings, PhpED asks 'Directory "C:\Applications\MAMP\htdocs\" does not exist, create?', I answer "No", which brings me back to the "Project Properties" window. I change the value of Project-Root Directory to an actual local directory that has a copy of my site files, bby using the file browser pop-up. This time, I do not set any Publishing or FTP information. I save the project under a new name. OK - this time it works a lot better. So, I think my problem was a bad setup for Publishing. I used the same information that I did to log into my iMac via the command line from WinXP -I will investigate how to set up Publishing better. ========== (Edit: Added 1 hour after above) My new Publishing settings: First, the Account: Connection->Hostname or IP address: myserveripaddress (iMac's IP address) Connection->Port: 21 Root directory: /Applications/(...)/htdocs/ [note - (...) is just an abbreviation of my file path, not what is really there.] Time offset, h: 0 (default) Passive mode: checked (default) Use cache: checked (default) Authentication-Login Name: My single-word iMac user "short name", found via Preferences->Accounts->your account info Authentication-Password: My iMac password Save password: checked Be sure you can FTP from the WMWare Windows virtual machine to your MacOS account by using the same Login Name and Password, and the IP address. Then, under Project Properties: Publishing-Account: Choose the Account you created from the drop-down list. Top publishing directory: / (this is where I messed up - I had left it empty) Other settings: Under Tools->Settings->IDE->Run & Debug: Default run mode: HTTP mode (3rd party WEB server) Default debugger settings: Use custom port and host (ssh tunneling) ->Debugger port: 7869 ->Debugger host: 172.16.81.128 (Very important - IP address of the VMWare WinXP virtual machine) |
||||||||||||||
|
Veteran
|
|
||||||||||||||
_________________ |
|
I viewed the dbg-wizard.php script within the WinXP virtual machine, using Firefox: http://myserveripaddress/dbg-wizard.php These fail with a "can't establish connection" error within the WinXP virtual machine: http://localhost/dbg-wizard.php http://127.0.0.1/dbg-wizard.php |
||||||||||||||||
|
|
So, I've got PhpED w/debugger working with my setup now. I'm able to Publish from my WinXP virtual machine to my iMac. I consider this problem thread Resolved.
This is the first IDE environment I've used in many years, and I wasn't all that good with the one I used way back then. I'm sure I'll encounter a lot of newbie learning issues, but that'll be the subject of other posts. |
||||||||||||
|
Veteran
|
I am glad you got it all sorted
|
||||||||||||
_________________ |
Failed to map ... remote file to publishing account |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by