PhpStorm won't start - flashes logo then goes away - phpstorm

After restarting my PC and clicking the PhpStorm icon to launch it, the splash screen loads, then nothing does. PhpStorm will not open.

Three Step Solution
From this post (copied below in case the URL ever dies):
I had the same problem on the same day so perhaps it relates to a Windows update. (Edit - ignore that, my problem happened on January 17th, 2017 not 2016).
I renamed C:\Users\USERNAME.PhpStorm2016.3 to something else and it then started and allowed me to import my settings, which seems to have worked. I hope this helps others as this is much easier than rebuilding my Windows profile.
NOTE: On older versions of PhpStorm the path is C:\Users\USERNAME\.WebIde100
Upon restarting Windows after renaming my PhpStorm directory I tried to import the settings from my renamed C:\Users\USERNAME\OLD.WebIde100\config but got an error that settings.jar could not be found.
I closed PhpStorm and renamed my new .WebIde100 to NEW.WebIde100 and my OLD.WebIde100 back to .WebIde100. I did not have to restart my computer; launching PhpStorm again brought back my old settings.
I'm not sure why all this was needed, but it worked for me so I thought I'd share.

Related

PhpStorm not detecting file changes until focussing on another app

Been running into some issues with PhpStorm (v2020.3 on MacOS Big Sur 11.1) lately.
If I make changes to a file and save them, it doesn't trigger actions like a file transfer or recompiling (S)CSS when running npm run watch.
As soon as I focus another application (e.g. the browser for previewing) it detects the changed file and runs the needed action. This causes an annoying delay in my workflow.
At first I thought it had to do with Docker not updating the files in the container, however I now figured out it also does not work with a simple automated (s)FTP file upload/deplyoment.
Anyone else experiencing the same issue?
Cheers,
Allard
Fixed it by remapping the Save document shortcut under Preferences > Keymap. No idea how the shortcut got messed up, but hey, it works.

Why do I suddenly get the "Not commonly downloaded" warning in Chrome after ClickOnce deployment?

Upgraded Telerik in my ClickOnce application to version 2014.3.1202.40. (Never sure of the best way to do this. After the install, all my references to Telerik controls was broken and I had to remove all Telerik references in each of the projects and re-add them. So, I may be upgrading in the wrong way. But that's another matter.)
I deploy my app to a staging folder on my web server before moving to production. The app is signed with a commercial code signing certificate from Comodo that doesn't expire until 2019. I've uploaded new versions many times with no problem. But now, since I upgraded the Telerik controls, I can't download the and install the application. Here's what happens:
In Chrome, I enter the url: http://porpoiseanalytics.com/PorpoiseStaging/setup.exe
I get the "Not commonly downloaded" warning where I never got that before. I don't get any error on Firefox nor on IE.
If I tell Chrome to keep the file, I can start it. The installation starts on all the other browsers too.
About 3/4 of the way through the download of the files, Avast blocks it with DRep virus (I'm guessing lack of reputation). If I turn off Avast, it installs fine. ClickOnce install log shows an error: "Exception occurred loading manifest from file [application].exe: the manifest may not be valid or the file could not be opened."
Why is my application suddenly acting like it has no reputation when it's been downloaded for months with no problems. But, after I modify the application in VS2010 and then remove and re-add the Telerik dll's, I suddenly have no reputation. And what makes matters worse, is that now my production download located at ttp://porpoiseanalytics.com/PorpoiseDownload/setup.exe is suddenly acting the same way.
I admit I don't have a good enough understanding of reputation, signing, and clickonce. But I do know that whereas before we were fine, after deploying the application, we're flagged as malicious software. I made a few code changes in the program (not many), but I also replaced the Telerik dlls. Probably has something to do with signing and publishing, but I can't figure it out. Please help. Thanks.
I think I figured it out. Although I had signed the manifest in the main UI project (the installer), the executable was not signed. With some help, learned how to do that:
Download the Windows 7 SDK with signtool.
In Visual Studio, open project properties in the main UI project.
Open the Compile tab and click on the Build Events button.
In the post-build events, enter:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\signtool.exe" sign /f "$(ProjectDir)[name of code cert file]" /p "[password]" /t http://timestamp.comodoca.com/authenticode "$(ProjectDir)obj\$(ConfigurationName)\[exe name].exe
where [name of cert file] is the name of the code-signing cert file, such as private_key.pfk, and [password] is the password used when exporting the certificate (if % is included in the password escape it with %%, so pass%word would be entered as pass%%word), and [exe name] is the name of your primary project executable.
In other projects within solution, sign those by inserting a similar command line in the same post-build location:
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\signtool.exe" sign /f "$(ProjectDir)DAD_Code_Certificate.pfx" /p "<password>" /t http://timestamp.comodoca.com/authenticode "$(TargetPath)
Orignal Problem
My theory is that the original problem was caused because of a new feature in Avast 2015 that does a DomainRep (reputation?) check and if several criteria are all met, the alarm bells go off and it stops the download. Because my executable was not signed, it met all the requirements.
It is possible (although I really am not sure about this) that because of this DRep alarm, Google flagged the installer on our website as malicious, causing the red "not normally downloaded" warning when first starting the download.
At least, that's my best guess. Others will most certainly understand this better than me (and would have avoided it in the first place by signing the executable).
Official answer from Google Apps technical support (I'm on the Silver support plan - $150/month):
I replicated the issue you are describing and it looks to be a known
issue with Google Chrome, when trying to download an archive that has
an executable in it.
Please be advised that Google Chrome is outside the support scope of
Google Cloud, however the workaround is rather simple: when that
message appears you can click on the arrow to the right of that
message and chose "keep". This will download the file requested.

How to enable quick edits from file manager in PhpStorm after install

This post shows how to use quick edits, but how to open it from the system file manager by default? When I do open with in the context dialogue and then open it with phpstorm.exe, my PC ignores it and just goes back to Adobe Edge Code.
I'm using Windows 7 64 bit and PhpStorm 8.0.2
Thanks
I looked at this: http://msdn.microsoft.com/en-us/library/windows/desktop/cc144154(v=vs.85).aspx
But all I had to do was go the file properties > open with > browse.
No registry hacks!
However, this doesn't open in quick edit mode, but somewhat works. I guess it's just the way it is after reading this
I guess this should've been in SuperUser, but I thought it was something in PhpStorm that was the solution.

My website shows up as a blank page on my desktop

I have been developing a wordpress theme on my laptop and all is well, however when I checked it on my desktop today all that loads is a blank page. I have asked a couple friends to see if it loads for them and they all say that it does.
I am really not sure how it will not load on this computer, I've cleared the cache/cookies and reset the ip, still blank. I need to figure out what is going on quickly before this is supposed to be done.
The website url is http://bbmthemes.com/themes/modular/, the top left logo should be broken, other than that everything should work.
Can you think of anything that would make one computer not display anything but a blank page or what I could try to fix this?
Thanks so much
EDIT It displays blank in all browsers (firefox, chrome, ie9) on this desktop, and works in all browsers on the laptop. Also, I had already enabled phpconfig and checked for php errors before I noticed this. I had removed all php errors about a week ago and they were only minor things anyway. Very confused. Does it work for you guys even?
Turn on the wordpress debugging in wp-config.php file and run again to check is there any fatal error or not:
define('WP_DEBUG', true);
And be sure that error reporting is On
Maybe you are not in right path. I found this theme on your host refer to modular theme: http://bbmthemes.com/themes/smart/
Very frequent, this kind of problems arise because of the environment differences. You should check whether in php.ini short_open_tag=On is on or not. That might cause the problem. Also if your desktop machine is on the Linux machine php5-mysql package comes separately from php5 package.
Also as already mention you have to check log file.
In Ubuntu the location is - /var/log/apache2
On windows - the same directory where apache2 is installed.

Sourcetree constantly asks for authenticate with Mercurial (Kiln)?

I'm running Lion latest with SourceTree.
I tried to connect to a Fogbugz Kiln reponsitory, which succeeded, but whenever I PUSH or PULL Sourcetree consistently asks me for a username and password despite I saved it to my KeyChain. Anyone have any insight to this issue?
This helped me solve this issue in a mac:
Open the Hosted Repositories window by clicking View > Show Hosted Repositories or Command + Shift + H.
Click Edit Accounts
Double-click on your account
Click Set Password
I had the same and I fixed it using the system git instead of the embedded one:
Settings -> git -> Use System git
Open terminal and Type git config --global credential.helper osxkeychain
Allow access when asked. Make a pull from sourcetree, you may have to enter password one more time after that it wont ask again from next time onwards.
PS: This solution is only for Mac OS
I occasionally run into the same problem. None of the methods listed here actually helped me out, but after I restart my computer, I am again able to do as I please with SourceTree and git.
Nevertheless this issues is annoying as hell and seeing that Atlassian haven't resolved it in over 3 years, since the original question was posted, is even more unnerving.
I had the same problem and it troubled me for a long time, but I found a solution:
Go to terminal in your project folder.
Run #git pull
Input your username and password
Go back to sourceTree and run Fetch or Pull, it does not ask for your password again.
I met the same problem, what I did is
Open Keychain Access
Find the corresponding keychain entry for your repo, and double click to open (e.g. the entry with name github.com)
Click the 'Access Control' tag
Select 'Allow all applications to access this item' and save changes
This solves the problem (or at least for me), but in some sense makes it less secure though.
As said by Laurens in the comment, you can file an issue with us via jira.atlassian.com (project SRCTREE). It shouldn't constantly ask for authentication if you've saved your credentials to the keychain unless there's an authentication problem.
Cheers
Wasted 90 minutes on all this. Sourcetree simply would not let me remove my account and add it back. Finally uninstalled and downloaded an older version:
https://www.sourcetreeapp.com/download-archives
ver 1.10 fixed all my issues: