The server setup apprears to be correct, since the Filezilla client can connect without any problems.Ĭan anyone help with steps to solve the problem or to gather additional information on what is going wrong? Thanks in advance. Given the different PHPStorm error messages and server log when I deliberately enter the wrong password, this does not look like an authentication failure. Id really like to get PHP remote debugging working, but I find the documentation completely incomprehensible. There is no /phpstorm directory, no directory called phpstorm. The server log has messages, "SFTP connection attempt" followed by 3 "SFTP %USERNAME% access denied" messages, followed by "SFTP %USERNAME% disconnected". A search of the file system shows nothing called log.xml. In that case, when I push the "Next" button, I get the error message: "Connection to '%PHPSTORMSERVERNAME%' failed. This is distinct from what happens if I try to connect the same way from PHPStorm but deliberately enter the wrong password. click the Git: on the toolbar to Commit to your local Git repo. click apply and ok hack until you are happy with your update. If I look in the SFTP server log, I see the messages "SFTP connection attempt" followed immediately (same timestamp to the second) by "SFTP %USERNAME% disconnected". select your Dev server from the list of servers and click the to select it. %PHPSTORMSERVERNAME% is the name I entered in the "Name" box when adding a remote server, and %SERVERDNSNAME% is the actual DNS name of the remote machine. Could not connect to SFTP server at "%SERVERDNSNAME%".". Could not connect to SFTP server at "%SERVERDNSNAME%"." When I click "Next", I get the similar error message: "Connection to '%PHPSTORMSERVERNAME%' failed. When I click "Test SFTP connection.", I get the error message: "Connection to '%SEVERDNSNAME%' failed. I try to "Create New Project from Existing Files", select "Web server is on remote host, files are accessible via FTP/SFTP", and enter the information on the "Add Remote Server" dialog box (using Auth type: Password, and typing the password in, but not selecting "Save password"). I am running PHPStorm 3.0.3 ( build) on Windows XP service pack 3. I can successfully connect to the SFTP server using a client (Filezilla 3.5.3), password authentication, and it does start in the correct directory. The project files are in a subdirectory under the root. It is running as a Windows service (only SFTP is running, not FTP), using password authentication, with the document root set to the web server document root directory. I am using freeFTPd (version 1.0.11) as the SFTP server. So this solves 2 problems: 1.) why the heck doesn't xdebug log anything on its server (it does!) 2.) descendant file problem.The web server OS is Windows Server 2003, service pack 2. This might work: xdebug.remote_log="/var/www/xdebug_log.txt" I imagine that if I enter an valid linux path, I might be able to put the file somewhere else. It appears that Xdebug saves that log file inside of the folder where the requested php file came from (in my case, my project's index.php file). (the bolded part is the actual file name) var/www/myproject/ C:\Users\Buttle\PhpstormProjects\xdebug_log.txt Using windows path is wrong: xdebug.remote_log="C:\Users\Buttle\PhpstormProjects\xdebug_log.txt" Why? Because the value called "remote_log", so I mistakenly thought it wanted the path on my windows machine, which I thought was very strange at the time. I had this same problem, but it was not due to Firefox and I wonder if the original asker might have made the same mistake I did in configuring his xdebug.Īs a newbie, in setting the value for xdebug.remote_log in my php.ini (actually in separate xdebug.ini), I used the windows file path to my project on my local machine. In any case - this is the ticket to watch after - hopefully the used library (for SFTP communications) will allow handling such situations better in the future. That's odd (and hard to believe for me) - they should know about such issue for sure - you are not first who is facing the same error. Such file is usually created by Firefox on Linux (google that file name for additional details). After that you will be able to continue with PhpStorm built-in SFTP functionality. The solution is to connect to your SFTP using another program (e.g. Unfortunately such file name is invalid on Windows and library used for SFTP communications in PhpStorm does not allow to process such files in any way (yes, it's valid as full path but not as file name alone). YES - it's on Ubuntu and YES - it's actually a file name and not full path (Linux allows : and \ characters in file names). You have a file on your Ubuntu server with that C:\nppdf32Log\debuglog.txt name.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |